Skip site navigation (1)Skip section navigation (2)
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
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1191901226-1161555317=:9913
Content-Type: TEXT/PLAIN; CHARSET=X-UNKNOWN; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-ID: <20061022231816.U9913@unsane.co.uk>



On Sat, 21 Oct 2006, Peter Ankerst=E5l wrote:

> I've looked all over the web for some tutorials on how to create=20
> 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-virt=
ual-hosts.html
this doesnt give the command line which would=20
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=20
your fxp0 interface.

otherwise if you mean something more like a cisco subinterface on a=20
specific vlan, load the vlan module if needed, then
ifconfig fxp0.1 create
should create a subinterface like

fxp0.1: flags=3D8842<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"
>
--0-1191901226-1161555317=:9913--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061022230647.V9913>