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"
To:
Sent: Tuesday, May 29, 2001 2:31 PM
Subject: [SLE] How to assign second IP to NIC?
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
--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com
For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the FAQ at http://www.suse.com/support/faq and the
archives at http://lists.suse.com