Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Mar 2014 23:28:42 -0700
From:      Julian Elischer <julian@freebsd.org>
To:        Mark van der Meulen <mark@fivenynes.com>, Zeus Panchenko <zeus@ibs.dn.ua>
Cc:        freebsd-net@freebsd.org
Subject:   Re: vlanXXX vs ifXX.YY notation
Message-ID:  <532D2D9A.10309@freebsd.org>
In-Reply-To: <803C5DD5-47C1-44C9-9212-E17894B15168@fivenynes.com>
References:  <20140318074246.8519@smtp.new-ukraine.org> <803C5DD5-47C1-44C9-9212-E17894B15168@fivenynes.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/18/14, 12:30 AM, Mark van der Meulen wrote:
> 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.

yes netgraph uses '.' for a special meaning..  I'm surprised that we 
don't translate it into '_' or something.

>
> Mark
>
>
> On 18 Mar 2014, at 4:42 pm, Zeus Panchenko <zeus@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@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@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@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
>
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?532D2D9A.10309>