From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id B3FE721F16A for ; Thu, 20 Sep 2012 06:36:06 -0700 (PDT) Received: by wgbge7 with SMTP id ge7so1301578wgb.28 for ; Thu, 20 Sep 2012 06:36:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=adYnUPHK21XOUYjJ2nMKOML3AvGVqg1EjwBsE4jI7d4=; b=Q442t7Vfb+I/MTSskixami5SlOpPmDKhAQWM964OEdcfo4kfeJ6g4vaMFaPsIOzEc3 B3MHzNGoYer0wDcruggmxjsM05BrQPdgg6OrHmAVpdHkathPa3+TOiHUpUD+1lZcoYK6 vmkHmMAZI8Z5cR3UqyMWXzfz4Vfi8ijYDAxd7OhpohDyc8mlwUfTMyU0sBvLFrMTaXJ4 U+nVlAZoeJB/p3rNjfO+KrjNGjvGhkUsgPk1IBldrS/HpbI5BfbNIwf1OfR8LyqRFVN7 CXBuTAoe16KdyRWIbHm0/KSWGPRwqxEui3ebxIVQ2wibdsYKQOItTQLWrjHvdoSVX7y6 r3Vg== MIME-Version: 1.0 Received: by 10.216.197.104 with SMTP id s82mr1123484wen.62.1348148164497; Thu, 20 Sep 2012 06:36:04 -0700 (PDT) Received: by 10.223.160.199 with HTTP; Thu, 20 Sep 2012 06:36:04 -0700 (PDT) In-Reply-To: <9E40B905-6124-454E-B2CF-6BDC3239EB4C@pps.jussieu.fr> References: <9E40B905-6124-454E-B2CF-6BDC3239EB4C@pps.jussieu.fr> Date: Thu, 20 Sep 2012 06:36:04 -0700 Message-ID: From: Dave Taht To: cerowrt-devel@lists.bufferbloat.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [Cerowrt-devel] Fwd: [Babel-users] babeld/quagga: v4 and v6 distribution X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Sep 2012 13:36:07 -0000 This enhancement to quagga (which is in cerowrt-sugarland) adds back an ability we lost in converting from the original babeld. I used it to allow ipv6 traffic to be routed over ipv4 natted links in the bloatlab. (by blocking ipv4 distribution over the shared external wire but allowing ipv6) No doubt there are other uses. One of my thoughts with this technology is to be able to share your ipv6 routes/addresses with your neighbor, be your ipv6 connection be native or tunnelled. ---------- Forwarded message ---------- From: Matthieu Boutier Date: Sun, Sep 16, 2012 at 3:27 PM Subject: [Babel-users] babeld/quagga: v4 and v6 distribution To: babel-users@lists.alioth.debian.org 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 --=20 Dave T=E4ht http://www.bufferbloat.net/projects/cerowrt/wiki - "3.3.8-17 is out with fq_codel!"