<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-tab-span" style="white-space:pre"> </span>Hello,<div><br></div><div>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.</div><div><br></div><div>The definition of an access/prefix-list doesn't differ: the kind (v4 or v6) is explicit, e.g. :</div><div><font class="Apple-style-span" face="Menlo"><span class="Apple-tab-span" style="white-space:pre"> </span>access-list toto deny any</font></div><div><font class="Apple-style-span" face="Menlo"><span class="Apple-tab-span" style="white-space:pre"> </span>ipv6 access-list toto deny any</font></div><div>(note that you have in this example the same name ("toto") for two different lists: one v4, the other v6)</div><div><br></div><div>You must specified v4 or v6 for the redistribution:</div><div><font class="Apple-style-span" face="Menlo"><span class="Apple-tab-span" style="white-space:pre"> </span>distribute-list toto /* will distribute the v4 "toto" list */</font></div><div><font class="Apple-style-span" face="Menlo"><span class="Apple-tab-span" style="white-space:pre"> </span>ipv6 distribute-list toto /* will distribute the v6 "toto" list */<br></font><br></div><div>For ripng, which use only v6, you can continue to use the v4 syntax :</div><div><font class="Apple-style-span" face="Menlo"><span class="Apple-tab-span" style="white-space:pre"> </span>distribute-list toto /* will distribute the v6 list */</font></div><div><font class="Apple-style-span" face="Menlo"><span class="Apple-tab-span" style="white-space:pre"> </span>ipv6 distribute-list toto /* same */</font></div><div><br></div><div>Here is a complete example:</div><div><span class="Apple-style-span" style="font-family: Menlo; "><br></span></div><div><span class="Apple-style-span" style="font-family: Menlo; ">password zebra</span></div><div><span class="Apple-style-span" style="font-family: Menlo; ">enable password zebra</span></div><div><font class="Apple-style-span" face="Menlo"><br>router babel<br> network eth0<br> distribute-list global_ipv4 in eth0<br> distribute-list local_ipv4 out eth0<br> ipv6 distribute-list local_ipv6 out eth0<br> redistribute kernel<br> redistribute connected<br> redistribute static<br> redistribute ripng<br><br></font><span class="Apple-style-span" style="font-family: Menlo; ">access-list local_ipv4 permit 1.2.3.0/23<br>access-list local_ipv4 deny any <br><br>access-list global_ipv4 deny 1.2.0.0/16<br>access-list global_ipv4 permit any<br><br>ipv6 access-list local_ipv6 permit 2001:2:3:4::/64<br>ipv6 access-list local_ipv6 deny any<br></span><font class="Apple-style-span" face="Menlo"><br></font></div><div><font class="Apple-style-span" face="Menlo">log file /var/log/quagga/babeld.log<br><br></font></div><div>--</div><div>Matthieu</div></body></html>