[Babel-users] ipv4/ipv6 route filter in quagga for babel?

Matthieu Boutier boutier at pps.univ-paris-diderot.fr
Mon Mar 4 16:44:42 UTC 2013


> With the original babel daemon I was able to hook up machines thusly
> 
> 
> ------------   ethernet, natted ipv4, native ipv6
> |           |
> R1 ~~ R2 wifi native ipv4 and ipv6
> 
> export ipv6 babel routes over the ethernet interface, but not ipv4.

I think it's done with access-list. You must first define your access-list (either in zebra.conf or babeld.conf), so in your case something like :

access-list dont-redistribute-v4 deny any
ipv6 access-list redistribute-v6 permit any

and in your babeld.conf :

router babeld
  network eth0
  network wlan0
  distribute-list dont-redistribute-v4 out wlan0
  ipv6 distribute-list redistribute-v6 out eth0

It should work.

Matthieu




More information about the Babel-users mailing list