The company are migrating each region network into a MPLS cloud. Each region has their own
subnets to take care and they manage their own internet gateway. The internet access for each region is
serve by the region office internet gateway.
How can I advertise my own default gateway(internet access traffic gateway) only to those subnets I specify?
Is there a way I can tell a selected subnet (like 10.226.1.0/24) that if the traffic is bound for internet
go to say region office(subnet 10.224.1.0/24) internet gateway(10.224.1.1) via the BGP router(10.224.1.254) that
is pointing to the MPLS cloud.
BGP router 10.224.1.254
router bgp 66666
network 10.224.1.0 mask 255.255.255.0
network 0.0.0.0 mask 0.0.0.0
neighbor 126.96.36.199 remote-as 12345
ip route 0.0.0.0 0.0.0.0 10.224.1.1
What else do I need to add to advertise the default gateway if I only want to advertise the default route to
say 10.226.1.0/24 only?Please advise.