View Single Post
  #6  
Old 17th January 2006, 09:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote