Hello BGP is able to run in a vrf using a specific table? I have this config (snippet) protocol bgp bgp_private { vrf "vrf-private"; ipv4 { igp table vrf_private; #export where proto = "adv_my_private"; #export filter { if net ~[ 10.1.10.0/24+ ] then accept; reject;} ; #import all; export all; next hop self; }; debug { states, routes, filters, interfaces, events, packets }; local as 64418; neighbor a.b.c.d as 64418; direct; } It seems to advertise routes from master4 (global), instead of vrf_private; I see this in tcpdump at ' Updated routes:' field
Ticlea Alexandru <ticlea_alexandru@yahoo.com> writes:
Hello
BGP is able to run in a vrf using a specific table?
I have this config (snippet)
protocol bgp bgp_private { vrf "vrf-private"; ipv4 { igp table vrf_private; #export where proto = "adv_my_private"; #export filter { if net ~[ 10.1.10.0/24+ ] then accept; reject;} ; #import all; export all; next hop self; }; debug { states, routes, filters, interfaces, events, packets };
local as 64418; neighbor a.b.c.d as 64418; direct;
}
It seems to advertise routes from master4 (global), instead of vrf_private; I see this in tcpdump at ' Updated routes:' field
You need to also specify the table number in the 'kernel' protocol configuration. -Toke
participants (2)
-
Ticlea Alexandru -
Toke Høiland-Jørgensen