[Babel-users] babeld 1.0.1 deny default route update

Juliusz Chroboczek Juliusz.Chroboczek at pps.jussieu.fr
Tue Aug 24 17:08:57 UTC 2010


> we have a server with two interfaces
>
> 1) public side
> 2) private side
>
> the default route for the server should always be the public side
>
> there are a number for radios that also reside on the private network, in
> order for the server to talk to all these radios it runs babel on eth1
> private

> the radiosd all run babel on eth0 gateway interface and wlan2 mesh interface

> the problem arises when a radio boots, it get a dhcp from 192.168.1.1 and
> sets its default gateway then exports the fact it has a default route to
> other nodes

That shouldn't happen -- the dhcp server should set a route with
protocol "boot", and Babel ignores routes with this protocol field.
Which dhcp server are you using?

At any rate, you can prevent the mesh nodes from exporting the default
route by saying

  redistribute ip 0.0.0.0/0 eq 0 deny

> so how can i prevent the server from updating the default route broadcasts

On the server, you may say

  in ip 0.0.0.0/0 eq 0 if eth1 deny

or even something like

  in ip 0.0.0.0/0 le 31 if eth1 deny

Hope this helps,

                                        Juliusz



More information about the Babel-users mailing list