jiipee a écrit :
> On 2010-07-24 11:53, Pascal Hambourg wrote:
>
>> If the machine already has a default route via another interface (i.e.
>> ethernet) then pppd won't replace it, unless you add the flag
>> "replacedefaultroute" (if supported by your pppd version, the one in
>> Debian does so I guess the one in Ubuntu does too) after the option
>> "defaultroute" in the pppd option file. Check the routing table (route
>> -n), and in /var/log/syslog for a message saying something like "not
>> replacing existing default route".
>>
>> First you can try with the ethernet interface down.
>
> Yes, ethernet seems to take preference in routing, even with
> replacedefaultroute .
Really ? Can you show the pppd logs (in /var/log/syslog IIRC) and the
routing table (ip route or route -n) when the mobile connection is
established and the ethernet interface is configured normally (i.e. not
"in link local only" mode) ?
> 'Link local only' option for eth seems to work...
I guess so, it has the same effect as stopping the interface : remove
its associated default route.
|