I try to get 2 separate VLAN's working on my Ubiquiti AP. See picture below for a view:
I got VLAN10 working properly now. Now I want VLAN20. I currently got VLAN10 assigned to my 'bridge-vlan10'.
However I think this needs to be assigned to VLAN10. (https://wiki.mikrotik.com/wiki/Manual:C ... HCP-Server).
But when I try to I get can't connect to slave device. Which I can imagine ofcourse. But what should I change to make it work?
See below for my current configuration:
Code: Select all
[admin@Home] > export
# may/13/2018 16:11:52 by RouterOS 6.42.1
# software id = I4Y1-BJFW
#
# model = 2011UiAS
# serial number = 724F0663B576
/interface bridge
add admin-mac=6C:3B:6B:3A:23:E8 auto-mac=no comment=defconf name=bridge
add fast-forward=no name=bridge-vlan10 protocol-mode=none
add fast-forward=no name=bridge-vlan20
/interface vlan
add interface=ether3 name=VLAN10-intern vlan-id=10
add interface=ether10 name=VLAN20-public vlan-id=20
/interface ethernet switch port
set 3 default-vlan-id=0 vlan-mode=fallback
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp ranges=192.168.88.10-192.168.88.254
add name=pool-intern ranges=192.168.1.2-192.168.1.200
add name=pool-public ranges=192.168.2.2-192.168.2.200
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge name=defconf
add address-pool=pool-intern disabled=no interface=bridge-vlan10 name=dhcp-intern
add address-pool=pool-public disabled=no interface=bridge-vlan20 name=dhcp-public
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge-vlan10 comment=defconf hw=no interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=ether6
add bridge=bridge comment=defconf interface=ether7
add bridge=bridge comment=defconf interface=ether8
add bridge=bridge comment=defconf interface=ether9
add bridge=bridge comment=defconf interface=sfp1
add bridge=bridge-vlan10 interface=VLAN10-intern
add bridge=bridge-vlan10 interface=ether10
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface ethernet switch vlan
add disabled=yes ports=ether3 switch=switch1 vlan-id=10
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/ip address
add address=192.168.88.1/24 comment=defconf interface=ether2 network=192.168.88.0
add address=192.168.1.1/24 interface=VLAN10-intern network=192.168.1.0
/ip dhcp-client
add comment=defconf dhcp-options=hostname,clientid disabled=no interface=ether1
/ip dhcp-server lease
add address=192.168.1.6 client-id=1:d8:cb:8a:81:f3:16 mac-address=D8:CB:8A:81:F3:16 server=dhcp-intern
add address=192.168.1.2 client-id=1:fc:ec:da:13:ba:53 mac-address=FC:EC:DA:13:BA:53 server=dhcp-intern
/ip dhcp-server network
add address=192.168.1.0/24 comment=networks-intern dns-server=1.1.1.1,1.0.0.1 gateway=192.168.1.1
add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes servers=1.1.1.1,1.0.0.1
/ip dns static
add address=192.168.88.1 name=router.lan
/ip firewall filter
add action=accept chain=input comment="Allow intern" src-address=192.168.88.0/24
add action=accept chain=input src-address=192.168.178.0/24
add action=accept chain=input src-address=192.168.1.0/24
add action=accept chain=input src-address=192.168.2.0/24
add action=drop chain=input comment="Drop else" disabled=yes
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
/ip service
set telnet disabled=yes
set ftp disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/system clock
set time-zone-name=Europe/Amsterdam
/system identity
set name=Home
/system routerboard settings
set silent-boot=no
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN