[Babel-users] babeld/quagga: v4 and v6 distribution

Matthieu Boutier boutier at pps.jussieu.fr
Sun Sep 16 22:27:51 UTC 2012


	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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/babel-users/attachments/20120917/e1b4eb71/attachment.html>


More information about the Babel-users mailing list