Quagga & ripd difficulty

Vladimir Terziev vladimir.terziev at sun-fish.com
Tue Oct 19 08:00:50 PDT 2004


	Hi All,

	i try to set up quagga to route my VPNs. I use RIP (served by quagga's ripd) as routing protocol. All works fine, but i have difficulties with equal-cost routes.
	Now the problem ...

	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!

	Thanks in advance!

		Vladimir


More information about the freebsd-net mailing list