Doug B wrote:
I tried using:
BOOTPROTO_2='dhcp' LABEL_2=2
Setting up network interfaces: lo lo IP address: 127.0.0.1/8 done eth0 device: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) eth0 IP address: 192.168.1.2/24 eth0:1 IP address: 192.168.0.100/24 done
Then I tried:
BOOTPROTO='dhcp' LABEL_2=2
Setting up network interfaces: lo lo IP address: 127.0.0.1/8 done eth0 device: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) eth0 (DHCP) . . . . . no IP address yet... backgrounding. waiting
Seems it doesn't like the '_2' on BOOTPROTO. I think the reason I got the waiting on dhcp is because this machine is also my dhcp server and the static interface dhcp runs on (even though listed first) wasn't set up yet. ifconfig confirms that eth0 and eth0:1 are up (after backgrounding?) when the restart finishes.
Anyway... try:
<leave first part as is>
BOOTPROTO='static' IPADDR_1=192.168.0.1/24 IPADDR_2=192.168.1.1/24 LABEL_1=1 LABEL_2=2
Worth a shot.
Unfortunately, this doesn't work. I think you had this situation because you set up the static addresses first then you modified your config file and without bringing down the static adresses, you put up the dhcp one. I suppose you can verify this by looking well at your ifconfig results (comparing it to your config). Fortunately, this means the system still supports it but the right way to configure it has to be found. BTW, when reading the top of ifcfg.template, a line says "See 'man 8 ifup' for details." But when you go there, you find: -- WARNING This manpage is not up to date. Please get a newer version of package sysconfig (via YaST Online Update) with a fixed manpage. Only the first part (up to OPTIONS) has so far been rewritten. -- This man page has last been updated in January 2003. It seems they have forgotten to update it. Patrick