I have a 4011 acting as a router, the CRS as a Switch and my laptop and a HEXPOE acting as clients.
RB4011(SFP1)->CRS(SFP1)
CRS(SFP2)->HEX(SFP1)
CRS(ETH1)->Laptop
RB4011 has tagged vlan 300 (SFP1), DCHP Server on that vlan.
HEX has DCHP-Client On Untagged Vlan 300(SFP1)
Code: Select all
CRS Config:
/interface bridge
add name=bridge1 vlan-filtering=yes
/interface vlan
add interface=bridge1 name=MGMT use-service-tag=yes vlan-id=1000
/interface bridge port
add bridge=bridge1 interface=sfp-sfpplus1
add bridge=bridge1 interface=sfp-sfpplus2 pvid=300
add bridge=bridge1 interface=sfp-sfpplus3 pvid=200
add bridge=bridge1 interface=sfp-sfpplus4 pvid=100
add bridge=bridge1 interface=ether1 pvid=200
/interface bridge vlan
add bridge=bridge1 tagged=sfp-sfpplus1 untagged=sfp-sfpplus2,ether1 vlan-ids=\
300
add bridge=bridge1 tagged=sfp-sfpplus1 untagged=sfp-sfpplus3 vlan-ids=200
add bridge=bridge1 tagged=sfp-sfpplus1,bridge1 vlan-ids=1000
add bridge=bridge1 tagged=sfp-sfpplus1 untagged=sfp-sfpplus4 vlan-ids=100
/ip address
add address=10.10.53.1/24 interface=MGMT network=10.10.53.0
4011 Config:
/interface bridge
add name=bridge1
/interface vlan
add interface=ether1 name=Fiber-Trunk use-service-tag=yes vlan-id=110
add interface=sfp-sfpplus1 name=Level1 use-service-tag=yes vlan-id=100
add interface=sfp-sfpplus1 name=Level2 use-service-tag=yes vlan-id=200
add interface=sfp-sfpplus1 name=Level3 use-service-tag=yes vlan-id=300
add interface=sfp-sfpplus1 name=MGMT use-service-tag=yes vlan-id=1000
/interface ethernet switch port
set 0 default-vlan-id=0
set 1 default-vlan-id=0
set 2 default-vlan-id=0
set 3 default-vlan-id=0
set 4 default-vlan-id=0
set 5 default-vlan-id=0
set 6 default-vlan-id=0
set 7 default-vlan-id=0
set 8 default-vlan-id=0
set 9 default-vlan-id=0
set 10 default-vlan-id=0
set 11 default-vlan-id=0
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp_pool0 ranges=10.100.53.10-10.100.53.254
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=Level3 lease-time=12h name=\
dhcp1
/routing ospf instance
set [ find default=yes ] redistribute-connected=as-type-2 \
redistribute-static=as-type-2
/interface bridge port
add bridge=bridge1 disabled=yes interface=ether2
add bridge=bridge1 disabled=yes interface=sfp-sfpplus1
add bridge=bridge1 disabled=yes interface=Level1
add bridge=bridge1 disabled=yes interface=Level2
add bridge=bridge1 disabled=yes interface=Level3
add bridge=bridge1 disabled=yes interface=MGMT
/ip address
add address=10.95.53.2/30 interface=Fiber-Trunk network=10.95.53.0
add address=10.100.53.1/24 interface=Level3 network=10.100.53.0
add address=10.10.53.2/24 interface=MGMT network=10.10.53.0
/ip dhcp-server network
add address=10.100.53.0/24 dns-server=10.100.123.211,8.8.8.8 gateway=\
10.100.53.1
/routing ospf network
add area=backbone network=10.95.53.0/30
HEX:
/interface vlan
add interface=sfp1 name=vlan300 use-service-tag=no vlan-id=300
/ip dhcp-client
add interface=sfp1 disabled=no
add interface=vlan300 disabled=no