Date: Mon, 28 Apr 2008 20:54:23 +0200 (CEST) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: Vince <jhary@unsane.co.uk> Cc: martes@mgwigglesworth.com, User Questions <freebsd-questions@freebsd.org>, =?ISO-8859-2?Q?Nejc_=A9koberne?= <nejc@skoberne.net> Subject: Re: VLAN Trunking with Freebsd Message-ID: <20080428205353.C79145@wojtek.tensor.gdynia.pl> In-Reply-To: <4814C512.1030706@unsane.co.uk> References: <1209310959.10040.116.camel@localhost> <4814A0E9.4010005@skoberne.net> <4814C512.1030706@unsane.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
> If you are just creating from the command line and want cisco router like > subinterfaces, the following works (I have the vlan module built into my > kernel might need to load it otherwise.) > root@crab > (19:22:09 <~>) 0 # ifconfig bge0.1 > ifconfig: interface bge0.1 does not exist > root@crab > (19:22:13 <~>) 0 # ifconfig bge0.1 create > root@crab > (19:22:15 <~>) 0 # ifconfig bge0.1 > bge0.1: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > options=3<RXCSUM,TXCSUM> > ether 00:e0:81:2d:a3:16 > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > vlan: 1 parent interface: bge0 > root@crab > (19:22:17 <~>) 0 # ifconfig bge0.1 destroy > > Not certain how thats represented in rc.conf, Will have a look. ifconfig_bge0.1="create ip_address/mask" should work
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080428205353.C79145>