From owner-freebsd-net@FreeBSD.ORG Sat Mar 22 06:29:07 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 89837167 for ; Sat, 22 Mar 2014 06:29:07 +0000 (UTC) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4314C913 for ; Sat, 22 Mar 2014 06:29:06 +0000 (UTC) Received: from julian-mbp3.pixel8networks.com (50-196-156-133-static.hfc.comcastbusiness.net [50.196.156.133]) (authenticated bits=0) by vps1.elischer.org (8.14.8/8.14.8) with ESMTP id s2M6Srep098999 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 21 Mar 2014 23:28:54 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <532D2D9A.10309@freebsd.org> Date: Fri, 21 Mar 2014 23:28:42 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Mark van der Meulen , Zeus Panchenko Subject: Re: vlanXXX vs ifXX.YY notation References: <20140318074246.8519@smtp.new-ukraine.org> <803C5DD5-47C1-44C9-9212-E17894B15168@fivenynes.com> In-Reply-To: <803C5DD5-47C1-44C9-9212-E17894B15168@fivenynes.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Mar 2014 06:29:07 -0000 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 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 metric 0 mtu 1500 >> ether 00:1b:b9:8b:ca:33 >> ... >> vlan: 777 parent interface: em0 >> >> vs >> >> em0.555: flags=8843 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" > >