Hi all,
I’ve come a long way since my last question in this forum. While I’m still on the beginning of the learning curve, I start linking MT more and more.
However, I am stuck in what I believe is a configuration or even misconception of how some things are done in the MT world. I read several other threads referring to GRE tunnels or NAT-ing issues, but I believe my issue is somewhat different here as you will see.
I have a MT router (replacement of an old Cisco) that allows a local LAN to access the Internet (let’s say, “normal home use” to keep things simple), while it also has a VPN to another site. The endpoint there is still a Cisco router. So up until now, we had a cisco-cisco GRE/IPSEC tunnel, now we have a MT-Cisco GRE/IPSEC established over the Internet.
the MT LAN is 172.20.0.0/16, and the Cisco-side LAN is 172.16.0.0/16.
On the MT, IPsec is configured correctly, Phase 1 and 2 come up properly, SA’s are created, all good. Same results on the Cisco side, I see the phases 1 and 2 coming up as they should.
Next, the GRE tunnel needs to be established. I created a “gre-tunnel”-type interface on the MT, specified the WAN address as source and the Cisco’s WAN address as destination. Then, I created an L3 interface linked to the gre-tunnel, and gave it 172.30.1.2/24 (the remote end has 172.30.1.1/24). (Yeah I know, it is silly to use a /24 for P2P connections, but there was a plan to do a meshed VPN a couple years ago, but it never came…)
Anyway, the gre-tunnel interface comes UP on the MT, and on the Cisco I also see the interface TUNNEL to come up (status UP/UP). So definitely, the GRE is up, both sides confirm that.
Now, the strange thing is that I can’t ping the the remote address of that GRE tunnel from either side while the local interface responds:
- from MT, I can ping my own address 172.30.2.2 but cannot ping the Cisco side 172.30.1.1
- from Cisco, I can ping my own address 172.30.1.1 but cannot ping the MT side 172.30.1.2
The plan is of course to put some fancy routing over that link, but I need to fix this before going anywhere else.
The fact that the GRE tunnel is UP but I can’t ping the other side of the tunnel rules out any possible routing problem, since this is seen a directly attached link with a distance of 1.
I can also rule out any config issue on the remote Cisco, since no changes have been done there since the local cisco was replaced by the MT. (and of course it worked perfectly before)
I make an educated guess that the issue might be related to NAT on the MT side as it is done quite differently than on cisco IOS.
For the moment, I have a simple mascarade rule so that LAN clients can access the Internet.
I think what I need to do is to add a rule that bypasses NAT for any packet with DST_IP=172.30.1.0/24. Is that correct? However, in that case I don’t understand why I can ping the LOCAL side of the tunnel, though. And it doesn’t make sense as routing decisions are done before srcnat according to the doc I read.
Do you have some tips or background information that could help me?
thanks!
Denis