a little routing question....

hy

i have 3 wireless netwrok’s,and i like to set the ip range on every network diferent,like:

wlan1 - 192.168.0.0-255
wlan2 - 192.168.1.0-255
wlan3 - 192.168.2.0-255

is i’d possible to route all 3 network like this but not on dhcp??
they all are connected trough a backbone link…


thnx
by

  • Set correct IP address configuration to the wlan interfaces and to ‘backbone’ interface;
  • set default gateway, it should be provided from ‘backbone interface’;
  • add masquerading rule, ‘ip firewall nat add action=masquerade out-interface=backbone_iface_name chain=srcnat’.
    Wireless networks should work then.

sorry i have gave you the wrong configuration…
sorry


i’m not using a backbone,i use a wds mode…
is it posible to add to wds a gateway??

thnx for the info but can you little simple becuose i’m a little bit a newby
or even better how to add nat trough winbox


thnx

  1. yes, it is possible.
  2. Winbox configuration commands are very close to console commands, many different examples and feauture description are given in the documentation, e.g. NAT documentation to enable masquerading:
    http://www.mikrotik.com/docs/ros/2.9/ip/nat

ok i will try then…


thnx
by

but if i set nat i will then only convert the rang 192.168.0.1-255 to 192.168.1.1-255,and i wanna lose this becouse i don’t have any room for 1.1-255 or i missunderstud this??

or i can just convert the single card/wlan1 that is in wds with the another wds and not the hole network??

like 192.168.1.1 behind are the used ip’s of 192.168.1.2-255,and now i can just convert the 192.168.1.1 and not the hole rang of 1.2-1.255 ??

I’m not sure I understand your post.
In case of enabled masquerade ‘ip firewall nat add action=masquerade out-interface=public_interface chain=srcnat’.
IP address of the public interface will be used as SRC-address for remote connections (it will be applied for all local networks).