Multiple IP Addresses on Startup
Hi.
I'm running SuSE 9.1 Pro and would like to permanently bind 2 static IP addresses to the same network card.
I can temporarily give myself a second address with:
ifconfig eth0:1 x.x.x.x netmask x.x.x.x
How do I make this permanent? I've had a look in /etc/sysconfig/network and the configuration file for my card is called: ifcfg-eth-id-00:d0:59:36:4a:39
It contains the following:
BOOTPROTO='static'
BROADCAST='76.255.255.255'
IPADDR='76.168.1.252'
MTU=''
NETMASK='255.0.0.0'
NETWORK='76.0.0.0'
REMOTE_IPADDR=''
STARTMODE='onboot'
UNIQUE='WL76.x+4TzbL0KL6'
_nm_name='bus-pci-0000:00:09.0'
I feel that I'm almost there - just searching for the missing link...
Do I edit this file in some way, or make a duplicate file called ifcfg-eth-id-00:d0:59:36:4a:39:1 and edit the address in the new file? If so, what does UNIQUE='WL76.x+4TzbL0KL6' do, and does it matter that it would no longer be unique?
Or is there a file somewhere that I can just add: ifconfig eth0:1 x.x.x.x netmask x.x.x.x to?
Mike.
|