Kernel 2.6.12

Andrew Benton b3nt at ukonline.co.uk
Mon Jun 20 02:00:24 PDT 2005


DJ Lucas wrote:
> Andrew Benton wrote:
> 
>>Mark Carey wrote:
>>
>>The solution is to put it in front of the previous line so it reads
>>
>>ip addr add 127.0.0.1/8 label lo dev lo
>>ip link set lo up
>>
>>See the current version of the bootscripts,
>>http://downloads.linuxfromscratch.org/lfs-bootscripts-3.2.2.tar.bz2
> 
> 
> Has anybody dug in to see why this works?  It does not seem correct as
> is.  A physical link must exist to add an address to it, even on virtual
> devices, correct?

Are you sure? http://www.policyrouting.org/iproute2.doc.html#ss9.12 seems to say that you configure the interface before you use ip link to set it up



More information about the lfs-dev mailing list