vlanXXX vs ifXX.YY notation

Mark van der Meulen mark at fivenynes.com
Wed Mar 19 21:01:39 UTC 2014


Hi,

I have noticed net graph has issues with device that have a period in their name. Either that is the case or something similar.

I couldn’t enable netflow on lagg0.X devices and I also couldn’t use some of mpd's features(such as LAC) either. I believe there were other examples but those are the two that came to mind and they both use net graph - I couldn’t work out why things would work on em0 or lagg0 but not on em0.X or lagg0.X and as i did some trawling through logs I saw something which suggested an issue with the names so I changed all my sub interfaces into “vlan” interfaces and I was able to get full functionality in MPD and with net graph netflow.

Now that I have made the change, I would also say it is a much more manageable way of doing things as well.

Mark 


On 18 Mar 2014, at 4:42 pm, Zeus Panchenko <zeus at ibs.dn.ua> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 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)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> 
> iEYEARECAAYFAlMn3NYACgkQr3jpPg/3oyqFEgCgj5te5rIwlKqZmlzENBBjLbdG
> j5kAoPv8vFLgrsJRVPeIAzhCvpEC+Xxj
> =BUzc
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"

Mark van der Meulen: Fivenynes - Network Engineer Mob: 0459 312 495
Phone: 1300 661 902 Fax: 1300 855 328
Address: Unit 4, 23 Leeds St Rhodes NSW 2138
Web: www.fivenynes.com



More information about the freebsd-net mailing list