Hello,
I have a CRS354 switch with several vlan (1,10,20,30).
This switch is connected to CCR2004-16G-2S thought a trunk on the SFP+ port.
All the port are on a bridge with vlan filtering. The goal, is to perform intervlan routing with the CCR.
The CCR has only two SFP+, one to the WAN on vlan 100 and the other one is the trunk.
Again, both SFP+ port are on a bridge with vlan filtering.
I created vlan interface for each vlan.
I noticed some weird behavior, packet dropping, some ip are not pinguable and other yes.
I think, I have a misconfiguration, but I stuck to find where is my error. Maybe, I should not have CCR SFP+ interface in the same bridge ?
Thanks a lot, I am quite desesperate ![]()
Here, in an extract of the configuration :
CCR
/interface bridge
add name=bridge1 vlan-filtering=yes
/interface ethernet
set [ find default-name=sfp-sfpplus1 ] comment=WAN
set [ find default-name=sfp-sfpplus2 ] comment="Trunk fibre"
/interface vlan
add comment=Admin interface=bridge1 name=vlan1 vlan-id=1
add comment=Guest interface=bridge1 name=vlan10 vlan-id=10
add comment=Net interface=bridge1 name=vlan20 vlan-id=20
add comment=Dante interface=bridge1 name=vlan30 vlan-id=30
add comment=WAN interface=bridge1 name=vlan100 vlan-id=100
/interface list
add name=Trunk
add name=WAN
/ip pool
add comment=Admin name=pool-1 ranges=192.168.1.50-192.168.1.250
add comment=Guest name=pool-10 ranges=192.168.12.50-192.168.13.200
add comment=Net name=pool-20 ranges=192.168.16.50-192.168.16.200
add comment=Dante name=pool-30 ranges=192.168.20.50-192.168.20.200
/ip dhcp-server
add address-pool=pool-1 comment=Admin interface=vlan1 name=server-1
add address-pool=pool-20 comment=Net interface=vlan20 name=server-20
add address-pool=pool-10 comment=Guest interface=vlan10 name=server-10
add address-pool=pool-30 comment=Dante interface=vlan30 name=server-30
/port
set 0 name=serial0
/interface bridge port
add bridge=bridge1 comment=vlan1 disabled=yes interface=ether1
add bridge=bridge1 comment=vlan20 disabled=yes interface=ether2 pvid=20
add bridge=bridge1 comment=vlan100 disabled=yes interface=ether3 pvid=100
add bridge=bridge1 comment=trunk interface=sfp-sfpplus2
add bridge=bridge1 interface=WAN pvid=100
/interface bridge vlan
add bridge=bridge1 comment=Guest tagged=Trunk,bridge1 vlan-ids=10
add bridge=bridge1 comment=Net tagged=Trunk,bridge1 vlan-ids=20
add bridge=bridge1 comment=Dante tagged=Trunk,bridge1 vlan-ids=30
add bridge=bridge1 comment=admin tagged=Trunk,bridge1 vlan-ids=1
add bridge=bridge1 comment=Internet tagged=bridge1 untagged=WAN vlan-ids=100
/interface list member
add interface=sfp-sfpplus2 list=Trunk
add interface=sfp-sfpplus1 list=WAN
/ip address
add address=192.168.88.1/24 comment=defconf interface=ether15 network=192.168.88.0
add address=192.168.20.1/24 comment=Dante interface=vlan30 network=192.168.20.0
add address=192.168.16.1/22 comment=Net interface=vlan20 network=192.168.16.0
add address=192.168.12.1/22 comment=Guest interface=vlan10 network=192.168.12.0
add address=192.168.1.1/24 interface=vlan1 network=192.168.1.0
/ip dhcp-client
add interface=vlan100 use-peer-ntp=no
/ip dhcp-server config
set store-leases-disk=1h
/ip dhcp-server network
add address=192.168.1.0/24 comment=Admin dns-server=1.1.1.1,9.9.9.9,8.8.8.8 gateway=192.168.1.1 ntp-server=192.168.1.1
add address=192.168.12.0/22 comment=Guest dns-server=1.1.1.1,9.9.9.9,8.8.8.8 gateway=192.168.12.1 ntp-server=192.168.12.1
add address=192.168.16.0/22 comment=Net dns-server=1.1.1.1,9.9.9.9,8.8.8.8 gateway=192.168.16.1 ntp-server=192.168.16.1
add address=192.168.20.0/24 comment=Dante dns-server=1.1.1.1,9.9.9.9,8.8.8.8 gateway=192.168.20.1 ntp-server=192.168.20.1
/ip dns
set allow-remote-requests=yes servers=9.9.9.9,1.1.1.1,8.8.8.8
/ip firewall filter
add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked disabled=yes
add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid disabled=yes
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid disabled=yes
add action=accept chain=input comment="defconf: accept ICMP" disabled=yes protocol=icmp
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related disabled=yes hw-offload=yes
add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked disabled=yes
/ip firewall nat
add action=masquerade chain=srcnat comment="nat admin" out-interface=vlan100 src-address=192.168.1.0/24
add action=masquerade chain=srcnat comment="nat guest" out-interface=vlan100 src-address=192.168.12.0/22
add action=masquerade chain=srcnat comment="nat dante" out-interface=vlan100 src-address=192.168.20.0/22
add action=masquerade chain=srcnat comment="nat Net" out-interface=vlan100 src-address=192.168.16.0/24
/ipv6 firewall address-list
add address=::/128 comment="defconf: unspecified address" list=bad_ipv6
add address=::1/128 comment="defconf: lo" list=bad_ipv6
add address=fec0::/10 comment="defconf: site-local" list=bad_ipv6
add address=::ffff:0.0.0.0/96 comment="defconf: ipv4-mapped" list=bad_ipv6
add address=::/96 comment="defconf: ipv4 compat" list=bad_ipv6
add address=100::/64 comment="defconf: discard only " list=bad_ipv6
add address=2001:db8::/32 comment="defconf: documentation" list=bad_ipv6
add address=2001:10::/28 comment="defconf: ORCHID" list=bad_ipv6
add address=3ffe::/16 comment="defconf: 6bone" list=bad_ipv6
add address=::224.0.0.0/100 comment="defconf: other" list=bad_ipv6
add address=::127.0.0.0/104 comment="defconf: other" list=bad_ipv6
add address=::/104 comment="defconf: other" list=bad_ipv6
add address=::255.0.0.0/104 comment="defconf: other" list=bad_ipv6
/ipv6 firewall filter
add action=fasttrack-connection chain=forward comment="ipv6 fastrack" connection-state=established
add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid
add action=accept chain=input comment="defconf: accept ICMPv6" protocol=icmpv6
add action=accept chain=forward comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
add action=drop chain=forward comment="defconf: drop packets with bad src ipv6" src-address-list=bad_ipv6
add action=drop chain=forward comment="defconf: drop packets with bad dst ipv6" dst-address-list=bad_ipv6
add action=log chain=forward comment="defconf: rfc4890 drop hop-limit=1" hop-limit=equal:1 log=yes log-prefix=fezfef protocol=icmpv6
add action=accept chain=forward comment="defconf: accept ICMPv6" protocol=icmpv6
add action=accept chain=forward
/system clock
set time-zone-name=Europe/Paris
/system ntp client
set enabled=yes
/system ntp server
set enabled=yes
/system ntp client servers
add address=145.238.80.80
add address=145.238.80.83
add address=pool.ntp.org
/system routerboard settings
set enter-setup-on=delete-key
CRS354
/interface bridge
add admin-mac=DC:2C:6E:B6:6D:E7 auto-mac=no comment=defconf name=bridge port-cost-mode=short vlan-filtering=yes
/interface ethernet
set [ find default-name=sfp-sfpplus4 ] comment=trunk
/interface vlan
add comment=Admin interface=bridge name=vlan1 vlan-id=1
add comment=Guest interface=bridge name=vlan10 vlan-id=10
add interface=bridge name=vlan20 vlan-id=20
add comment=Dante interface=bridge name=vlan30 vlan-id=30
/interface ethernet switch qos port
set qsfpplus1-1 trust-l3=keep
set qsfpplus1-2 trust-l3=keep
set qsfpplus1-3 trust-l3=keep
set qsfpplus1-4 trust-l3=keep
set qsfpplus2-1 trust-l3=keep
set qsfpplus2-2 trust-l3=keep
set qsfpplus2-3 trust-l3=keep
set qsfpplus2-4 trust-l3=keep
set sfp-sfpplus1 trust-l3=keep
set sfp-sfpplus2 trust-l3=keep
set sfp-sfpplus3 trust-l3=keep
set sfp-sfpplus4 trust-l3=keep
set ether1 trust-l3=keep
set ether2 trust-l3=keep
set ether3 trust-l3=keep
set ether4 trust-l3=keep
set ether5 trust-l3=keep
set ether6 trust-l3=keep
set ether7 trust-l3=keep
set ether8 trust-l3=keep
set ether9 trust-l3=keep
set ether10 trust-l3=keep
set ether11 trust-l3=keep
set ether12 trust-l3=keep
set ether13 trust-l3=keep
set ether14 trust-l3=keep
set ether15 trust-l3=keep
set ether16 trust-l3=keep
set ether17 trust-l3=keep
set ether18 trust-l3=keep
set ether19 trust-l3=keep
set ether20 trust-l3=keep
set ether21 trust-l3=keep
set ether22 trust-l3=keep
set ether23 trust-l3=keep
set ether24 trust-l3=keep
set ether25 trust-l3=keep
set ether26 trust-l3=keep
set ether27 trust-l3=keep
set ether28 trust-l3=keep
set ether29 trust-l3=keep
set ether30 trust-l3=keep
set ether31 trust-l3=keep
set ether32 trust-l3=keep
set ether33 trust-l3=keep
set ether34 trust-l3=keep
set ether35 trust-l3=keep
set ether36 trust-l3=keep
set ether37 trust-l3=keep
set ether38 trust-l3=keep
set ether39 trust-l3=keep
set ether40 trust-l3=keep
set ether41 trust-l3=keep
set ether42 trust-l3=keep
set ether43 trust-l3=keep
set ether44 trust-l3=keep
set ether45 trust-l3=keep
set ether46 trust-l3=keep
set ether47 trust-l3=keep
set ether48 trust-l3=keep
/interface ethernet switch qos profile
add dscp=56 name=dante-ptp pcp=7 traffic-class=7
add dscp=46 name=dante-audio pcp=5 traffic-class=5
add dscp=8 name=dante-low pcp=1 traffic-class=0
/interface list
add name=WAN
add name=LAN
add name=Dante
add name=Trunk
add comment="Bornes WIFI" name=Bornes
add comment="reseau network1" name=network1
/interface lte apn
set [ find default=yes ] ip-type=ipv4 use-network-apn=no
/ip smb users
set [ find default=yes ] disabled=yes
/port
set 0 name=serial0
/interface bridge port
add bridge=bridge comment=defconf ingress-filtering=no interface=ether7 internal-path-cost=10 path-cost=10
add bridge=bridge comment=defconf ingress-filtering=no interface=ether32 internal-path-cost=10 path-cost=10
add bridge=bridge comment=defconf ingress-filtering=no interface=ether39 internal-path-cost=10 path-cost=10
add bridge=bridge comment=defconf ingress-filtering=no interface=sfp-sfpplus1 internal-path-cost=10 path-cost=10
add bridge=bridge comment=defconf ingress-filtering=no interface=sfp-sfpplus2 internal-path-cost=10 path-cost=10
add bridge=bridge comment=defconf ingress-filtering=no interface=sfp-sfpplus3 internal-path-cost=10 path-cost=10
add bridge=bridge comment=defconf ingress-filtering=no interface=sfp-sfpplus4 internal-path-cost=10 path-cost=10
add bridge=bridge interface=ether15
add bridge=bridge interface=ether18
add bridge=bridge interface=Dante pvid=30
add bridge=bridge interface=network1 pvid=20
add bridge=bridge interface=Bornes
/interface ethernet switch l3hw-settings
set ipv6-hw=yes
/ip firewall connection tracking
set udp-timeout=10s
/ip neighbor discovery-settings
set lldp-mac-phy-config=yes lldp-med-net-policy-vlan=1
/ip settings
set max-neighbor-entries=8192
/ipv6 settings
set disable-ipv6=yes max-neighbor-entries=8192
/interface bridge vlan
add bridge=bridge comment=Guest tagged=Trunk,bridge,Bornes,ether39 vlan-ids=10
add bridge=bridge comment=network1 tagged=Trunk,bridge,Bornes,ether39 untagged=network1 vlan-ids=20
add bridge=bridge comment=Dante tagged=Trunk,bridge untagged=Dante vlan-ids=30
add bridge=bridge tagged=Trunk,bridge untagged=LAN,WAN,Bornes,ether39,ether18,ether15 vlan-ids=1
/interface detect-internet
set detect-interface-list=WAN internet-interface-list=WAN lan-interface-list=LAN wan-interface-list=WAN
/interface ethernet switch
set 0 l3-hw-offloading=yes qos-hw-offloading=yes
/interface ethernet switch qos map ip
add dscp=56 profile=dante-ptp
add dscp=46 profile=dante-audio
add dscp=8 profile=dante-low
/interface ethernet switch qos tx-manager queue
set 1 weight=1
set 2 schedule=strict-priority
set 3 schedule=strict-priority
set 4 schedule=strict-priority
set 5 schedule=strict-priority
/interface list member
add interface=ether49 list=LAN
add interface=ether1 list=network1
add interface=ether2 list=network1
add interface=ether3 list=network1
add interface=ether4 list=network1
add interface=ether5 list=network1
add interface=ether6 list=network1
add interface=ether7 list=network1
add interface=ether8 list=network1
add interface=ether9 list=network1
add interface=ether10 list=network1
add interface=ether11 list=network1
add interface=ether12 list=network1
add interface=ether13 list=Bornes
add interface=ether14 list=network1
add interface=ether16 list=Bornes
add interface=ether17 list=Bornes
add interface=ether18 list=LAN
add interface=ether19 list=network1
add interface=ether20 list=network1
add interface=ether26 list=Bornes
add interface=ether27 list=network1
add interface=ether28 list=network1
add interface=ether29 list=Dante
add interface=ether30 list=Dante
add interface=ether31 list=Dante
add interface=ether33 list=network1
add interface=ether34 list=network1
add interface=ether35 list=network1
add interface=ether37 list=network1
add interface=ether38 list=network1
add interface=ether40 list=network1
add interface=ether41 list=network1
add interface=ether42 list=Bornes
add interface=ether43 list=network1
add interface=ether44 list=network1
add interface=ether45 list=network1
add interface=ether46 list=network1
add interface=ether47 list=network1
add interface=ether48 list=Bornes
add interface=sfp-sfpplus1 list=WAN
add interface=sfp-sfpplus4 list=Trunk
/ip address
add address=192.168.1.2/24 interface=vlan1 network=192.168.1.0
add address=192.168.20.2/24 comment=Dante interface=vlan30 network=192.168.20.0
add address=192.168.16.2/22 comment=network1 interface=vlan20 network=192.168.16.0
add address=192.168.12.2/22 comment=Guest interface=vlan10 network=192.168.12.0
add address=192.168.88.1/24 interface=ether49 network=192.168.88.0
/ip dhcp-server config
set store-leases-disk=never
/ip dns
set servers=9.9.9.9,1.1.1.1,8.8.8.8
/ip ipsec profile
set [ find default=yes ] dpd-interval=2m dpd-maximum-failures=5
/ip route
add disabled=no dst-address=0.0.0.0/0 gateway=192.168.1.1 routing-table=main suppress-hw-offload=no
/ip smb shares
set [ find default=yes ] directory=/flash/pub
/routing bfd configuration
add disabled=no
/system clock
set time-zone-name=Europe/Paris
/system identity
set name=MikroTik-CRS
