LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   adding an extra ip to your system configurations (https://www.linuxquestions.org/questions/red-hat-31/adding-an-extra-ip-to-your-system-configurations-426543/)

seraphangel 03-20-2006 06:32 AM

adding an extra ip to your system configurations
 
i have a server running redhat linux enterprise release 4. i recently ordered an extra ip from my provider but am needing to configure it myself in the system config but have no idea how or where to start. im really basic in what linux commands i can use. any help on how to configure a new ip would be appreciated.

twantrd 03-21-2006 02:10 AM

If you have an additional NIC (say eth1) you can do:
Code:

ifconfig eth1 <ip address> <netmask>
If you don't, you can always alias it from eth0 like so:
Code:

ifconfig eth0:1 <ip address> <netmask>
-twantrd


All times are GMT -5. The time now is 06:42 PM.