Good day. I am new to Mikrotik, but through the online manuals and reading through the forums, have gone from knowing nothing to having 95% of my network competed.
I am building a unified multi-AP network, where each AP is broadcasting 3 SSID’s. depending on which SSID you associate with, you get assigned to a different IP range, and all 3 IP ranges are firewalled apart from each other.. That portion, including 3 DHCP servers, DHCP relaying, multiple VLANs, and bridging between wired and wireless networks, is all working great.
The second part of my network is connecting the main router (a RB 493AH) to the ISP’s cable modem. From inside the router (ping, trace route, SNTP client), I can access the Internet just fine. However, from any of the 3 internal networks, I cannot access the Internet.
Do you have any ideas of things I might have overlooked? If you have any questions, or need clarification, I’ll be happy to provide more specifics.
check your masquerade rule, if that masks all your internal networks. Check if you have routes to your 3 subnets on your main router, so that your internal routers know where other networks reside.
Yes, I have routes set up to all three internal networks. The internal functionality of the network has tested correctly (i.e. data passes where it should, and is blocked where it shouldn’t go). The last function that I can’t get to work is getting each of these to talk to the internet.
Masquerading (and NAT, in general) is the area that I understand the least. Here are the 3 NAT rules:
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=masquerade src-address=192.168.1.0/24
out-interface=eth1 GW
Previously, I had the action=accept, but it appears that action=masquerade is what I need? Are there other parameters in the NAT functionality that I need to set?
Thank you for your suggestion. I appreciate the help greatly!
Setting action=masquerade fixed the problem! I figured it was probably something simple that I had set wrong, and it was. Thanks for pointing me in the right direction!