05-28-2024 06:34 AM
Hello guys, below is my topology,
I have added internet fw and introduced ISP on site B.
Before site B resources/ servers would go via mpls to site a to access internet.
I introduced the above to make each site use its own isp respectively.
I ran to challenges, site b resources were not able to get to their isp/internet, until i introduced " ip route 0.0.0.0/0 sitebinternetfw interface. --> which works but causes some issues.
is there a way, to manipulate just internet traffic for site b resources without introducing static entries? and not affecting site a and b from communicating with each other?
Solved! Go to Solution.
06-11-2024 01:28 AM - edited 06-11-2024 01:29 AM
Filter we have in your case
1- redis staitc into ospf using route-map
2- redis ospf into bgp using
A- route-map
B- using match and specify in or ex1 or ex2 or mix
3- using bgp route-map OUT
These three filter can be use in your case.
MHM
05-28-2024 07:22 AM
Hello @fmugambi ,
if you run OSPF between site A and site B over MPLS ensure that each site prefix(es) are advertised over it for example 192.168.50.0/24 site B and 192.168.40.0/24 Site A.
Most specific routes are used first.
In addition you may need to avoid to inject a default route in OSPF from Site A to Site B that is probably in place for the previous setup to make Site B able to use Site A Internet handoff.
Hope to help
Giuseppe
05-29-2024 01:25 AM
so bgp at 1941s, has route maps out, for downstream serverfirm subnet.and redistribution of ospfs' respective of the site.
Site A has some static routing, but on site A core sw ospf redistributes static routes.
so issues begin here, for example when you check for a route on site b, the route is not known, until you introduce a static route on 1941 of site b..-> since the bgp redistributes static as well, then the route now is known by site b 1941, which advertises it downstream , and servers in site b can reach the subnet now on site A and vice versa.
on site A, there a re quite number of ipsec tunnels, which have static entires on site A core sw. so you find these entries are not known in site b, so traffic from site b flows via mpls to core in site a then this core knows these guys needs to be routed via vpn.--. connectivity is ok.
question, where is this behaviour on the 1941s?
now when i want to introduce isp specific access to each site, the easiet way i went about it was, introducing the 0.0.0.0/0 to ciscoasa fw on site b.--> site b resources now get their internet access via their site b isp. my problem comes, when vpn clients are not able to reach site b resources, since now rem, since the vpn client routes are not known on the site b side, they fall under default category and forwarded to site b asa fw which does not know the route back to vpn clients.
a workaround would have all vpn static routed on site a core , on site a 1941 mpls edge router as well with core sw sita a as destination..-which would then be distributed by bgp across the sites, making 1941 mpls edge router on site a knowing about these routes, distributing them downstream to site b resources..,then these vpn clients routes would no longer fall under "default-route" and vpn clients would manage to access the site b resources.., problem is re-introduction of lots of static routing, which i wish to avoid/reduce.
Any insights here?
1. how to sort vpn learnt static routes be advertised to site b without introducing static routes at 1941 site mpls edge router?
2. is it possible as the setup is, make site b resources uses site b isp, without introducing default route at site be core sw?
Thanks.
05-28-2024 10:08 AM
Staitc route will work but issue' which issue?
I will check this in lab and update you but I need to know both sites have defualt route or one side have defualt route? Are both site must use internet via one site or both site and ypu need failover ?
MHM
05-29-2024 12:10 AM
am sharing the full issues in a few, with a well full diagram.
05-29-2024 01:01 AM
so bgp at 1941s, has route maps out, for downstream serverfirm subnet.and redistribution of ospfs' respective of the site.
Site A has some static routing, but on site A core sw ospf redistributes static routes.
so issues begin here, for example when you check for a route on site b, the route is not known, until you introduce a static route on 1941 of site b..-> since the bgp redistributes static as well, then the route now is known by site b 1941, which advertises it downstream , and servers in site b can reach the subnet now on site A and vice versa.
on site A, there a re quite number of ipsec tunnels, which have static entires on site A core sw. so you find these entries are not known in site b, so traffic from site b flows via mpls to core in site a then this core knows these guys needs to be routed via vpn.--. connectivity is ok.
question, where is this behaviour on the 1941s?
now when i want to introduce isp specific access to each site, the easiet way i went about it was, introducing the 0.0.0.0/0 to ciscoasa fw on site b.--> site b resources now get their internet access via their site b isp. my problem comes, when vpn clients are not able to reach site b resources, since now rem, since the vpn client routes are not known on the site b side, they fall under default category and forwarded to site b asa fw which does not know the route back to vpn clients.
a workaround would have all vpn static routed on site a core , on site a 1941 mpls edge router as well with core sw sita a as destination..-which would then be distributed by bgp across the sites, making 1941 mpls edge router on site a knowing about these routes, distributing them downstream to site b resources..,then these vpn clients routes would no longer fall under "default-route" and vpn clients would manage to access the site b resources.., problem is re-introduction of lots of static routing, which i wish to avoid/reduce.
Any insights here?
1. how to sort vpn learnt static routes be advertised to site b without introducing static routes at 1941 site mpls edge router?
2. is it possible as the setup is, make site b resources uses site b isp, without introducing default route at site be core sw?
Thanks.
05-29-2024 01:29 AM
one command add it in both site under OSPF
capability vrf-lite
MHM
05-29-2024 01:58 AM
high-level what does this do?
Also note am not doing any vrf on my network.
05-29-2024 02:00 AM
With and without vrf'
Since you use mpls bgp between two site you need this command.
The ospf in one site not redistrubte prefix learn via bgp of other site that make issue.
So run command and check
MHM
05-29-2024 02:17 AM
question, am i running it everywhere where there is ospf, or just on the 1941 mpls edge router and core switches ?
05-29-2024 02:32 AM
Only in 1941 where you redistribute bgp into oapf
05-30-2024 04:41 AM
what do you think about this?
If you are not able to advertise a route to your BGP neighbor that you have learned from downstream (e.g., via OSPF), it's likely a next-hop reachability issue. You need to ensure that the next hop for the routes being advertised is reachable by your BGP neighbor. To address this, you should set the next hop in the outbound direction (routes-out) so that the neighbor can properly route traffic to the downstream networks.
When redistributing OSPF routes into BGP and advertising them to your BGP neighbor, you should modify the next hop attribute to ensure it is reachable by the neighbor. This is typically done using a route map applied to the outbound BGP updates.
05-30-2024 04:12 AM
question, does it mean , after introducing the static routes, the mpls edge routers know the route cause now bgp local db can reach the next hop? is there a limitation on ospf redistribution, such that bgp on mpls edge does not know downstream network?
what happens if one sets up next hop configuration?
your thoughts?
i got those recommendation once i asked for approval to introdice " capability vrf-lite"
since am working on prod net.
05-30-2024 04:44 AM - edited 05-30-2024 04:46 AM
OSPF20-BGP-OSPF30
can you share the
show ip ospf database external <<- in both 1941 to make sure that this issue for vrf-alite or the reachability issue
also
show ip bgp
MHM
05-30-2024 05:06 AM
what should i look out for? there is alot of output
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide