ether1 forward to an specific ipadress

Hello to all,

at first: “sorry for bad english, i´m from germany.”

now i work with Mikrotik Router OS V3.22 on RB333.

Ether 1 is currently not in use.
There i will plug in a router with an ip adress, all requests, which arrive ether1 via cable should be forwarding to an specific adresspool.

Who can explain, where i forward all requests from ether 1 to an ipadress in the same subnet where works the mikrotik rb333 router.

Thanks for all struggling! :slight_smile:

thus, the mikrotik router has the ip: 10.0.0.x, all request, which came over ether1 should be forwarding to 10.0.0.x

on ether 1 is hanging another router, which must be managed from another place.

Greetz,
bmwdrivermunich

As soon as you add IP address to the interface ether1,

[admin@MikroTik] /ip address> print 
Flags: X - disabled, I - invalid, D - dynamic 
 #   ADDRESS            NETWORK         BROADCAST       INTERFACE              
 0   ;;; default configuration
     192.168.88.1/24    192.168.88.0    192.168.88.255  ether1

The particular dynamic route is added,

[admin@MikroTik] /ip route> print 
Flags: X - disabled, A - active, D - dynamic, 
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, 
B - blackhole, U - unreachable, P - prohibit 
 #      DST-ADDRESS        PREF-SRC        GATEWAY            DISTANCE
 2 ADC  192.168.88.0/24    192.168.88.1    ether1             0

I have a similar question:

Eth1 is 10.0.254.160/24

Eth2 is 192.168.1.2/24

There will be devices with IP 192.168.1.1 and .20 plugged in @ Eth2

I want to connect to this devices but they only have the ip in 192.168.1.0/24 net - no gateway (standard configuration)

Using netmap in src and dst nat i made it possible that i can send packets to the devices, but obviously without any gateway it can’t answer me.

Any ideas about a soultion? I think of an way of manipulate the src ip, so that my reqeust will reach the devices with a src ip e.g. 192.168.1.3

Masquerade the source IPs to the router interface.

/ip firewall nat
add chain=src-nat src-address=10.0.254.160/24 out-interface=eth2 action=masquerade