serverguy
2004-08-12, 20:46 PM
This is my first time setting up an additional ip in linux. I followed all of the steps in the following thread: http://forums.serverbeach.com/showthread.php?s=&threadid=3715 but then got stuck on the following post:
"It isn't hard at all to setup yourself. If you look in /etc/sysconfig/network-scripts, this is what you need to do:
Copy "ifcfg-eth0" to "ifcfg-eth0:0"
then edit "ifcfg-eth0:0" and change the DEVICE name to match; "eth0:0". Set the IPADDR and NETMASK to what serverbeach gave you and you're all set. Save the file and then do:
ifup eth0:0
The process is the same for any subsequent IPs, just use eth0:1, eth0:2 and so on. That's all it takes."
The part that doesn't work is the "ifup eth0:0 ". When I type it in I just get a 'command not found'. I am using PuTTY to access the server. Please let me know if I'm doing something wrong or if this is not an error on my part. Thank you.
"It isn't hard at all to setup yourself. If you look in /etc/sysconfig/network-scripts, this is what you need to do:
Copy "ifcfg-eth0" to "ifcfg-eth0:0"
then edit "ifcfg-eth0:0" and change the DEVICE name to match; "eth0:0". Set the IPADDR and NETMASK to what serverbeach gave you and you're all set. Save the file and then do:
ifup eth0:0
The process is the same for any subsequent IPs, just use eth0:1, eth0:2 and so on. That's all it takes."
The part that doesn't work is the "ifup eth0:0 ". When I type it in I just get a 'command not found'. I am using PuTTY to access the server. Please let me know if I'm doing something wrong or if this is not an error on my part. Thank you.