Re: assigning multiple ip addresses to NIC on bootupm, how?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Sa, den 09.07.2005 schrieb Ferindo Middleton Jr um 16:31:

> I run the following commands at the shell to  assign the additional ip 
> address to my FC4 server's NIC.
> ifconfig eth0:2 192.168.1.3
> ifconfig eth0:3 192.168.1.4
> 
> I do this because I need to make these additional addresses available 
> for virtual hosts to accept requests  on my apache apache web server.
> 
> How can I get these commands to run on boot up automatically without me 
> having run them manually. My httpd service fails to start on boot up 
> because it requires these addresses to already be available on the NIC, 
> but my setup initially only bring eth0:1 up on 192.168.1.2.
> 
> Ferindo

Either use system-config-network and setup the desired aliased devices
or create them by hand by creating
/etc/sysconfig/network-scripts/ifcfg-eth0:X config files.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 16:36:04 up 13 days, 23:28, load average: 0.16, 0.16, 0.14 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux