[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ifconfig & route



On Wed, Nov 08, 2000 at 11:22:21AM +0200, Petteri Heinonen wrote:
> Hi.
> Why ifconfig adds route in localnet when I use it to bring up my eth0
> interface? Shouldn't that be done with route command after using ifconfig?
> That is what is said in networking howto and in a Debian book I have. I read
> manual pages for ifconfig, and there weren't a word about this feature.
> Neither did I found option for switching this feature off. I have to say
> that this doesn't cause any problems for me, I'm just curious.

That changed with 2.2 kernels.  With 2.0 kernels you needed to manually
add the route to attached networks.

-- 
CueCat decoder .signature by Larry Wall:
#!/usr/bin/perl -n
printf "Serial: %s Type: %s Code: %s\n", map { tr/a-zA-Z0-9+-/ -_/; $_ = unpack
'u', chr(32 + length()*3/4) . $_; s/\0+$//; $_ ^= "C" x length; } /\.([^.]+)/g; 



Reply to: