Boot Scripts: Multiple IP Addresses

Support support at expertrepair.co.uk
Thu Sep 4 20:25:42 PDT 2008


Mark A. Olbert wrote:
> I need to configure my LFS box to multihome the external Ethernet connection (which is eth1 on my machine). I can do this manually by issuing:
>
> ifconfig eth1:1 <second ip address>
>
> But I'd appreciate some advice/suggestions on how to do this via the boot scripts. The obvious thing I tried -- creating a directory called /etc/sysconfig/network-devices/ifconfig.eth1:1 and populating an ipv4 file in it appropriately -- didn't work. Or rather, it added the second IP address to the eth1 interface, but it didn't show up in the ifconfig report and weird things started happening to my LAN connectivity.
>
> - Mark
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature database 3416 (20080904) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>   
IIRC, the version of ifconfig installed by default isn't the full monty, 
have a look for it in blfs and install that one, then see if ifconfig 
picks up your virtual adapter.

Regards

Phill



More information about the lfs-support mailing list