I couldn't find anything similar to this, so I wrote up a patch for it. I hope it proves useful, since, it was a bit of a task to prepare the patch and register to this list.

Description: Enables support for loading extra static IP addresses at boot. See 7.12.1 in LFS 6.0. The Network COnfiguration file must contain the variable EXTRA_IPS with a space delimited list of IP addresses. This could be achieved simply:

$ echo "EXTRA_IPS=\"123.123.123.123 124.124.124.124\"" >> /etc/sysconfig/network-devices/ifconfig.eth0/ipv4

    You could (and it is recommended) include the prefixes:

$ echo "EXTRA_IPS=\"123.123.123.123/23 124.124.124.124/23\"" >> /etc/sysconfig/network-devices/ifconfig.eth0/ipv4



Attachment: lfs-bootscripts-2.2.2-extra_static_ips-1.patch.bz2
Description: Binary data

-- 
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to