For starters I am extremely new to programming this router and am having a bit of trouble. I have no formal training also on Mikrotik routers. To start my plan for this router is thus:
Port 1: WAN with dhcp
Ports 2-5: dhcp from router (internal addresses from router, not external from outside network, but can access the internet through the wan port)
Ports 6-9: Vlans with seperate dhcp for each port.
This router is going on an oil rig with a computer permanently attached to the router inside an explosion proof box. Port 1 is the WAN to provide internet access to all ports. Ports 6-9 are VLAN’s for 4 separate contractors on the rig who should not be able to see each other on each separate VLAN but can still access the internet/rig network. Ports 2-5 are internal ports inside the box which dole out ip’s in the 10.12.7.X range for various internal components like a KVM.
My problem is that I can hook my computer to ether 6 and I do get an ip but it is an ip from our outside dhcp server ex. 192.168.15.17 but if the VLAN was correctly set up it should be in the 10.12.110.x range. What am I doing wrong? I also notice that there is network activity on ether6 but nothing on VLAN 5, should it not be going through VLAN 5 as per my config below?
[admin@MikroTik] > interface bridge print detail
Flags: X - disabled, R - running
0 R name="bridge1" mtu=1500 l2mtu=1522 arp=enabled
mac-address=D4:CA:6D:A0:CF:62 protocol-mode=none priority=0x8000
auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s
forward-delay=15s transmit-hold-count=6 ageing-time=5m
[admin@MikroTik] >> ip dhcp-client print detail
Flags: X - disabled, I - invalid
0 ;;; Wan IP
interface=bridge1 add-default-route=yes default-route-distance=0
use-peer-dns=yes use-peer-ntp=yes dhcp-options=hostname,clientid
status=bound address=192.168.15.59/24 gateway=192.168.15.1
dhcp-server=192.168.15.1 primary-dns=192.168.15.1 expires-after=22h40m45s
[admin@MikroTik] >> interface vlan print detail
Flags: X - disabled, R - running, S - slave
0 R name="vlan5" mtu=1500 l2mtu=1518 mac-address=D4:CA:6D:A0:CF:62 arp=enabled
vlan-id=5 interface=ether6 use-service-tag=no
1 name="vlan6" mtu=1500 l2mtu=1518 mac-address=D4:CA:6D:A0:CF:63 arp=enabled
vlan-id=6 interface=ether7 use-service-tag=no
2 name="vlan7" mtu=1500 l2mtu=1518 mac-address=D4:CA:6D:A0:CF:64 arp=enabled
vlan-id=7 interface=ether8 use-service-tag=no
3 name="vlan8" mtu=1500 l2mtu=1518 mac-address=D4:CA:6D:A0:CF:65 arp=enabled
vlan-id=8 interface=ether9 use-service-tag=no
[admin@MikroTik] > ip dhcp-server print detail
Flags: X - disabled, I - invalid
0 name="dhcp1" interface=bridge1 lease-time=3d address-pool=dhcp_pool13
bootp-support=static authoritative=after-2sec-delay lease-script=""
1 name="VLAN 5 DHCP" interface=vlan5 lease-time=3d address-pool=VLAN 5 DHCP Pool
bootp-support=static authoritative=after-2sec-delay lease-script=""
2 name="VLAN 6 DHCP" interface=vlan6 lease-time=3d address-pool=VLAN 6 DHCP Pool
bootp-support=static authoritative=after-2sec-delay lease-script=""
3 name="VLAN 7 DHCP" interface=vlan7 lease-time=3d address-pool=VLAN 7 DHCP Pool
bootp-support=static authoritative=after-2sec-delay lease-script=""
4 name="VLAN 8 DHCP" interface=vlan8 lease-time=3d address-pool=VLAN 8 DHCP Pool
bootp-support=static authoritative=after-2sec-delay lease-script=""
[admin@MikroTik] > interface bridge port print detail
Flags: X - disabled, I - inactive, D - dynamic
0 interface=ether6 bridge=bridge1 priority=0x80 path-cost=10 edge=auto
point-to-point=auto external-fdb=auto horizon=none
1 I interface=ether7 bridge=bridge1 priority=0x80 path-cost=10 edge=auto
point-to-point=auto external-fdb=auto horizon=none
2 I interface=ether8 bridge=bridge1 priority=0x80 path-cost=10 edge=auto
point-to-point=auto external-fdb=auto horizon=none
3 I interface=ether9 bridge=bridge1 priority=0x80 path-cost=10 edge=auto
point-to-point=auto external-fdb=auto horizon=none
4 interface=ether1 bridge=bridge1 priority=0x80 path-cost=10 edge=auto
point-to-point=auto external-fdb=auto horizon=none