Boot Scripts: Multiple IP Addresses

Mark A. Olbert Mark at arcabama.com
Thu Sep 4 21:01:13 PDT 2008


Thanks for the lead. BTW, the boot scripts don't use ipconfig; they use ip.

- Mark

-----Original Message-----
From: lfs-support-bounces at linuxfromscratch.org [mailto:lfs-support-bounces at linuxfromscratch.org] On Behalf Of Support
Sent: Thursday, September 04, 2008 8:26 PM
To: LFS Support List
Subject: Re: Boot Scripts: Multiple IP Addresses

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
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


__________ Information from ESET NOD32 Antivirus, version of virus signature database 3416 (20080904) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus signature database 3416 (20080904) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




More information about the lfs-support mailing list