File ifcfg-eth0 was found in /etc/sysconfig/networking/devices and in 
/etc/sysconfig/profiles/default! I copied and modfied file as described 
and placed them in these locations (one try at a time) and then copied 
it to just /etc/sysconfig as litereally described below.
Still cannot ping the other IP addresses I want host to respond to via 
single NIC.
What could be the trouble?

Thanks again,

Fred

Subject:

Re: multihoming
From:

Anand Buddhdev <[EMAIL PROTECTED]>
Date:

Tue, 13 Aug 2002 22:18:09 +0200

To:

[EMAIL PROTECTED]


Fred Mushel wrote:

> I would like to create virtual IP's for one NIC card so my computer 
> will respond to various IP addresses (to simulate seperate computers 
> (web/ftp servers for different departments of company) but really 
> using one server with one NIC.
> How is this accomplished?
> I tried making "copies" of eth0 interface in Network Config panel, but 
> this didn't work.



Manually, you can create new virtual interfaces using the ifconfig 
command, as follows:

ifconfig eth0:0 a.b.c.d netmask k.l.m.n
ifconfig eth0:1 e.f.g.h netmask k.l.m.n

and so on...

And to have all this automatically setup on boot, copy the 
/etc/sysconfig/ifcfg-eth0 file to /etc/sysconfig/ifcfg-eth0:0 file, and 
edit this new file with the required parameters, and your virtual IP 
will come up on boot next time.

-- 
Anand Buddhdev
http://anand.org





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to