I am a new user of Mikrotik and so far I am enjoying the features and ease of use given by Mikrotik.
My network configuration is as follow, using 2 CRS1xx.
CRS125 port 1 is for connection to Modem (WAN), while CRS125 port 2 is connecting to port 1 of CRS109.
On CRS125 port 2, I set as follow.
/ip address
add address=192.168.1.4/24 interface=ether2 network=192.168.1.0
/ip dhcp-client
add dhcp-options=hostname,clientid interface=bridge_balkon
/ip dns
set servers=192.168.1.1
/ip route
add distance=1 gateway=192.168.1.1
What I try to achieve is as follow:
VLAN on CRS109 port 3,4,5,6,7=pvid10 while port 8-pvid30 with port 1 as tagged port.
Services I provided to these VLAN is only DHCP, set up on CRS125 port 2 on each VLANs.
On CRS109, I cannot obtain DHCP address, the PC i connected to the ports always got 169.254.x.x address (self assigned), not the address I set for each VLAN.
I want to apply Hotspot to these VLANs, as well as implementing WiFi VLAN, however for now I limit on the DHCP part which I have not been able to successfully apply.
Please advise on what I did wrong, as I have been trying to run through this setup time and time again, reset the configuration and create from scratch a couple of times but the result still the same, i.e. no address given to the client under CRS109.
You’re mixing two ways of configuring VLANs. You should follow only one way and I suggest you to follow the way giving you wire-speed performance. When doing it this way, you should configure VLAN specific stuff in /interface ethernet switch config subtree and remove any VLAN setting from /interface bridge.
Thanks for the advise.
I look at my setting again today.
In fact, those settings of VLAN inside bridge is actually already inactive.
However, I tried to remove all settings of VLAN under /interface bridge but result still the same, i.e. client still dont get any IP address.
I tried to search at every bit of advise from google or youtube regarding VLAN on CRS1xx, which all seems to instruct similarly like this, but when I tried step by step dilligently, it always never worked. Yet, maybe I mossed some minute details here.
I tried to reset my configuration and start everything from scratch, and it worked. Guess it was my previous testing that makes the configuration a mess. Thank you very much for the advise on making a clean VLAN configuration.
Now that I already get IP Address according to my VLAN setting, then I would like to also have Wireless VLAN linked with the VLAN setting of this router.
What I basically do is adding a vlan (vlan_Main1, vlan_Main2, vlan_Main3) under ether1 which is the trunk port to the main router, each with VLAN ID accordingly.
Then, I create a Virtual Wireless under the main wlan1, each with the SSID I want to have.
Then I combine the vlan_Main with each of the SSID accordingly.
The Virtual SSID shows, but I cannot obtain an IP address.