Date: Sat, 21 Nov 2009 16:58:24 -0600 From: Josh Paetzel <josh@tcbug.org> To: Tom Judge <tom@tomjudge.com> Cc: "net@freebsd.org" <net@freebsd.org> Subject: Re: if_bridge as if_vlan parent Message-ID: <A56A8D74-9E91-460C-9524-68D2F1650AC4@tcbug.org> In-Reply-To: <4B0825DD.3000702@tomjudge.com> References: <4B0825DD.3000702@tomjudge.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 21, 2009, at 11:39 AM, Tom Judge wrote: > Hi, >=20 > I was why I get the following error when trying to create a vlan on = top of if_bridge: >=20 > # ifconfig bridge0 create > # ifconfig vlan2 vlan 2 vlandev bridge0 > ifconfig: SIOCSETVLAN: Protocol not supported >=20 >=20 > And if there was/is any reason for this to not be supported. >=20 > Thanks >=20 You can create a bridge from a pair of vlan devices.... # ifconfig vlan1 create # ifcconfig vlan2 create # ifconfig bridge0 create # ifconfig vlan1 vlan 1 vlandev em0 # ifconfig vlan2 vlan 2 vlandev em0 # ifconfig bridge0 addm vlan1 addm vlan2 Is that more in line with what you want to do? I'm a little curious what problem set using a bridge as the parent of a = vlan solves though. Thanks, Josh Paetzel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A56A8D74-9E91-460C-9524-68D2F1650AC4>