I would like to create separate where each vlan has its own dhcp server. If I connect my client to the router on eht6 and set the ip address manually I can ping the router. However, if I would like to receive the ip from the dhcp-server no address is assigned.
I have tested to assign one dhcp-server to bridge1. With this config the client immediately has an IP address.
Do you have any ideas where the issue could be located?
Below you can find my current config file.
Thank you very much!
Code: Select all
# model = CCR1009-7G-1C-1S+
/interface bridge
add name=bridge1
/interface vlan
add interface=bridge1 name=100-mgmt vlan-id=100
add interface=bridge1 name=401-hp23-public vlan-id=401
/interface bridge port
add bridge=bridge1 hw=no interface=ether3
add bridge=bridge1 hw=no interface=ether4
add bridge=bridge1 hw=no interface=ether5 pvid=401
add bridge=bridge1 hw=no interface=ether7
add bridge=bridge1 hw=no interface=sfp-sfpplus1
add bridge=bridge1 hw=no interface=combo1
add bridge=bridge1 interface=ether6 pvid=100
/interface bridge vlan
add bridge=bridge1 tagged=sfp-sfpplus1 untagged=ether6 vlan-ids=100
add bridge=bridge1 tagged=sfp-sfpplus1 untagged=ether5 vlan-ids=401
/ip pool
add name=dhcp-100-mgmt ranges=192.168.0.100-192.168.0.250
add name=dhcp-401-wlan-public ranges=172.16.1.10-172.16.1.250
add name=dhcp-402-wlan-private ranges=172.16.2.10-172.16.2.250
/ip dhcp-server
add address-pool=dhcp-100-mgmt disabled=no interface=100-mgmt name=100-mgmt
add address-pool=dhcp-401-wlan-public disabled=no interface=401-wlan-public name=401-wlan-public
/ip address
add address=192.168.0.1/24 comment=defconf interface=sfp-sfpplus1 network=192.168.0.0
add address=192.168.0.1/24 interface=100-mgmt network=192.168.0.0
add address=172.16.1.1/24 interface=401-wlan-public network=172.16.1.0
/ip dhcp-server network
add address=172.16.1.0/24 dns-server=172.16.1.1 gateway=172.16.1.1 netmask=24
add address=192.168.0.0/24 dns-server=192.168.0.1 gateway=192.168.0.1