Community discussions

MikroTik App
 
0x6d61726b
just joined
Topic Author
Posts: 2
Joined: Thu Oct 28, 2021 7:01 pm

Forward traffic from multiple dhcp client ports to destination hosts

Tue Dec 12, 2023 8:10 pm

Hello all,

I am wondering if the following scenario on CRS switches is possible:

ETH1 --> DHCP Client #1 (e.g. 192.168.178.101) --> forward all trafic destined to IP address of DHCP Client to 192.168.88.2 --> ETH16 (host 192.168.88.2)
ETH2 --> DHCP Client #2 (e.g. 192.168.178.101) --> forward all trafic destined to IP address of DHCP Client to 192.168.88.3 --> ETH17 (host 192.168.88.3)
ETH3 --> DHCP Client #3 (e.g. 192.168.88.3) --> forward all trafic destined to IP address of DHCP Client to 192.168.88.4 --> ETH18 (host 192.168.88.4)
...

The devices that are connected to ETH1/2/3 assign an arbitrary IP address requested by the DHCP Clients #1/2/3 which may be identical in worst case scenario or have identical/overlapping subnets.

The traffic that is received on ETH1/2/3 which is addressed to the IP address assigned to the related DHCP Client shall be forwarded to a fixed destination IP address (on bridged ETH16/17/18... ports) and the response shall be send back in reverse.

Is this possible and how can this be configured?
(the DHCP Client part is easy, but the traffic forwarding troubles me; a simple dst-nat rule did not yet work)

Who is online

Users browsing this forum: No registered users and 7 guests