Darn, I’ve setup the VLAN thing and no dice. Could you please take a look for potential errors?
I had internet access before I configured the VLANs, so most of this works apart from the actual VLAN stuff.
On the cisco I put a port in VLAN 10 (access port) with matching PVID 10 and I configured the trunk to accept tagged frames only. The trunk port was put in VLAN 10, VLAN 20 and VLAN 1 (its native VLAN). The access port was only in 1 vlan, being VLAN 10 as I mentioned.
I connected a laptop to the Cisco switch but was unable to reach (read ping) the Mikrotik (set as gateway).
/interface
Flags: D - dynamic, X - disabled, R - running, S - slave
# NAME TYPE MTU L2MTU
0 R ether1 ether 1500 1524
1 ether2 ether 1500 1524
2 ether3 ether 1500 1524
3 ether4 ether 1500 1524
4 WAN ether 1500 1524
5 R WAN-BRIDGE bridge 1500 65535
6 X VLAN10(internal) vlan 1500 1520
7 X VLAN20(external) vlan 1500 1
/interface bridge
Flags: X - disabled, R - running
0 R name="WAN-BRIDGE" mtu=1500 l2mtu=65535 arp=enabled
mac-address=00:00:00:00:00:00 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
/interface bridge port
Flags: X - disabled, I - inactive, D - dynamic
# INTERFACE BRIDGE PRIORITY PATH-COST HORIZON
0 I VLAN20(external) WAN-BRIDGE 0x80 10 none
1 I WAN WAN-BRIDGE 0x80 10 none
/interface ethernet
# NAME MTU MAC-ADDRESS ARP MASTER-PORT SWITCH
0 R ether1 1500 00:0C:42:3E:57:A3 enabled none switch1
1 ether2 1500 00:0C:42:3E:57:A4 enabled none switch1
2 ether3 1500 00:0C:42:3E:57:A5 enabled none switch1
3 ether4 1500 00:0C:42:3E:57:A6 enabled none switch1
4 WAN 1500 00:0C:42:3E:57:A7 enabled none switch1
/interface vlan
Flags: X - disabled, R - running, S - slave
# NAME MTU ARP VLAN-ID INTERFACE
0 X VLAN10(internal) 1500 enabled 10 ether1
1 X VLAN20(external) 1500 enabled 20 ether1
/ip address
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 192.168.0.251/24 192.168.0.0 192.168.0.255 VLAN10(internal)
This actually worked but the cable to the cable modem was disconnected when I
printed this config:).
/dhcp-client
Flags: X - disabled, I - invalid
# INTERFACE USE ADD STATUS ADDRESS
0 WAN-BRIDGE yes yes searching...
/ip dns
servers: 195.x.x.x,195.x.x.x
allow-remote-requests: yes
max-udp-packet-size: 512
cache-size: 2048KiB
cache-max-ttl: 1w
cache-used: 5KiB
/ip firewall nat
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=masquerade src-address=192.168.0.0/24