vlanXXX vs ifXX.YY notation
Adam McDougall
mcdouga9 at egr.msu.edu
Tue Mar 18 13:05:53 UTC 2014
On 03/18/2014 01:42, Zeus Panchenko wrote:
> hi,
>
> is there any advantage of using vlanXXX vs ifXX.YY notation?
>
> I mean
>
>> ifconfig em0
> vlan777: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> ether 00:1b:b9:8b:ca:33
> ...
> vlan: 777 parent interface: em0
>
> vs
>
> em0.555: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> ether 00:1b:b9:8b:ca:33
> ...
> vlan: 555 parent interface: em0
>
> - --
> Zeus V. Panchenko jid:zeus at im.ibs.dn.ua
> IT Dpt., I.B.S. LLC GMT+2 (EET)
It would seem to have an advantage on a bridge where you are passing a
vlan through multiple interfaces since 'vlan777' cannot represent both
the incoming and outgoing vlan interfaces, but em0.555 and em1.555 seem
quite logical. It gives an easy way to differentiate the same vlan on
more than one parent interface. Additionally the native names are
shorter which often helps in status reporting utilities that truncate
the name for display.
More information about the freebsd-net
mailing list