Page 1 of 1

vlan id ip vs. ip interface

Posted: 02 Mar 2016 07:08
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?

Re: vlan id ip vs. ip interface

Posted: 03 Mar 2016 01:54
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

Re: vlan id ip vs. ip interface

Posted: 04 Mar 2016 15:27
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.