10.x VLAN IP address Assignment

Post Reply
regatalcatel

10.x VLAN IP address Assignment

Post by regatalcatel »

Hi Guys,

I have a requirement to add 10.x IP addresses to 2 different vlans...

Eg VLAN 1 - 10.10.1.1/255.255.255.0
VLAN 20 - 10.20.1.1/255.255.255.0

I can assign the IP to vlan1.
But when I try to assign the IP to VLAN 20, I get an error : IP address must not conflict with interface vlan1

I can assign 11.x though.
Is it because the switch assumes a class A range and 10.10.x.x and 10.20.x.x are in the same subnet?

How do you overcome this?
Cheers
regatalcatel

Re: 10.x VLAN IP address Assignment

Post by regatalcatel »

switch is a 6850
benny

Re: 10.x VLAN IP address Assignment

Post by benny »

You have to specify the mask in the "ip interface" command as you described it already.

-> ip interface vlan-1 address 10.1.1.1 mask 255.255.255.0 vlan 1
-> ip interface vlan-2 address 10.1.2.1 mask 255.255.255.0 vlan 2

-benny
regatalcatel

Re: 10.x VLAN IP address Assignment

Post by regatalcatel »

tHANKS bENNY
Post Reply

Return to “OmniSwitch 6850 / 6850E”