[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Web openvpn.net

Re: [Openvpn-devel] [PATCH] Stick routes to interfaces for Linux

  • Subject: Re: [Openvpn-devel] [PATCH] Stick routes to interfaces for Linux
  • From: Roy Marples <uberlord@xxxxxxxxxx>
  • Date: Thu, 13 Apr 2006 22:40:07 +0100

On Thursday 13 April 2006 22:01, Roy Marples wrote:
> On Thursday 13 April 2006 21:33, James Yonan wrote:
> > Roy Marples wrote:
> > > In some instances, Linux requires routes being stuck to interfaces
> > > instead of floating. Mainly in virtual environments like Xen and Qemu.
> > >
> > > Attached is a patch that addresses this issue.
> >
> > What about the case where you don't want to associate a route with the
> > tun/tap interface, such as when you're doing the routing dance to make
> > --redirect-gateway work?
> Not too sure to be truthfull as I don't use that option. I prefer to have
> both default routes separated by a metric instead. This works very well
> when you have 3 interfaces, wired, wireless and vpn and they all provide
> default routes. In this instance we need to give them metrics and tie them
> to an interface using Linux.

Initial testing shows that it has no adverse effects. Of course, it's my patch 
and I'm biased :P

Maybe someone else could test and chip in? Or enable it by default in the next 
beta and see what breaks if anything. The patch is trivial and could easily 
be removed in any case.


Roy Marples <uberlord@xxxxxxxxxx>
Gentoo Linux Developer

Openvpn-devel mailing list