action=dst-nat NOT working
Posted: Sun Sep 25, 2011 9:17 pm
Hi,
I'm using MT 5.7 on 711-5Hn-MMCX.
1. /system reset-configuration
2. On startup: Remove (default) configuration.
3. Add bridge1 with ports: ether1, wlan1 and IP address on bridge1 interface.
4. /interface bridge nat add chain=dstnat action=dst-nat to-dst-mac-address=MAC2 src-mac-address=MAC1/ff:ff:ff:ff:ff:ff
5. Monitor on MAC2 with tcpdump
6. Ping a host behind this MT.
I want all traffic from MAC1 to any host behind the MT to be redirected to MAC2. Instead it is dropped. No traffic arrives at MAC1. It's not an ARP problem - ping is lost right after adding the rule.
That's the simplest rule of dst-nat and I guess it's just a bug. Correct me.
I'm using MT 5.7 on 711-5Hn-MMCX.
1. /system reset-configuration
2. On startup: Remove (default) configuration.
3. Add bridge1 with ports: ether1, wlan1 and IP address on bridge1 interface.
4. /interface bridge nat add chain=dstnat action=dst-nat to-dst-mac-address=MAC2 src-mac-address=MAC1/ff:ff:ff:ff:ff:ff
5. Monitor on MAC2 with tcpdump
6. Ping a host behind this MT.
I want all traffic from MAC1 to any host behind the MT to be redirected to MAC2. Instead it is dropped. No traffic arrives at MAC1. It's not an ARP problem - ping is lost right after adding the rule.
That's the simplest rule of dst-nat and I guess it's just a bug. Correct me.