Look in your /etc/sysconfig directory.  Look at the files for you ifcfg-eth0
and duplicate them with the different IP address under ifcfg-eth1.  This
should do what you want.

Paul Anderson

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Prabhat Karki
Sent: Wednesday, February 21, 2001 10:25 AM
To: [EMAIL PROTECTED]
Subject: using ifconfig to assign ip addresses


Hi everyone,
I'm running apache on redhat 6.1. I'm configuring ip
based two virtual hosts for my webserver.
So i have two ip addresses for the same box. One IP
which was already there is assigned to eth0.
Now i'm using ifconfig to assign the second ip address
to the eth1. Everything works fine until I reboot the
system. When I reboot it the IP address assign to eth1
is no longer there and I need to reassign using
ifconfig. My question is, is there a way I can do this
so that the system would recognize both the IP
addresses at eth0 and eth1 at the boot time?

Any tip would be helpful

thanks

Prabhat.

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices!
http://auctions.yahoo.com/



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to