Re: NetworkManager VPN plugin kills my custom routes.



On Fri, 2007-02-23 at 00:32 +0300, Sergey V. Naidenov wrote:
> Good day!
> 
> I'm using nm-applet 0.6.4 and cvs version of VPN plugin.
> When initializing NM kills my custom eth0 routes which have been added
> by the system at boot time.
> 
> Even though I re-enter my custom routes by hand, NM kills them when
> disconnecting its VPN connection. For example:

Yes, NetworkManager does not allow you to set custom routes at this
time.

Dan


> 1. Before VPN connection
> 
> myhost ~ # ip r
> 89.21.79.38 via 10.167.0.17 dev eth0 
> 10.167.0.0/16 dev eth0  proto kernel  scope link  src 10.167.21.105 
> 127.0.0.0/8 dev lo  scope link 
> default via 10.167.0.17 dev eth0 
> 
> 2. After VPN connection
> 
> myhost ~ # ip r
> 195.14.38.15 via 10.167.0.17 dev eth0 
> 89.21.79.38 via 10.167.0.17 dev eth0 
> 10.167.0.0/16 dev eth0  proto kernel  scope link  src 10.167.21.105 
> 127.0.0.0/8 dev lo  scope link 
> default dev ppp0  scope link 
> 
> 3. After VPN disconnection
> 
> myhost ~ # ip r
> 10.167.0.0/16 dev eth0  proto kernel  scope link  src 10.167.21.105 
> 127.0.0.0/8 dev lo  scope link 
> default via 10.167.0.17 dev eth0 
> 
> As you can see, NM deleted the route to 89.21.79.38 from routing table.
> How can I prevent NM from this behaviour and preserve my custom routes?
> 
> Thanks in advance! 
> 
> 
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list




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