IP Aliasing.

Paul Civati paul at xciv.org
Wed Mar 15 13:08:53 GMT 2000

Guy Harper <guy_harper at hotpop.com> wrote:

> ifconfig eth0:1 192.168.1.?? netmask broadcast
> route add -host 192.168.1.?? dev eth0:1

Euww.  I've always hated the concept of having to add a route to an

> but BSD suggests that interface eth0:1 does not exist..

BSD tends not to implement them that way.

> I'm not sure how to add the extra interface, or am I going about this
> the wrong way?

Do it the automatic way as Joe says, or look at the man page for the
manual method, typically:

  # ifconfig fxp0 alias

The extra vifs will then show up under the interface they were attached

  # ifconfig -a
          inet netmask 0xffffff00 broadcast
          inet netmask 0xff000000 broadcast

and can be removed, thusly:

  # ifconfig fxp0 delete


More information about the Ukfreebsd mailing list