[quagga-users 14340] Re: redistribute both IPv4 and IPv6 connected routes - howto?

Anil DSouza anilsou77 at gmail.com
Fri Jun 3 07:01:33 BST 2016


Can someone have a look on how to get this working?

On Mon, May 30, 2016 at 3:01 PM, Anil DSouza <anilsou77 at gmail.com> wrote:

> Hi Guys,
>
> I've been trying to get both ipv4 and ipv6 routes in place with BGP,
>  found no luck so far, Surfing the internet lead me to the same issue
> reported earlier in ilist
> <https://lists.quagga.net/pipermail/quagga-dev/2011-September/008869.html>.
>   I've trying this on latest version 1.0.20160315 and find no success.   I
>  also tried 0.99.20 with patch attached to the earlier ilist and that works
> like charm.
>
> Can someone help how can i achieve this with latest version of quagga?
>
> Below is the test output for both 1.0.20160315 and patched version of
> 0.99.20
>
> #========== quaggga  1.0.20160315 ===========
>
> 07:57:13 a at oxy-oxygen-0a52c5e3:~$  bgpd -v
> bgpd version 1.0.20160315
> Copyright 1996-2005 Kunihiro Ishiguro, et al.
> configured with:
> --enable-vtysh --disable-ripd --disable-ripngd --disable-isisd
> --disable-pimd --disable-ospfd --disable-ospf6d --disable-ospfapi
> --disable-ospfclient --disable-isisd --disable-rtadv
> --enable-logfile-mask=0644 --prefix=/home/y --libdir=/home/y/lib64
> --enable-user=quagga --enable-group=users --enable-vty-group=users
> --disable-doc
> 07:57:21 a at oxy-oxygen-0a52c5e3:~$
>
>
> oxy-oxygen-0a52c5e3# show ip route connected
> Codes: K - kernel route, C - connected, S - static, R - RIP,
>        O - OSPF, I - IS-IS, B - BGP, P - PIM, A - Babel,
>        > - selected route, * - FIB route
>
> C>* 10.1.1.10/32 is directly connected, lo
> C>* 10.82.196.0/22 is directly connected, eth0
> C>* 127.0.0.0/8 is directly connected, lo
> oxy-oxygen-0a52c5e3#
> oxy-oxygen-0a52c5e3#
> oxy-oxygen-0a52c5e3# show ipv6 route  connected
> Codes: K - kernel route, C - connected, S - static, R - RIPng,
>        O - OSPFv6, I - IS-IS, B - BGP, A - Babel,
>        > - selected route, * - FIB route
>
> C>* ::1/128 is directly connected, lo
> C>* 2002::/16 is directly connected, lo
> C>* fe80::/64 is directly connected, eth0
> oxy-oxygen-0a52c5e3#
>
>
> oxy-oxygen-0a52c5e3#
> oxy-oxygen-0a52c5e3# configure  terminal
> oxy-oxygen-0a52c5e3(config)# router bgp  1
> oxy-oxygen-0a52c5e3(config-router)# redistribute connected
> oxy-oxygen-0a52c5e3(config-router)#  address-family ipv6
> oxy-oxygen-0a52c5e3(config-router-af)#  redistribute connected
> oxy-oxygen-0a52c5e3(config-router-af)# end
> oxy-oxygen-0a52c5e3#
>
> oxy-oxygen-0a52c5e3# show ip bgp
> BGP table version is 0, local router ID is 10.1.1.10
> Status codes: s suppressed, d damped, h history, * valid, > best, =
> multipath,
>               i internal, r RIB-failure, S Stale, R Removed
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
>    Network          Next Hop            Metric LocPrf Weight Path
> *> 10.1.1.10/32     0.0.0.0                  0          32768 ?
> *> 10.82.196.0/22   0.0.0.0                  0          32768 ?
>
> Displayed  2 out of 2 total prefixes
> oxy-oxygen-0a52c5e3#
> oxy-oxygen-0a52c5e3# show ipv6 bgp
> No BGP prefixes displayed, 0 exist
> oxy-oxygen-0a52c5e3#
>
> #========== quaggga  1.0.20160315  end ===========
>
>
>
>
> #========== quaggga  0.99.20  ===========
> # this version is downloaded from
> http://download.savannah.gnu.org/releases/quagga/quagga-0.99.20.tar.gz
> # and the patches applied from
> https://lists.quagga.net/pipermail/quagga-dev/2011-September/008892.html
> #  redistribute connected works after applying the patch for 0.99.20
>
> 07:57:16 a at oxy-oxygen-0a52c5e4:~$  bgpd -v
> bgpd version 0.99.20
> Copyright 1996-2005 Kunihiro Ishiguro, et al.
> 07:57:18 a at oxy-oxygen-0a52c5e4:~$
>
>
> oxy-oxygen-0a52c5e4# show ip route connected
> Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
>        I - ISIS, B - BGP, > - selected route, * - FIB route
>
> C>* 10.1.1.10/32 is directly connected, lo
> C>* 10.82.196.0/22 is directly connected, eth0
> C>* 127.0.0.0/8 is directly connected, lo
> oxy-oxygen-0a52c5e4#
> oxy-oxygen-0a52c5e4# show ipv6 route  connected
> Codes: K - kernel route, C - connected, S - static, R - RIPng, O - OSPFv3,
>        I - ISIS, B - BGP, * - FIB route.
>
> C>* ::1/128 is directly connected, lo
> C>* 2002::/16 is directly connected, lo
> C>* fe80::/64 is directly connected, eth0
> oxy-oxygen-0a52c5e4#
> oxy-oxygen-0a52c5e4#
> oxy-oxygen-0a52c5e4# configure  terminal
> oxy-oxygen-0a52c5e4(config)#  router bgp  1
> oxy-oxygen-0a52c5e4(config-router)# redistribute connected
> oxy-oxygen-0a52c5e4(config-router)#  address-family ipv6
> oxy-oxygen-0a52c5e4(config-router-af)#  redistribute connected
> oxy-oxygen-0a52c5e4(config-router-af)# end
> oxy-oxygen-0a52c5e4#
>
> oxy-oxygen-0a52c5e4# show ip bgp
> BGP table version is 0, local router ID is 10.1.1.10
> Status codes: s suppressed, d damped, h history, * valid, > best, i -
> internal,
>               r RIB-failure, S Stale, R Removed
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
>    Network          Next Hop            Metric LocPrf Weight Path
> *> 10.1.1.10/32     0.0.0.0                  1         32768 ?
> *> 10.82.196.0/22   0.0.0.0                  1         32768 ?
>
> Total number of prefixes 2
> oxy-oxygen-0a52c5e4#
> oxy-oxygen-0a52c5e4# show ipv6 bgp
> BGP table version is 0, local router ID is 10.1.1.10
> Status codes: s suppressed, d damped, h history, * valid, > best, i -
> internal,
>               r RIB-failure, S Stale, R Removed
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
>    Network          Next Hop            Metric LocPrf Weight Path
> *> 2002::/16        ::                       1         32768 ?
>
> Total number of prefixes 1
> oxy-oxygen-0a52c5e4#
>
> #========== quaggga  0.99.20 end ===========
>
> Thanks,
> Anil
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quagga.net/pipermail/quagga-users/attachments/20160603/b5a48fb0/attachment.html>


More information about the Quagga-users mailing list