Regards, Satish Patel
Quoting "Mark A. Olbert" <[EMAIL PROTECTED]>: > Thanks for the lead. BTW, the boot scripts don't use ipconfig; they use ip. > > - Mark > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] 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 > > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > correct LFS not use ifconfig it use IP command to set ip address and all.. best and easy way to create script and put it on /etc/rc.d/init.d/network-eth1.sh and link it with appropriate runlevel -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
