I am trying to configure an RB5009 with 2 new vlans/subnets. I have created the two vlans following some YouTube guides, but am stuck. From vlan 1, I can ping the router addresses on the new vlan interfaces, but the DHCP server I have configured is not working when I connect on an access port on the new vlans. Also, if I assign a static address to my computer, I cannot ping the gateway or devices in other subnets. Please help!
Here is my config:
Code: Select all
/interface bridge
add admin-mac=18:FD:74:78:56:C4 auto-mac=no comment=defconf name=bridge \
vlan-filtering=yes
/interface vlan
add interface=bridge name=Test vlan-id=100
add interface=bridge name=Data vlan-id=10
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
add name=Data_Pool ranges=192.168.0.101-192.168.0.200
add name=Test_Pool ranges=192.168.100.2
/ip dhcp-server
add address-pool=default-dhcp interface=bridge name=defconf
add address-pool=Data_Pool interface=Data name=Data
add address-pool=Test_Pool interface=Test name=Test
/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=10
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=sfp-sfpplus1
/interface bridge vlan
add bridge=bridge untagged=ether4 vlan-ids=10
add bridge=bridge vlan-ids=100
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=\
192.168.88.0
add address=192.168.0.1/24 interface=Data network=192.168.0.0
add address=192.168.100.1/30 interface=Test network=192.168.100.0
/ip dhcp-server network
add address=192.168.0.0/24 dns-server=9.9.9.9,149.112.112.112 gateway=\
192.168.0.1
add address=192.168.88.0/24 comment=defconf dns-server=192.168.88.1 gateway=\
192.168.88.1
add address=192.168.100.0/30 dns-server=9.9.9.9,149.112.112.112 gateway=\
192.168.100.1