Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Struggling a bit trying to work this out. I'm on a Centos 5.5 VPS with multiple IP addresses.

I've setup the IP address alias for eth0 (eth0, eth0:1, eth0:2, eth0:3, eth0:4, eth0:5), each with a different static address, using the Red Hat Text Mode Setup Utility (setup).

I've saved the config and rebooted but only eth0 and eth0:5 show up with ifconfig.

The folder /etc/sysconfig/networking/devices shows all interfaces scripts

but /etc/sysconfig/network-scripts/ only has ifcfg-eth0 and ifcfg-eth0:5 (which is what ifconfig seems to find).

Do I need to do anything else to make those aliases show up?

Thanks

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

As far as I know, you DO need the relevant scripts in /etcsysconfig/network-scripts. The easiest is probably to just copy the script ifcfg-eth0:5, rename and adjust the settings as appropriate, then restart networking (no need to reboot the server).

share|improve this answer
    
Thanks, wasn't just that - i think plesk was playing some role here. After adding those ips to plesk and restarting the network it worked again. Thanks for helping though! –  Ben Jun 16 '11 at 9:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.