[Babel-users] How to redistribute addresses of only one specific Network

Matthieu Boutier boutier at pps.univ-paris-diderot.fr
Thu Dec 12 20:28:22 UTC 2013


Hi,

> Laptop A:
> eth0 10.20.30.1/24
> wlan0 20.0.1.2/24
> 
> Laptop B:
> eth0 10.20.30.2/24
> wlan0 20.0.6.6/24


> sudo babeld -C 'redistribute ip 20.0.0.0/8 allow' -C 'redistribute local deny' -h 0.5 eth0 wlan0&


In the manpages, you will found:
       If action is not specified, it defaults to allow.

so you missed a 'redistribute deny'.
# And if you want to reditribute the addresses of your routers, 'redistribute local ip 20.0.0.0/8 allow'.

redistribute ip 20.0.0.0/8 allow
redistribute deny
# redistribute local ip 20.0.0.0/8 allow
redistribute local deny

Matthieu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/babel-users/attachments/20131212/0d248010/attachment.html>


More information about the Babel-users mailing list