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

2013-03-04 Thread Dave Taht
On Mon, Mar 4, 2013 at 8:44 AM, Matthieu Boutier 
bout...@pps.univ-paris-diderot.fr wrote:

  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.


I'll give it a try. I note that I'd like not to distribute ULA addresses
out that way so a little more filtering seems required.



 Matthieu




-- 
Dave Täht

Fixing bufferbloat with cerowrt:
http://www.teklibre.com/cerowrt/subscribe.html
___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users

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

2013-03-04 Thread Matthieu Boutier
 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


___
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users