lkml.org 
[lkml]   [2005]   [Jul]   [1]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 01 Jul 2005 12:41:08 +0800
FromBenbenshi <>
SubjectRe: route reload after interface restart
Patrick McHardy wrote:

>Benbenshi wrote:
> 
>
>>you mean i have to specify the netmask when i startup the device ?
>> 
>>
>
>Yes.
>
> 
>
i have done an experiment as follow:

1. default route was add to eth0
2.ifconfig eth0 down
3.ifconfig eth0 192.168.10.57 netmask 255.255.255.0 up

no default route was re-added to kernel, failed!

>>can you tell more details ?
>> 
>>
>
>Just try yourself.
>
> 
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-01 04:44    [from the cache]
©2003-2008