Page 1 of 1

10.x VLAN IP address Assignment

Posted: 16 Nov 2008 05:42
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

Re: 10.x VLAN IP address Assignment

Posted: 16 Nov 2008 05:43
by regatalcatel
switch is a 6850

Re: 10.x VLAN IP address Assignment

Posted: 16 Nov 2008 12:46
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

Re: 10.x VLAN IP address Assignment

Posted: 03 Dec 2008 06:20
by regatalcatel
tHANKS bENNY