Answer the question
In order to leave comments, you need to log in
How to connect LAN and WAN on Mikrotik?
There is a Mikrotik. In the first port, the provider's cable, the speaker - eth-WAN
. Connected, ping is coming. On the second port, the DHCP server that issues 192.168.0.0/20 - eth-LAN
. NAT has a rule:
/ip firewall nat add out-interface=eth-LAN action=masquerade chain=srcnat
eth-LAN
Internet appears?
Answer the question
In order to leave comments, you need to log in
So, in order for everything to work, you need:
1. DHCP client is enabled on the External interface, with checkboxes about DNS and Default route
2. On the internal interface, the DHCP server, where Mikrotik is the gateway and DNS server in the network properties, or empty (the client will receive DNS from the provider) , either external (for example, from Google), or Mikrotik itself (in the properties of the DNS server there is a checkbox "allow external connections"
) .
Everything else must be disabled/not configured for everything to work. If firewall rules are added - in the furnace for the duration of the experiment, if routes are added - there, mangle - the same story, and so on.
Do the setup through the Quick setup wizard and don't love your brain.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question