I am trying to learn the MikroTik router and to do so I thought I’d configure it on my home network; an ORCON (New Zealand) network using VLan10 Tagging with a DHCP server (not pppoe).
I’m trying to achieve Ethernet 1 with a VLAN10 tagging with DHCP so I can connect to my ISP. The rest of the ports to have boring old internet.
I have attempted the following with the router configured at its base as Home AP (router):
Add a VLAN on Ethernet 1
Set up DHCP Client on the New VLAN
Chain: SRCNAT, Out Interface (VLAN10), Action, Masquerade
The first issue I have is when I set the DHCP client on the VLAN; the Ethernet 1 seems to go into ‘Static IP’. When I apply a DHCP client to both Ethernet 1 and VLAN10 I have the problem of Ethernet 1 stuck on ‘searching’ and VLAN10 stuck on ‘Requesting’.
I’d love some help understanding what exactly I am doing wrong. I’d also love any information on how I should best set up a firewall; however I’d really love to get the internet running through the device so I can export the settings before drilling down (read learning and screwing up) the security.
I have to be able to revert it so my wife doesn’t assault me with the router for not having internet over long periods of time ..
I put the VLAN on ether10 since it’s 10/100 port, leaving the gigabit ports for your LAN use. If your ISP speeds are > 100Mbps, then use a Gb port.
I switched together the gigabit ports and the 10/100 ports using the switch chips and then put the two master ports into a bridge for the LAN. This allows you to take advantage of the switch chips for full wire-speeds on the LAN.
I didn’t configure your WiFi interface to make it an AP.
The router is NOT protected from attack on the Internet. There are no firewall rules on the Input chain to prevent it. Password protect with a strong password it will be attacked, usually, within 15 minutes of putting it on the public Internet.
I whipped this up from memory and didn’t test the above configuration – YMMV.
Hopefully the simple config will allow you to see that something works and then you can build from there or go back to the “Home AP” config and then change to use a VLAN.
Thank you; this is a great basis for my configuration in future. Unfortunately I’m stuck with the same issue; the DHCP-Client stuck on requesting. At this point I’m starting to think my Fiber provider is doing something to the network that I simply can’t figure out …