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

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

 



On Sat, 2005-07-09 at 15:47 +0100, Chris Lowth wrote:
> Alexander Dalloz wrote:
> 
> >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
> >  
> >
> Or simply add the commands to /etc/rc.local

That will not work for his needs.  rc.local is the last script run and
he needs the interfaces active before httpd starts. 

> --
> http://www.lowth.com/rope ..
>      GPL scripting language for writing IpTables match modules.
> 


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

  Powered by Linux