Skip to content

Commit

Permalink
quagga: add config notes for redistribute kernel and rxcost
Browse files Browse the repository at this point in the history
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
Dave Taht committed Jul 8, 2012
1 parent 0fc09e0 commit aaca5b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions net/quagga/files/babeld.conf
Expand Up @@ -27,6 +27,7 @@ router babel
network gw01 network gw01
network gw11 network gw11
redistribute connected redistribute connected
! redistribute kernel uncomment if you are a default gw
! !
interface ge00 interface ge00
babel wired babel wired
Expand All @@ -53,6 +54,8 @@ interface gw01
! babel authentication mode sha512 key-chain home ! babel authentication mode sha512 key-chain home
interface gw11 interface gw11
babel wireless 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 ! Allow buddy2 to get on your net via 5ghz only
! babel authentication mode sha512 key-chain buddy2 ! babel authentication mode sha512 key-chain buddy2
! babel authentication mode sha512 key-chain home ! babel authentication mode sha512 key-chain home
Expand Down

0 comments on commit aaca5b8

Please sign in to comment.