Way to Internet via EoIP is broken for MTU issue?
Posted: Fri Jul 07, 2017 10:15 am
Frankly I'm still sure it is my own misunderstanding of MTU along the path, but looks like I need some magic spell to fix it, so I decided to ask:
I have two MT routers in different locations (no direct link between, only via WAN), and we migrate from one location to another. We'd like to keep the same LAN addresses in new location, too. The idea was to create virtual L2 link between routers so we can share the same LAN subnet in both LANs, then move devices from one location to another one by one.
So I set up EoIP link between these routers (for simplicity let's say there is no IPSec, just a EoIP as pure L2 link). As indented, I added these eoip-tunnel's to bridges on both router (LAN IPs are on these bridges, and in both locations we use the IPs from the same LAN subnets), after that hosts behind first router were able to see second router and hosts behind it (at least pings went ok).
But when I try to set up default gateway for host at first location to IP of the router at second location (so default gateway become behind of eoip tunnel) it won't work. I try to set mangle rule for eoip tunnel to change MTU but got error that I have to set up that rule on master interface which is bridge, which is not what I want.
MTU of WAN link is 1500, MTU of eoip tunnel is 1458. Where should I add the rule to fix the issue?
I have two MT routers in different locations (no direct link between, only via WAN), and we migrate from one location to another. We'd like to keep the same LAN addresses in new location, too. The idea was to create virtual L2 link between routers so we can share the same LAN subnet in both LANs, then move devices from one location to another one by one.
So I set up EoIP link between these routers (for simplicity let's say there is no IPSec, just a EoIP as pure L2 link). As indented, I added these eoip-tunnel's to bridges on both router (LAN IPs are on these bridges, and in both locations we use the IPs from the same LAN subnets), after that hosts behind first router were able to see second router and hosts behind it (at least pings went ok).
But when I try to set up default gateway for host at first location to IP of the router at second location (so default gateway become behind of eoip tunnel) it won't work. I try to set mangle rule for eoip tunnel to change MTU but got error that I have to set up that rule on master interface which is bridge, which is not what I want.
MTU of WAN link is 1500, MTU of eoip tunnel is 1458. Where should I add the rule to fix the issue?