ifcfg-eth0:X alias problem
Hi everyone,
I'm running into a problem adding more than a couple aliased interfaces to my eth0 interface. I'm running Mandrake 8.1 and I've copied my /etc/sysconfig/network-scripts/ifcfg-eth0 to ifcfg-eth0:0 ifcfg-eth0:1 ifcfg-eth0:2 and they come up fine after I change the DEVICE and IPADDR lines. but when I tried to create ifcfg-eth0:3 and ifcfg-eth0:4 entries them will not start at all. If I reboot, they don't show up.
here's what I get from ifup eth0:4
[root@la2fire network-scripts]# ifup eth0:4
Device "eth0:4" does not exist.
Cannot find device "eth0:4"
Error adding address x.y.z.39 for eth0:4. (I changed the x.y.z)
WARNING: interface is ignored: No such device
[root@la2fire network-scripts]#
here is the text of the the ifcfg-eth0:4 file:
[root@la2fire network-scripts]# more ifcfg-eth0:4
DEVICE=eth0:4
BOOTPROTO=static
IPADDR=x.y.z.39
NETMASK=255.255.255.224
NETWORK=x.y.z.32
BROADCAST=x.y.z.63
ONBOOT=yes
[root@la2fire network-scripts]#
I can manually issue a "ifconfig eth0:4 x.y.z.39 broadcast x.y.z.63 netmask 255.255.255.224"
and the interface comes up fine. There was no problem creating the first bunch of aliases (eth0:0-eth0:2)
Any idea what's going on?
Thanks!
|