Quagga & ripd difficulty
Vladimir Terziev
vladimir.terziev at sun-fish.com
Wed Oct 20 06:40:12 PDT 2004
In fact i can't even predict the name of the interface via which the traffic will be routed, because my VPN is based on VTUN servers. They choose the next free tun device, respectively interface, when the VPN connection is established beteen 2 peers.
I read the Quagga documentation a lot of times, but i couldn't find any clue how to manipulated metrics when the traffic comes from distinct neighbour. Could you help me with this, please ?
Vladimir
On Wed, 20 Oct 2004 00:31:28 +0800
Eugene Grosbein <eugen at grosbein.pp.ru> wrote:
> > One of my VPN peer servers has two VPN connections to every one of the other VPN peers. For quagga these are 2 equal-cost routes. When both of the VPN connections are established, quagga randomly preffers one of them and routes all VPN traffic via it. When one of the connections is not present (not connected) the VPN traffic is routed via the connected one. All this is fine, but i have the desire one of the routes to be prefferable when both of them are present. I mean the following ... if i have
> >
> > Net-1 <-> VPN-Peer-1 <----- A -----> VPN-Peer-2 <-> Net-2
> > Net-1 <-> VPN-Peer-1 <----- B -----> VPN-Peer-2 <-> Net-2
> >
> > quagga to create a route between Net-1 and Net-2 always via connection A if both of the connections are present.
> > Any ideas are welcome!
>
> For RIP, there is a metric manipulation technique:
> router can artifically increase metrics of some of received routes
> when these routes come from a distinct neighbour or via distinct inteface.
> For RIP there is offset-list command but it is not implemented yet AFAIK.
>
> Eugene
>
More information about the freebsd-net
mailing list