Hi everybody,
I am just setting up my first Mikrotik device (RB5009) to be used as router in our new house. I was mainly following this nice guide: http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1 Differences are, that I plan to use more VLANs (for better seperation of different device groups) and that I looked into the default firewall configuration and the corresponding documentation pages on the Mikrotik documentation and tried to integrate them.
This summarizes the planned VLANs and how the ports of the RB5009 are planned to be used:
#######################################
# VLAN Overview
#######################################
# BLOCK IP 192.168.40.xxx / 24 VLAN 40
# Blocked VLAN, used for all unsed ports to just block traffic there
# MANAGEMENT IP 192.168.80.xxx / 24 VLAN ID 80
# Used for MANAGEMENT Access of Mikrotik Devices
# HOME IP 192.168.100.xxx / 24 VLAN ID 100
# Used for Adults devices
# VICO IP 192.168.104.xxx / 24 VLAN ID 104
# Used for Kids devices
# WORK IP 192.168.108.xxx / 24 VLAN ID 108
# Used for work devices
# SHARED IP 192.168.112.xxx / 24 VLAN ID 112
# Printers, NAS...
# HA IP 192.168.116.xxx / 24 VLAN ID 116
# Used for home automation stuff
# IOT IP 192.168.120.xxx / 24 VLAN ID 120
# Used for not trustworthy IOT devices
# ENTERTAIN IP 192.168.124.xxx / 24 VLAN ID 124
# Used for TV, blu ray player ...
# GUESTS IP 192.168.128.xxx / 24 VLAN ID 128
# Used for guests
#######################################
# Port usage overview Overview
#######################################
# sfp-sfpplus1 trunk port uplink to switch VLAN IDs 80,100,104,108,112,116,120,124,128
# ether1 access port Internet Connection (currently DHCP, must be moved to PPPoE over VLAN 7 later)
# ether2 trunk port backup to sfp connection to switch, cable only to be plugged in if fiber connection is not working
# ether3-7 access port VLAN 40, blocking all access
# ether8 access port VLAN 80, management access
I used the following script to configure the router (its the adpated version of the guide I linked to)
RB5009_Config_for_publishing.rsc (18.6 KB)
My issue is, that I don’t receive a IP address if I plug in my PC at ether8. Management access through that port is working (using Winbox and MAC access). But also if I switch one of the ports ether3 to ether 7 to some other VLAN (or management VLAN) I don’t get an IP address from the router there. The request always runs into a timeout.
This is the resulting device configuration. In this version ether3 to ether7 were set to other VLANs for testing purposes. But except for that, the missing comments and the order of the entries it is identical to the script which I used for configuration (at least I couldn’t find any differences). Therefore it is most probably easier to look at the script linked above
RB5009_DHCP_not_working.rsc (13.2 KB)
Can anybody tell me what I am doing wrong here?
Thanks a lot in advance
Daniel