reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia
Home >> OS >> Linux >> Networking >>

How to configure additional IP address in Linux [1/2]

Type: Code reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia
How to configure additional IP address in Linux
Level: Intermediate reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia 
How to configure additional IP address in Linux
Date: 2007-Apr-07
How to configure additional IP address in Linux
Visited: 2477 times
How to configure additional IP address in Linux
Rating: How to configure additional IP address in Linux
How to configure additional IP address in Linux
Author: Stephen Think
This tutorial will show you how to configure additional IP address on NIC under Red Hat Linux or Fedora Core.

The following procedure uses eth0 as an example for assigning a second TCP/IP address.

Use the following command to add the IP address:

ifconfig eth0:1 xxx.xxx.xxx.xxx
Where xxx.xxx.xxx.xxx is the actual IP address.
Note that eth0:1 is in case you add only a second IP address. Same way you can add eth0:2, eth0:3 and so on.

To make the changes permanent you will need to add the IP also in the network scripts which are being started on system boot.

1. Verify that your /etc/sysconfig/network-scripts/ifcfg-eth0 file does not have a GATEWAY= parameter in it. If it does, remove it and add that parameter to /etc/sysconfig/network.

2. Copy your /etc/sysconfig/network-scripts/ifcfg-eth0 file to a new file called: /etc/sysconfig/network-scripts/ifcfg-eth0:1

cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:1
reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia - How to configure additional IP address in Linux [1/2] - reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: how to add additional IP address to Linux  ifcfg-eth0 additional address  linux additional ip  how to see ip address on linux  additional windows remote desktop ports  linux tutorials:check repair file system in linux  eth0:1 configure  how to configure ccproxy  how configure CCProxy  how ccproxy configure  how to configure the cc proxy  ccproxy configure  configure +" ccproxy"  how can we configure ccproxy  configure ccproxy  how to configure ccproxy pdf   how to configure ccproxy  how to configure cc proxy  how to configure the ccproxy  how to configure outlook in ccproxy