These are chat archives for Exa-Networks/exabgp

27th
Apr 2016
Patrick Cherry
@patch0
Apr 27 2016 13:25
Hi everyone
Thomas Mangin
@thomas-mangin
Apr 27 2016 13:25
Hi
Patrick Cherry
@patch0
Apr 27 2016 13:25
Just trying to get exabgp to advertise a few static routes..
nothing fancy :)
but the router doesn't appear to be receiving them
I've a layout like
group xyz {
neighbor 1.2.4.1 {
local-address 2.3.4.5;
}
static {
route 1.2.3.4/32 next hop 2.3.4.5;
}
}
should that be enough to get exabgp to announce the static routes
there's are local-as and peer-as in the group setting too.
Patrick Cherry
@patch0
Apr 27 2016 13:31
the full config is like:
group peers {
        local-as      65005;
        peer-as       65000;
        router-id     1.2.3.46;
        hold-time     60;
        graceful-restart 120;
        group-updates;
        route-refresh true;

        family {
                ipv4 unicast;
                ipv6 unicast;
        }

        neighbor 1.2.3.45 {
                local-address 1.2.3.46;
        }

        neighbor 2001:dead:0:18::1 {
                local-address 2001:dead:0:18::2;

        }
        static {
                route 1.2.3.24/32 next-hop 1.2.3.46;
                route 2001:dead:beef::1/128 next-hop 2001:dead:0:18::2;
        }
}
The debug output from exabgp gives little away about the static routes it is sending.
I feel I must be missing something obvious!
Patrick Cherry
@patch0
Apr 27 2016 13:39
actually scratch that.
it seems to be working fine now :)
phew, call off the dogs etc.
patch0 @patch0 beats a hasty retreat
Thomas Mangin
@thomas-mangin
Apr 27 2016 15:19
The static block must be before the peers
The parser is progressive
So if you put routes between the peers, only the IPv6 peer will see them ..
And yes, it is a border effect and not really by design, hence why the format will fully change for 4.0