Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2004 00:31:28 +0800
From:      Eugene Grosbein <eugen@grosbein.pp.ru>
To:        Vladimir Terziev <vladimir.terziev@sun-fish.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Quagga & ripd difficulty
Message-ID:  <20041019163128.GA1201@grosbein.pp.ru>
In-Reply-To: <20041019180042.553c1af0@daemon.cmotd.com>
References:  <20041019180042.553c1af0@daemon.cmotd.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 	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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041019163128.GA1201>