Hi!
I tried today to use ip-binding nat translation feature, without success.
In my scenario I have a 411AR, with 10.0.0.2 on ether1 and hotspot with default configuration on wlan1 (IP: 10.5.50.1).
The hotspot works well, and traffic is correctly nated and routed to default gw (10.0.0.1).
I have a client with a static DHCP lease for IP 10.5.50.3
I add an ip-binding like this:
/ip hotspot ip-binding add mac-address=xx:xx:xx:xx:xx:xx type=bypassed
and the client correctly bypass authentication.
Now i want that this client become reacheable from 10.0.0.0 network as 10.0.0.3
I tried like this and it works:
/ip address add interface=ether1 address=10.0.0.3/24
/ip firewall nat add chain=srcnat src-address=10.5.50.3 action=src-nat to-addresses=10.0.0.3
/ip firewall nat add chain=dstnat dst-address=10.0.0.3 action=dst-nat to-addresses=10.5.50.3
/ip firewall nat add chain=srcnat src-address=10.5.50.4-10.5.50.254 action=src-nat to-addresses=10.0.0.2
But I’d like to do this by a single ip-binding entry, like this:
/ip hotspot ip-binding add mac-address=xx:xx:xx:xx:xx:xx address=10.0.0.3 to-address=10.5.50.3 type=bypassed
From manual it’s not clear what this settings produce.
It seems it doesn’t add dynamic NAT rules, so how it’s supposed to work?