You have to login as root.
Once you're logged in as root, you should see a window divided in a left (your computer) and a right (your server) section, just like in an FTP client like WS_FTP.
Create the file ifcfg-eth0:0 with an editor somewhere on your computer (go sure that you save this file with Unix linebreaks instead of Windows linebreaks), and then copy it to /etc/sysconfig/network-scripts/ on your server.
You could also create the file on the command line (e.g. PuTTY) like this:
Code:
echo "DEVICE=eth0:0" > /etc/sysconfig/network-scripts/ifcfg-eth0:0
echo "BOOTPROTO=static" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
echo "IPADDR=192.168.0.101" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
echo "NETMASK=255.255.255.0" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
echo "NETWORK=192.168.0.0" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
echo "BROADCAST=192.168.0.255" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
echo "ONBOOT=yes" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
echo "METRIC=10" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
echo "MII_NOT_SUPPORTED=no" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
echo "USERCTL=no" >> /etc/sysconfig/network-scripts/ifcfg-eth0:0
Another note: you don't have to create that virtual network interface. It's just an example how you do it if you need more than one IP address.
Recent comments
1 day 3 hours ago
1 day 5 hours ago
1 day 17 hours ago
1 day 20 hours ago
2 days 37 min ago
2 days 6 hours ago
2 days 16 hours ago
2 days 18 hours ago
3 days 2 hours ago
3 days 3 hours ago