Date: Sun, 22 Oct 2006 23:22:56 +0100 (BST) From: Vince Hoffman <jhary@unsane.co.uk> To: =?ISO-8859-1?Q?Peter_Ankerst=E5l?= <peter@pean.org> Cc: freebsd-net@freebsd.org Subject: Re: Sub-interfaces. Message-ID: <20061022230647.V9913@unsane.co.uk> In-Reply-To: <453A9851.4070101@pean.org> References: <453A9851.4070101@pean.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 21 Oct 2006, Peter Ankerstål wrote: > I've looked all over the web for some tutorials on how to create > sub-interfaces i FreeBSD.. > Something like fxp0.1 Do you mean just additional addresses on an interface like http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-virtual-hosts.html this doesnt give the command line which would be ifconfig fxp0 alias 1.2.3.4/24 if you wished to add a new address of 1.2.3.4 with a 24 bit netmask to your fxp0 interface. otherwise if you mean something more like a cisco subinterface on a specific vlan, load the vlan module if needed, then ifconfig fxp0.1 create should create a subinterface like fxp0.1: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 00:50:8b:03:6d:00 media: Ethernet 100baseTX <full-duplex> status: active vlan: 1 parent interface: fxp0 Vince > > Should I use ng_ ? > _______________________________________________ > 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?20061022230647.V9913>
