Mailinglist Archive: opensuse (3637 mails)
| < Previous | Next > |
Re: [SLE] How to assign second IP to NIC?
- From: "KEVIN ZEMBOWER" <KZEMBOWER@xxxxxxxxxx>
- Date: Tue, 29 May 2001 15:59:34 -0400
- Message-id: <sb13c785.061@xxxxxxxxxxxxxxx>
Thank you, Geordon, for your help and suggestions. It worked just like you described. I also found more information in my UNIX System Administration Handbook under the magical phrase "virtual interface."
Any suggestions on how to make it work at boot-up without a boot.local file and with the
/etc/rc.config file system? In the IPADDR-x, NETDEV_x and IFCONFIG_x sections, there doesn't seem to be room for a second instance of an interface configuration.
Thank you again for your complete, accurate and timely help.
-Kevin Zembower
>>> "Geordon VanTassle" <gvantass@xxxxxxxxxxxxxxxx> 05/29/01 03:40PM >>>
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" <KZEMBOWER@xxxxxxxxxx>
To: <suse-linux-e@xxxxxxxx>
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@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/support/faq and the
archives at http://lists.suse.com
Any suggestions on how to make it work at boot-up without a boot.local file and with the
/etc/rc.config file system? In the IPADDR-x, NETDEV_x and IFCONFIG_x sections, there doesn't seem to be room for a second instance of an interface configuration.
Thank you again for your complete, accurate and timely help.
-Kevin Zembower
>>> "Geordon VanTassle" <gvantass@xxxxxxxxxxxxxxxx> 05/29/01 03:40PM >>>
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" <KZEMBOWER@xxxxxxxxxx>
To: <suse-linux-e@xxxxxxxx>
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@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/support/faq and the
archives at http://lists.suse.com
| < Previous | Next > |