Community discussions

just joined
Topic Author
Posts: 1
Joined: Wed Dec 05, 2018 6:36 pm

Vlan Bridge problem on CCR1016

Wed Dec 05, 2018 6:51 pm


I have a problem on a CCR1016-12g with vlan bridgeing and DHCP.

I have 4 switches connected to the router each with 2 ethernet interface bonded together,
The problem is i have to bridge the vlans on them together.
I created all the vlans on all the interfaces with different names and than bridged them using to guide in this topic: viewtopic.php?f=2&t=81143, but after i configure DHCP on the vlan bridges it just doesnt seem to work.

I tried everything. Vlan filtering on bridges on/off, PVID set or not set on the bridge ports, everything.

Please help me, im starting to give up.

Heres the code from the router:
/interface bridge
add name=vlan20-bridge vlan-filtering=yes
add name=vlan30-bridge vlan-filtering=yes
/interface ethernet
set [ find default-name=ether6 ] mac-address=B8:69:F4:A2:DB:98
set [ find default-name=ether8 ] mac-address=B8:69:F4:A2:DB:9A
set [ find default-name=ether10 ] mac-address=B8:69:F4:A2:DB:9C
set [ find default-name=ether12 ] mac-address=B8:69:F4:A2:DB:9E
/interface bonding
add mode=802.3ad name=E5-6 slaves=ether5,ether6 transmit-hash-policy=\
add mode=802.3ad name=E7-8 slaves=ether7,ether8 transmit-hash-policy=\
add mode=802.3ad name=E9-10 slaves=ether9,ether10 transmit-hash-policy=\
add mode=802.3ad name=E11-12 slaves=ether11,ether12 transmit-hash-policy=\
/interface vlan
add interface=E11-12 name=vlan20_E11-12 vlan-id=20
add interface=E5-6 name=vlan20_E5-6 vlan-id=20
add interface=E7-8 name=vlan20_E7-8 vlan-id=20
add interface=E9-10 name=vlan20_E9-10 vlan-id=20
add interface=E11-12 name=vlan30_E11-12 vlan-id=30
add interface=E5-6 name=vlan30_E5-6 vlan-id=30
add interface=E7-8 name=vlan30_E7-8 vlan-id=30
add interface=E9-10 name=vlan30_E9-10 vlan-id=30
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=vlan20-pool ranges=
add name=vlan30-pool ranges=
/ip dhcp-server
add add-arp=yes address-pool=vlan20-pool disabled=no interface=vlan20-bridge \
add add-arp=yes address-pool=vlan30-pool disabled=no interface=vlan30-bridge \
/interface bridge port
add bridge=vlan20-bridge interface=vlan20_E11-12
add bridge=vlan20-bridge interface=vlan20_E5-6
add bridge=vlan20-bridge interface=vlan20_E7-8
add bridge=vlan20-bridge interface=vlan20_E9-10
add bridge=vlan30-bridge interface=vlan30_E11-12
add bridge=vlan20-bridge interface=vlan30_E5-6
add bridge=vlan20-bridge interface=vlan30_E7-8
add bridge=vlan20-bridge interface=vlan30_E9-10
/ip address
add address= interface=vlan20-bridge network=
add address= interface=vlan30-bridge network=
/ip dhcp-server network
add address= dns-server=, gateway= \
add address= dns-server=, gateway=
/system identity
/system routerboard settings
set silent-boot=no
And the code from one of the switches:
/interface bridge
add fast-forward=no name=Switch-Bridge vlan-filtering=yes
/interface ethernet
set [ find default-name=ether24 ] mac-address=B8:69:F4:17:BE:7A
/interface bonding
add mode=802.3ad name="Trunk - In" slaves=ether23,ether24 transmit-hash-policy=\
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/interface bridge port
add bridge=Switch-Bridge interface="Trunk - In"
add bridge=Switch-Bridge interface=ether13 pvid=20
add bridge=Switch-Bridge interface=ether9 pvid=30
/interface bridge vlan
add bridge=Switch-Bridge tagged="Trunk - In" untagged=ether13 vlan-ids=20
add bridge=Switch-Bridge tagged="Trunk - In" untagged=ether9 vlan-ids=30
/system identity
/system routerboard settings
set boot-os=router-os silent-boot=no

Who is online

Users browsing this forum: No registered users and 69 guests