Brian J. Murrell wrote:
> On Sat, 2008-03-22 at 14:25 -0500, Jerry Vonau wrote:
>>  
> 
> See Andrew's reply on this issue for context on answers below...
> 
>> In /etc/ppp/ip-down(.local) you could source the other provider's 
>> routing table, replace the default gateway in the main table with such 
>> info, adjust routing rules if required and flush the routing tables.
> 
> I think it's too late by this time.  The interface is gone and the
> kernel has deleted the routes already.
> 

No it's not, as per your observations with the providers tables, the 
remaining (not dead) provider's table has a usable gateway.

>> No, it's looking for preexisting gateways in the main table which were 
>> removed with the network scripting.
> 
> I don't think so.  As I said in my original post, I have traced and
> tracked through the networking scripts and the delete is not being done
> in userspace by any of them.  I believe Andrew's explanation that the
> kernel is removing the (multi-hop) default route is spot-on.
> 
Doing an "ip addr flush dev DEV" leaves the multi-hop default gateway, 
if that interface has one and tags the gateway as dead. Same for 
/sbin/ifdown DEV. This is with network cards and not pppd, might be 
pppd's code that is causing your headaches.  I'll dig around and see 
what I can find for pppd...


Jerry

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to