Date: Wed, 28 Dec 2011 12:32:36 -0200 From: Patrick Tracanelli <eksffa@freebsdbrasil.com.br> To: freebsd-net@freebsd.org Subject: Netgraph VLAN in VLAN (q-in-q) Message-ID: <3277161C-D037-4B47-9368-AC47EEA27FBC@freebsdbrasil.com.br>
next in thread | raw e-mail | index | archive | help
Hello, I need to setup a typical q-in-q environment, here's what I am working = on: ngctl mkpeer em2: vlan lower downstream ngctl name em2:lower vlanL1 ngctl connect em2: vlanL1: upper nomatch ngctl mkpeer vlanL1: eiface vlan2589 ether ngctl msg vlanL1: addfilter '{ vlan=3D2589 hook=3D"vlan2589" }' # assign em2 mac address ifconfig ngeth0 lladdr 00:21:5e:8a:0e:73 # Do everything again but the new vlan will have the previous # as parent... ngctl mkpeer ngeth0: vlan lower downstream ngctl name ngeth0:lower vlanL2 ngctl connect ngeth0: vlanL2: upper nomatch ngctl mkpeer vlanL2: eiface vlan110 ether ngctl msg vlanL2: addfilter '{ vlan=3D110 hook=3D"vlan110" }' ifconfig ngeth1 lladdr 00:21:5e:8a:0e:73 But when I run: # ngctl mkpeer ngeth0: vlan lower downstream I get: ngctl: send msg: Protocol family not supported I am clueless what I am doing wrong at this point. Can someone help me = with this little ng problem? Its an 8.2-STABLE on i386 box. Thank you :) -- Patrick Tracanelli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3277161C-D037-4B47-9368-AC47EEA27FBC>