Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15394

General • Re: Routing over subnet split (port based DHCP workaround)

$
0
0
Thanks a lot for the feedback @mkx.

I tried proxy-arp, but could not get it to work. I gave your second suggestion a spin and got it to work:
- I changed the /30 subnets to use unique addresses outside of the 172.16.0.0/24 network
- I multihomed eth2 by assigning 5 additional ip addresses (172.16.0.10, 172.16.0.11, ...)*
- I created a dstnat rule for each of these ip addresses to the assigned dock address (172.16.0.10 -> 172.16.x.101, 172.16.0.11 -> 172.16.x.105, ..)
- I created srcnat rules in opposite direction

*Alternatively I could have created nat rules from 172.16.0.2, but the testing application requires different IP addresses, not different ports.

The result is that the ip address in the 172.16.0.0/24 network can be used as if it is the device connected to the dock, completely hiding the intermediate DHCP subnet.

Statistics: Posted by vwout — Sat Feb 03, 2024 10:20 pm



Viewing all articles
Browse latest Browse all 15394

Trending Articles