Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2000 21:41:21 -0500 (EST)
From:      Mikhail Teterin <mi@kot.ne.mediaone.net>
To:        Jim Manley <jmanley@metronet.com>
Cc:        stable@freebsd.org
Subject:   Re: Multiple IP addresses
Message-ID:  <200001200241.VAA22983@rtfm.newton>
In-Reply-To: <4.2.2.20000119203316.00a8e2a0@127.0.0.1> from Jim Manley at "Jan 19, 2000 08:34:13 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Jim Manley once stated:

=Tried that:

Jim, this is ridiculous. In Eric's example, the word ``netmask'' is NOT
in the <>-parentheses -- it's a keyword. In your case, the line should
be ``ifconfig ep0 192.168.0.10 netmask 0xffffffff alias''

Also,     please,    direct     this     sort     of    questions     to
freebsd-questions@freebsd.org.   The   stable   mailing  list   is   for
FreeBSD-STABLE issues only.

	-mi

=darkstar# ifconfig -a
=ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
=         inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
=         ether 00:20:af:1e:8d:8d
=tun0: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1500
=sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
=ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
=lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
=         inet 127.0.0.1 netmask 0xff000000
=darkstar# ifconfig ep0 192.168.0.10 255.255.255.0 0xffffffff alias
=ifconfig: ioctl (SIOCAIFADDR): File exists
=
=At 09:30 PM 1/19/00 -0500, Eric D. Futch wrote:
=>This Works for me...
=>
=>/sbin/ifconfig <interface> <ip addr> netmask 0xffffffff alias


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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