Greetings,
I’m new to MikroTik.
I cannot get Mikrotik on-board DHCP server to lease address over native VLAN (VID 1) in bridge with other VLAN (VID 1952). I don’t want DHCP on VID 1952, only on VID 1.
Port 1 will be WAN but don’t have it set up yet.
Port 2 will be hybrid port: VID 1952 tagged, VID 1 untagged. Bridge will be managed through VID 1952.
Port 3 VID 1 untagged.
Port 4 VID 1952 untagged.
Port 5 VID 1952 untagged.
Live capture in Wireshark with filter udp.port==68 shows client connected to Port 3 sending DHCP Discover messages but nothing else related to DHCP showing and can’t get a lease from Mikrotik VID 1 DHCP server.
Using RB960PGS hEX PoE OS 6.44.3
What am I missing? I appreciate any help.
/interface bridge
add admin-mac=B8:69:F4:B5:68:0D auto-mac=no comment=defconf \
ingress-filtering=yes name=bridge protocol-mode=none pvid=1952 \
vlan-filtering=yes
/interface vlan
add interface=bridge name=vlan1 vlan-id=1
/interface ethernet switch port
set 1 default-vlan-id=1 vlan-header=add-if-missing vlan-mode=fallback
set 2 default-vlan-id=1 vlan-header=always-strip vlan-mode=fallback
set 3 default-vlan-id=1952 vlan-header=always-strip vlan-mode=fallback
set 4 default-vlan-id=1952 vlan-header=always-strip vlan-mode=fallback
set 5 default-vlan-id=1952 vlan-mode=secure
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=dhcp_pool0 ranges=192.168.0.10-192.168.0.254
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=vlan1 name=dhcp1
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4 pvid=1952
add bridge=bridge comment=defconf interface=ether5 pvid=1952
add bridge=bridge comment=defconf interface=sfp1
add bridge=bridge interface=vlan1
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface bridge vlan
add bridge=bridge tagged=ether2 untagged=ether4,ether5 vlan-ids=1952
/interface ethernet switch vlan
add independent-learning=no ports=ether2,ether3 switch=switch1 vlan-id=1
add independent-learning=no ports=ether2,ether4,ether5,switch1-cpu switch=\
switch1 vlan-id=1952
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/ip address
add address=10.254.4.39/23 comment=defconf interface=bridge network=\
10.254.4.0
add address=192.168.0.1/24 interface=vlan1 network=192.168.0.0
/ip dhcp-server network
add address=192.168.0.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.0.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 name=router.lan
/ip firewall filter
add action=accept chain=input comment=\
"defconf: accept established,related,untracked" connection-state=\
established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=drop chain=input comment="defconf: drop all not coming from LAN" \
in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" \
ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" \
ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
connection-state=established,related
add action=accept chain=forward comment=\
"defconf: accept established,related, untracked" connection-state=\
established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" \
connection-state=invalid
add action=drop chain=forward comment=\
"defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat \
connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" \
ipsec-policy=out,none out-interface-list=WAN
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN