Neil -

Quagga does not support recursive static routes at this point in time.

donald

On Thu, May 12, 2016 at 8:03 AM, Neil Morehouse <[email protected]> wrote:

> I am trying to use zebra to file to configure static routes on an
> unnumbered Ethernet interface.  I am able to do this if I bring up the
> interface and issue the routes using the "ip" commands, but not if I
> attempt the same task with zebra using a zebra.conf file.
>
> zebra.conf file:
>
> !
> ! Zebra configuration file
> !
> hostname U110
> password zebra
> enable password zebra
> !
> log file /var/log/zebra.log debugging
> log timestamp precision 6
> !
> !
>
> interface eth1
>   no shutdown
>   description ip unnumbered primary wan interface
>
> interface lo
>   no shutdown
>   ip address 10.0.0.1/32
>   description ip address used for routing through ip unnumbered wan
> interface
>
> ip route 10.0.0.2/32 eth1
> ip route 0.0.0.0/0 10.0.0.2
> ip route 8.8.8.8/32 10.0.0.2
>
>
> line vty
>   no login
>
> *************
> routing table when displayed using the sho ip ro command from the vty
> zebra telnet session:
> *************
> Hello, this is Quagga (version 1.0.20160315).
> Copyright 1996-2005 Kunihiro Ishiguro, et al.
>
> U110> sho ip ro
> 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
>
> S   0.0.0.0/0 [1/0] via 10.0.0.2 inactive
> S   8.8.8.8/32 [1/0] via 10.0.0.2 inactive
> C>* 10.0.0.1/32 is directly connected, lo
> S>* 10.0.0.2/32 [1/0] is directly connected, eth1
> C>* 127.0.0.0/8 is directly connected, lo
> U110>
>
>
> As you can see in the above display the 8.8.8.8/32 route and the 0.0.0.0/0 
> default
> route don't have the '*' character next to the route and the route is
> considered inactive.  If I attempt to send any ping packets to the 8.8.8.8
> address I get a "connect: Network is unreachable" message.
>
> If I attempt to setup the same static routes using the following "ip"
> commands native to linux it all works.
>
>
> ip address add 10.0.0.1/32 dev lo
> ip link set dev eth1 up
> ip route add
> ip route add 10.0.0.2 dev eth1
> ip route add default via 10.0.0.2
>
> ************************
> "ip route list" display
> ************************
> default via 10.0.0.2 dev eth1
> 10.0.0.2 dev eth1  scope link
>
>
> I have searched through the quagga dev forums and found many mentions of
> unnumbered interfaces used within OSPF, but none associated with static
> routes.  Am I doing something wrong in the config, or is this not supported
> in quagga/zebra?
>
>
>
> _______________________________________________
> 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

Reply via email to