[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Virtual Hosts
On Fri, Apr 14, 2000 at 02:34:39PM +0100, kbarrass wrote:
> could anyone please point me in the right direction as to how i can assign multiple IP addresses to a single ethernet adapter using the ifconfig command ive added the support for this into the Kernel.
That was a long line indeed! I suppose that you mean you
compiled your kernel with IP aliasing. To use ifconfig with it, just use
"ifconfig eth0 blahblah" to config your first address, and "ifconfig
eth0:n blahblah[n]", where n is the configuration associated to each of
the other addresses. Then you just add routes for each of the new
interfaces: eth0, eth0:0, eth0:1 and so on.
There's an IP-Aliasing HOWTO lurking about in /usr/HOWTO, which
might cover more advanced stuff.
Regards,
José
--
José L Gómez Dans PhD student
Radar & Communications Group
Department of Electronic Engineering
University of Sheffield UK
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.
- References:
- Virtual Hosts
- From: "kbarrass" <kbarrass [at] minsthorpecc.wakefld.sch.uk>