06-03-2023 11:46 PM - edited 06-03-2023 11:47 PM
Hi Dears,
We have remote branch connected to HQ via MPLS and IPSEC-GRE tunnel is configured on cisco routers on both ends. Both branches have separate DIAS internet links. Now I am looking to let one vlan subnet from HQ to use internet from remote branch internet connection, and stop this vlan to use local HQ internet connection.
Solved! Go to Solution.
06-08-2023 03:53 AM
Unfortunately, without "seeing" all the configurations, including the static route you added, cannot suggest why it doesn't work.
Have you tried something like a traceroute from the special HQ VLAN to the special web site to "see" the path being used?
06-08-2023 07:15 AM - last edited on 06-20-2023 02:25 AM by Translator
Yes i did tracrt from source machine, its reaching gateway and just dropping there, however from gateway which is firewll it should go to ipsec router.
i am copying static routes and tunnel config which we have currently.
ip nat inside source list 10 interface Vlan300 overload
ip route 0.0.0.0 0.0.0.0 x.x.x.x --> public internet IP of HQ
ip route x.x.x.x 255.255.255.252 y.y.y.y (x is mpls ip of remote branch and y is mpls IP of HQ)
IPSEC Tunnel:
interface Tunnel400
ip address 172.16.80.12 255.255.255.0
no ip redirects
ip mtu 1440
ip nhrp authentication xxxxxx
ip nhrp map multicast dynamic
ip nhrp network-id 400
ip tcp adjust-mss 1360
ip ospf network broadcast
ip ospf priority 255
keepalive 3 3
tunnel source Vlan400
tunnel mode gre multipoint
tunnel key 400
tunnel protection ipsec profile MAT-PRO
06-08-2023 01:30 PM - last edited on 06-20-2023 02:27 AM by Translator
". . . its reaching gateway and just dropping there, however from gateway which is firewll . . ."
FW will allow traceroute replies?
As to your route statement, where you want it to go, from HQ's IPSec router, is to the inside interface of the branch Internet router. Basically, once it gets to the branch, you want it to follow branch's default to the Internet. When traffic returns to the branch, you want it to come back to the HQ.
What's also important, is how the branch is configured with routing and branch FW rules. Keep in mind, the HQ traffic we're directing to the Internet, via the branch, branch setup may not be configured to support it.
Again, conceptionally, this should work, but much depends on your overall configurations.
Basically, what I've suggested is a subset of what the others were suggesting, i.e. redirecting HQ special subnet
default route
to the branch. That too could work, but since you noted it's only one web site, couldn't see why you should need to send all that special HQ VLAN's Internet traffic via the branch.
06-11-2023 12:02 AM - last edited on 06-20-2023 02:28 AM by Translator
Hi Dear,
We can config one subnet of HQ to route to Remote branch, in my case lets say its its
10.12.101.0/24
and i am making
default route
for this subnet.
06-11-2023 04:01 AM
What you've just described, I believe, is source routing which normally might be done using PBR.
Could PBR work? I believe it can, but I also believe just redirecting for the one web address is a "better" approach.
06-11-2023 04:50 AM
I did not try PBR yet, but i configured one static route in HQ MPLS router to route traffic to branch mpls router, and one static route in branch mpls router to route traffic to branch firewall, after that when i do tracert from HQ PC, traffic goes from HQ to Branch MPLS router and from there to Branch Firewall and then Branch internet router which is good as it should be like this, but problem now is it i getting dropped at branch internet router, however it should go to the internet via ISP which is directly connected to that internet router.
06-11-2023 04:33 PM
What you describe, sounds fine from an outbound routing perspective, but since the branch Internet router does NAT for the branch, could the source IP be unknown for return traffic, either on the NAT router or getting back to HQ?
06-11-2023 10:06 PM
it would be helpful if you could show the network topology
06-08-2023 04:45 PM
if it drops at the firewall, then make sure the fw allows this subnet to go out to the internet
06-04-2023 11:24 PM - last edited on 06-20-2023 02:29 AM by Translator
set the
default route
for that subnet to the interface or ip pointing to the remote branch, then use pbr to fine tune
06-08-2023 08:29 AM - edited 06-11-2023 12:22 AM
..
06-12-2023 06:51 AM
I did NAT at branch internet router and it worked, thanks everyone for all of your inputs.
06-12-2023 07:30 AM
In an earlier reply, to me, you already noted you were doing NAT on your branch Internet router. So, some NAT configuration change? Is so, could you describe the change?
06-12-2023 07:47 AM
I had to add new entry of source address for this traffic into NAT acl
06-12-2023 10:21 AM - last edited on 06-20-2023 02:32 AM by Translator
Okay, so to confirm, you just routed, from HQ, the one
problematic
web IP via the branch and updated the branch FW to allow the
special
HQ network, correct? (I ask, because it's always good to know whether suggestions made actually worked - also bolsters confidence same suggestions might be good to offer to other in the future.)
BTW, regardless the actual work around approach which got your problem resolved, I would suggest still trying to determine why the one web site doesn't work from HQ. Once you know the actual cause, you might then be able actually correct the issue or use even a better mitigation approach. Even if you cannot resolve the actual issue or find a better approach, knowing the actual root cause of the issue may avoid bumping into the same issue in the future.
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