Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

quagga: add config notes for redistribute kernel and rxcost

I use the rxcost parameter to give a mild bias to the 5.x
ghz radios. In the test deployment I found it necessary to bump up
rxcost in proportion to the radio's quality and intent.

so I ended up with rxcost of 1024 and 1023 for wndr3800s
rxcost of 768 for picostation 2HPs (used by users)
rxcost 256 for the directional nanostation M5 backbone

This gave the m5 radios preference and only in case of failure
do things fall back to the 2HPs and wndr3800s. Otherwise
the m5s would prefer a direct connection to a lousy radio
vs a 2 hop or more route that used good radios and ethernet.

I'm not saying this is correct, but it worked.

redistribute kernel works correctly for dhcpv4 inserted default
routes. It does not appear to work correctly for RA inserted
ipv6 routes, nor has it been tested for other forms of ipv6 routes
as yet. WIP.
  • Loading branch information...
commit aaca5b8799f38a4efc95a6e04a9a5ccab524d416 1 parent 0fc09e0
Dave Taht authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  net/quagga/files/babeld.conf
3  net/quagga/files/babeld.conf
@@ -27,6 +27,7 @@ router babel
network gw01
network gw11
redistribute connected
+! redistribute kernel uncomment if you are a default gw
interface ge00
babel wired
@@ -53,6 +54,8 @@ interface gw01
! babel authentication mode sha512 key-chain home
interface gw11
babel wireless
+! the rxcost difference is there to give 5.x ghz a preference in case of tie
+ babel rxcost 253
! Allow buddy2 to get on your net via 5ghz only
! babel authentication mode sha512 key-chain buddy2
! babel authentication mode sha512 key-chain home
Please sign in to comment.
Something went wrong with that request. Please try again.