I really need some help implementing a very basic VLAN setup with my Mikrotik hardware, just to have a starting point for own customizations.
My problem: Clients, connected via access point don't get any IP address from the DHCP server on the router.
Target:
- Switch with a separate router (RoaS)
- Access Point(s) connected to the router and/or switch
- Using VLANs to seperate groups of devices (Base/Mgmt, Internal, IoT, Guest)
Hardware for testing:
- RB750GL (router), Current Firmware 6.49.6
- RBmAP2nd (access point), Current Firmware 6.49.6
That's quite old hardware which should be replaced, when I have a working example.
As a base and starting point, I use @pcunites tutorial for VLANs (see viewtopic.php?t=143620), which @anav often named the 'goldstandard'. And by the way, it's quite nice documented. Makes sense for me.
So in my config you'll see, I kept almost everything and just made some adaptions due to my hardware setup and added an access ports in order to deny being locked out.
Progress on Router:
- `ether1` is WAN (connected to separate Internet Router, not important now)
- `ether2` is trunk (connected to AP)
- `ether3` is trunk
- `ether4` is trunk
- `ether5` access port for VLAN_BLUE
- When I connect my notebook to `ether5`, it receives a DHCP Address like 10.0.10.254. That's good
- In Winbox I can ping AP (192.168.0.3) via interface BASE
Router Setup Script (used after config reset)
Progress on AP:
- `ether1` is trunk (connected to router)
- `ether2` is access port for VLAN_BLUE
- When I connect my notebook to `ether2`, it **does not** receive a DHCP Address
- When I connect to wlan1 (blue), I can connect, but it also **does not** receive a DHCP Address
- In Winbox I can ping router (192.168.0.1) via interface BASE
AP Setup Script (used after config reset)
Now, I read for days in this and other forums without any progress -- I'm going crazy very soon. And I am wondering whether it's me or the hardware which causes the issues. I read old hardware might not be able use `bridge vlan filtering`...but I don't know if this is the case for me. Yeah, most probably it is my fault, although 99% of it the scripts is just copied from the tutorial.
Can you please have a look and give me a hint? I don't know how to debug this.
The AP's Log shows when a client connects, everything seems fine, but it doesn't get IPs from the DHCP server when I connect to the AP. In fact, using the current script also the MAC access to the AP is blocked. I don't know why, but I know how to reset the config.
The Router's Log says...nothing.