![](https://seccdn.libravatar.org/avatar/f158b6061917af4cb07f4c9633a03b77.jpg?s=120&d=mm&r=g)
I have to run a proprietary search engine on my system. Part of its set up instructions say to "assign a second IP address to your network interface card." (The original IP address is used for the regular web server, Apache, to run normally.) How do you assign a second IP address to a network interface? Many thanks for your help. -Kevin Zembower ----- E. Kevin Zembower Unix Administrator Johns Hopkins University/Center for Communications Programs 111 Market Place, Suite 310 Baltimore, MD 21202 410-659-6139
![](https://seccdn.libravatar.org/avatar/c67187df40991a68ff679fff2c11235e.jpg?s=120&d=mm&r=g)
First, "aliasing" has to be available in teh kernel. My SuSE Pro 7.1 stock
kernel has it.
Then, do this:
ifconfig eth0:1 inet $SECOND_IP_ADDRESS broadcast $IPNETWORK netmask
$YOUR_NETMASK
where eth0 is the NIC that you are installing a second IP address for, and
the :1 is the interface that you're aliasing. 0 is the first IF, 1 is
second, etc...
I put this in my /etc/boot.local so that it runs on boot.
HTH!
Geordon
----- Original Message -----
From: "KEVIN ZEMBOWER"
participants (2)
-
Geordon VanTassle
-
KEVIN ZEMBOWER