On Thu, May 13, 2004 at 04:11:02PM -0400, Brad Shelton wrote:
On Thu, 2004-05-13 at 10:28, Damon Jebb wrote:
From: Luca Mollica [mailto:luca_mollica@virgilio.it]
Mine looks like this...
BOOTPROTO='static' BROADCAST='192.168.1.255' IPADDR='192.168.1.3' IPADDR_1='192.168.1.200' ->>> adds the address to the card IPADDR_2='192.168.1.201' ->>> adds another address MTU='' NETMASK='255.255.255.0' NETWORK='192.168.1.0' REMOTE_IPADDR='' STARTMODE='onboot' UNIQUE=''
In /etc/sysconfig/network
find ifcfg-eth0 and make copies like so:
ifcfg-eth0 ifcfg-eth0:0 ifcfg-eth0:1
Modify :0 and :1 , as many others as you need, with the appropriate information based on subnet, etc. and rcnetwork reload, or restart.
This will give you what is referred to as IP aliasing; multiple IP/masks on the one interface.
You can figure out what info to put in each based on the original.
This method has been deprecated in SuSE since (I believe) version 8.0 in favor of the first one. More in manpage of ip(8) and ifup(8). Regards, -Kastus