[quagga-users 14490] Re: Redistribute into OSPFD from routing table 220

Donald Sharp <[email protected]>
Newsgroups gmane.network.quagga.user
Message-ID <CAK989ycKTxCnWSaO3QNmMsRkmxi8+v+A5do0Ec1E_VAkdp0vPw@mail.gmail.com>
Here's how I do it:

ip import-table 220
router bgp X
  redistribute table 220

root@dell-s6000-02 ~/q/zebra# ip route show table 220
4.3.2.0/24 dev eth0  scope link
4.3.3.0/24 dev eth0  scope link
4.3.4.0/24 dev eth0  scope link
root@dell-s6000-02 ~/q/zebra#

root@dell-s6000-02 ~/q/zebra# vtysh

Hello, this is Quagga (version 0.99.24+cl3eau5).
Copyright 1996-2005 Kunihiro Ishiguro, et al.

dell-s6000-02# show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, P - PIM, T - Table, v - VNC,
       V - VPN,
       > - selected route, * - FIB route

K>* 0.0.0.0/0 via 10.0.0.1, eth0
T[220]>* 4.3.2.0/24 [15/0] is directly connected, eth0, 00:02:00
T[220]>* 4.3.3.0/24 [15/0] is directly connected, eth0, 00:02:00
T[220]>* 4.3.4.0/24 [15/0] is directly connected, eth0, 00:02:00
B>* 6.0.0.5/32 [20/0] via 169.254.0.9, swp31s0, 12:03:33

dell-s6000-02# show ip bgp
BGP table version is 17, local router ID is 6.0.0.11
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
*> 4.3.2.0/24       0.0.0.0                  0          32768 ?
*> 4.3.3.0/24       0.0.0.0                  0          32768 ?
*> 4.3.4.0/24       0.0.0.0                  0          32768 ?
*> 6.0.0.5/32       169.254.0.9              0              0 65101 ?

donald

On Thu, Nov 3, 2016 at 3:35 AM, Vincent Jardin <[email protected]> wrote:
> I think the best option is for you to propose a patch so Strongswan provides
> à route to zeba daemon  (like BGP, OSPF, etc.) over the zapi.
>
> Then you could do a "redistribute ike-routes" for instance into ospfd
>
>
>
>
> _______________________________________________
> Quagga-users mailing list
> [email protected]
> https://lists.quagga.net/mailman/listinfo/quagga-users

_______________________________________________
Quagga-users mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.