xinglp wrote: > 2011/9/1 Bruce Dubbs <bruce.du...@gmail.com>: >> xinglp wrote: >>> Misstake >>> >>> cp -av /etc/sysconfig/{ifconfig.eth0.ipv4,ifconfig.test} >>> edit /etc/sysconfig/ifconfig.test set ONBOOT=no to it. >>> then reboot the lfs system, you will see a warning. >> What's the warning? > RTNETLINK answers: Cannot assign requested address [ FAIL > ] > Because the ifconfig.test is not started by setting "ONBOOT=no" to it, > but in "shutdown/reboot procces", the bootscript still try to stop > ifconfig.test
Hmm. You appear to have ifconfig.eth0.ipv4: ONBOOT=yes IFACE=eth0 SERVICE=ipv4-static IP=192.168.1.1 GATEWAY=192.168.1.2 PREFIX=24 BROADCAST=192.168.1.255 and ifconfig.test ONBOOT=no IFACE=eth0 SERVICE=ipv4-static IP=192.168.1.1 GATEWAY=192.168.1.2 PREFIX=24 BROADCAST=192.168.1.255 At a minimum, the IP addresses need to be different and if you will be using multiple IP addresses on one interface, it doesn't make any sense to have multiple IP addresses on the same subnet on the same interface. I'll take a look at adding: ONBOOT=no IFACE=eth0 SERVICE=ipv4-static IP=10.0.0.1 GATEWAY=10.0.0.2 PREFIX=8 BROADCAST=10.255.255.255 And see what I can come up with. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page