hi everyone,
I have a BGP tunnel to Azure, but I'm trying to remove the published 0.0.0.0/0 route from the BGP advertisements.. I created a policy-option to remove it, but it's still being published:
policy-statement preprend1 {
term prependterm1 {
from neighbor [ 172.16.5.120 172.16.5.121 ];
then {
preference subtract 10;
accept;
}
}
term removeDefault {
from {
route-filter 0.0.0.0/0 through 0.0.0.0/32;
}
to neighbor [ 172.16.9.228 172.16.9.229 ];
then reject;
}
term send-direct {
from protocol direct;
then accept;
}
}
and on the BGP peer:
group azure {
type external;
multihop {
ttl 50;
}
local-address 172.16.5.1;
export preprend1;
peer-as 65515;
local-as 65050;
neighbor 172.16.83.254;
neighbor 172.16.160.242;
neighbor 172.16.9.228;
neighbor 172.16.9.229;
}
(sorry not sure how to do the correct formatting)
Any ideas why 0.0.0.0/0 is not removed?
------------------------------
Roelf Zomerman
------------------------------