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:z...@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.
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to