Hello,

It's now possible to distribute both v4 and v6 on quagga's babeld in quagga 
RE-testing-0.99, but the syntax is affected.

The definition of an access/prefix-list doesn't differ: the kind (v4 or v6) is 
explicit, e.g. :
        access-list toto deny any
        ipv6 access-list toto deny any
(note that you have in this example the same name ("toto") for two different 
lists: one v4, the other v6)

You must specified v4 or v6 for the redistribution:
        distribute-list toto  /* will distribute the v4 "toto" list */
        ipv6 distribute-list toto  /* will distribute the v6 "toto" list */

For ripng, which use only v6, you can continue to use the v4 syntax :
        distribute-list toto /* will distribute the v6 list */
        ipv6 distribute-list toto /* same */

Here is a complete example:

password zebra
enable password zebra

router babel
  network eth0
  distribute-list global_ipv4 in eth0
  distribute-list local_ipv4 out eth0
  ipv6 distribute-list local_ipv6 out eth0
  redistribute kernel
  redistribute connected
  redistribute static
  redistribute ripng

access-list local_ipv4 permit 1.2.3.0/23
access-list local_ipv4 deny any 

access-list global_ipv4 deny 1.2.0.0/16
access-list global_ipv4 permit any

ipv6 access-list local_ipv6 permit 2001:2:3:4::/64
ipv6 access-list local_ipv6 deny any

log file /var/log/quagga/babeld.log

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

Reply via email to