vlan id ip vs. ip interface

Post Reply
netpc

vlan id ip vs. ip interface

Post by netpc »

Hi,
I can see in my configuration ("show configuration snapshot") those lines (only parts displayed):

! VLAN :
vlan 1 enable name "VLAN 1"
vlan 2 enable name "VLAN 2"
vlan 2 ip 10.10.55.0 255.255.255.0

! IP :
ip service all
ip interface "iprint" address 10.10.50.1 mask 255.255.255.0 vlan 1 ifindex 1

So the question is what is/are difference/s between those two, "vlan id ip" and "ip interface"?

I know what ip interface is used for, but what about "vlan id ip"? What is that, what is it used for?
silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 2087
Joined: 01 Jul 2008 10:51
Location: Germany

Re: vlan id ip vs. ip interface

Post by silvio »

Hi,

vlan 2 ip 10.10.55.0 255.255.255.0 is a vlan-rule.
All incoming traffic (also untagged traffic) at mobile ports with source ip from 10.10.55.0/24 will be assigned into vlan 2.
regards
Silvio
netpc

Re: vlan id ip vs. ip interface

Post by netpc »

Hi silvio,

Many, many, many thanks.

Very strict explanation that helped me to get on the right track.
Tested it, works great.

Many thanks.
Post Reply

Return to “OmniSwitch 6450”