[164] in linux-net channel archive
Re: ifconfig alias support?
daemon@ATHENA.MIT.EDU (Al Longyear)
Wed Mar 29 09:24:18 1995
From: longyear@netcom.com (Al Longyear)
To: davis@cs.unc.edu (William York Davis)
Date: Wed, 29 Mar 1995 04:29:14 -0800 (PST)
Cc: linux-net@vger.rutgers.edu
In-Reply-To: <3lacb8$gub@augusta.cs.unc.edu> from "William York Davis" at Mar 28, 95 08:15:20 pm
York Davis writes:
> Is there an ifconfig for linux that supports IP aliases? I want
> to run a multi-homed network on one ethernet.
No. The ifconfig supports only one IP address.
You may wish to use the 'arp' program and use proxy-arp. It will
accomplish the same function.
arp -s new.ip.addr.here hw:ad:dr:is:he:re pub
^^^ this is important.
You may obtain the hardware address for the parameter using
ifconfig. Don't forget to create the needed additional routes to the
ethernet device for the other IP addresses if this is not the default
route device.
--
Al Longyear longyear@netcom.com
Finger for PGP key