Hello All,
I am trying to advertise the default route to my BGP peers. Router A (ISP) to Router B (University - Non-Juniper) and Router C (WISP - Non-Juniper)
I have been looking at different config from various people on these forums and after a month I cannot seem to get the default-route to advertise to the peers.
The config is faily simple.
I have removed all the default route information from the config and just listed my current running BGP and policy options.
Any help will be greatly appreciated.
Logical Router:
show configuration logical-systems internet protocols bgp
advertise-inactive;
log-updown;
group internal {
type internal;
export next-hop-self;
neighbor X.X.47.254;
}
group internet-peers {
type external;
family inet {
unicast;
multicast;
}
export adv-supernets;
peer-as XXX34;
multipath;
neighbor X.X.46.253 {
description "ISP 1 - 1G";
export AS-prepend-ISP-1;
peer-as XXX81;
}
neighbor X.X.86.173 {
description "ISP 2 - 5G";
peer-as XXX56;
}
neighbor X.X.152.197 {
description "ISP 3 - 2G";
peer-as XXX82;
}
show configuration logical-systems internet policy-options
prefix-list all-supernets {
X.X.224.0/24;
X.X.225.0/24;
X.X.28.0/22;
X.X.32.0/20;
prefix-list external-supernets {
X.X.64.0/24;
X.X.226.0/24;
X.X.227.0/24;
X.X.110.0/24;
X.X.251.0/24;
policy-statement AS-prepend-ISP-1 {
from policy adv-supernets;
then {
as-path-prepend "XXX34 XXX34";
accept;
}
}
policy-statement adv-supernets {
term 10 {
from {
protocol static;
prefix-list-filter all-supernets exact;
}
then accept;
}
term 15 {
from {
protocol bgp;
prefix-list-filter external-supernets exact;
}
then accept;
}
term 20 {
then reject;
}
then {
next-hop self;
}
}
policy-statement redist-default {
from {
protocol static;
route-filter 0.0.0.0/0 exact;
}
then accept;
}
Router
local-address X.X.47.254;
group internal {
type internal;
export next-hop-self;
neighbor X.X.47.253;
}
group external {
type external;
neighbor X.X.45.145 {
description "Peer C";
local-address X.X.45.150;
export adv-supernets;
peer-as XXX98;
}
neighbor X.X.47.172 {
description "Peer A";
local-address X.X.47.174;
export adv-supernets;
peer-as XXX36;
}
neighbor X.X.44.201 {
description "Peer B";
local-address X.X.44.202;
export adv-supernets;
peer-as XXX35;
}
neighbor X.X.47.237 {
description "Peer D";
local-address X.X.47.238;
export adv-supernets;
peer-as XXXX08;
}
show configuration policy-options
prefix-list all-supernets {
X.X.224.0/24;
X.X.225.0/24;
X.X.28.0/22;
X.X.32.0/20;
policy-statement adv-supernets {
term 10 {
from {
protocol static;
prefix-list-filter all-supernets exact;
}
then accept;
}
term 20 {
then reject;
}
}
policy-statement next-hop-self {
then {
next-hop self;
}
}
policy-statement redist-default {
from {
route-filter 0.0.0.0/0 exact;
}
then accept;
}
policy-statement redist-pppoe {
from protocol [ access-internal access ];
then accept;
}
policy-statement redist-static {
from protocol static;
then accept;
}