Hi,
I've got a problem in a specific setup, with VyOS 1.1.7, where zebra doesn't push properly the default gateway into linux routing table (check the following picture for further information).
I've reproduced the bug while building a virtual VyOS instance on a dedicated proxmox box, with a bridged public network interface.
The host machine has an IP address in a /24 subnet. My hosting provider gives me public IPv4 addresses outside this /24 subnet to use on my virtual machines. Thus, the baseline network configuration on my VyOS instance looks as follow:
interfaces { ethernet eth0 { address <vm_ipv4>/32 description "WAN Interface" } } protocols { static { interface-route <host_subnet_ipv4>/24 { next-hop-interface eth0 { } } route 0.0.0.0/0 { next-hop <host_default_gateway> { } } } }
Zebra recognises in its table this is a recursive route, but doesn't report properly the default gateway to the linux routing table.
So far, I've fixed the issue by manually setting up the default route as follow:
echo "/sbin/route add -net 0.0.0.0/0 gw your_gateway" > /opt/vyatta/etc/config/scripts/vyatta-postconfig-bootup.script