I have an RB5009 and a CRS310 directly connected via a fiber connection (SFP1-SFP1)
On both router and switch I have VLAN2225 created as a tagged VLAN on both devices. On the RB5009, VLAN2225 IP address is, 192.168.25.1/24, which is the gateway. On the CRS310 VLAN2225 is 192.168.25.3/24. The RB5009 is using MT's default fw rules. The CRS310 in router mode (no SWOS available for this device) has no fw rules enabled. All configuration is on bridge.
If I try to ping the CRS310 ip address from the RB5009, the ping times out, and so does the ping from the CRS310 to the RB5009. I have tested this with and without fw rules enabled on the RB5009.
I have a client connected on the CRS310, port one, whose PVID is VLAN2225, which is successfully served a correct IP address from the gateway. The client can ping the gateway, but not the VLAN2225 IP on the CRS310.
These devices are not connected to the internet, as I am attempting to test in a standalone environment. I have attached the configs for both devices. I have read documents and watched numerous videos, and feel the config is correct. But, who knows.. Any feedback appreciated.
As an aside question. On the RB5009, I have removed port 3 from bridge, and added it to bridge1, with PVID2225. Am I wrong in assuming the the client connected to the port get an IP address in VLAN2225?
RB5009
# 1970-01-02 03:01:03 by RouterOS 7.13.1
# software id = N5MJ-6GLN
#
# model = RB5009UG+S+
# serial number
/interface bridge
add admin-mac=78:9A:18:5D:E6:A0 auto-mac=no comment=defconf name=bridge
add name=bridge1 vlan-filtering=yes
/interface vlan
add interface=sfp-sfpplus1 name=vlan2225 vlan-id=2225
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
add name=pool1 ranges=192.168.225.55-192.168.225.254
/ip dhcp-server
add address-pool=default-dhcp interface=bridge lease-time=10m name=defconf
add address-pool=pool1 interface=vlan2225 name=server-2225
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=ether6
add bridge=bridge comment=defconf interface=ether7
add bridge=bridge comment=defconf interface=ether8
add bridge=bridge comment=defconf interface=sfp-sfpplus1
add bridge=bridge1 interface=ether3 pvid=2225
/ip neighbor discovery-settings
set discover-interface-list=LAN protocol=mndp
/interface bridge vlan
add bridge=bridge1 tagged=sfp-sfpplus1 untagged=ether3 vlan-ids=2225
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=\
192.168.88.0
add address=192.168.225.1/24 interface=vlan2225 network=192.168.225.0
/ip dhcp-client
add comment=defconf interface=ether1
/ip dhcp-server lease
add address=192.168.225.29 client-id=1:0:24:54:79:f2:e4 mac-address=\
00:24:54:79:F2:E4 server=server-2225
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf dns-server=192.168.88.1 gateway=\
192.168.88.1
add address=192.168.225.0/24 gateway=192.168.225.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 comment=defconf name=router.lan
/ip firewall filter
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 ICMP" protocol=icmp
add action=accept chain=input comment=\
"defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1
add action=drop chain=input comment="defconf: drop all not coming from LAN" \
in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" \
ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" \
ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
connection-state=established,related hw-offload=yes
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 all from WAN not DSTNATed" connection-nat-state=!dstnat \
connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" \
ipsec-policy=out,none out-interface-list=WAN
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/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
/ipv6 firewall filter
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=input comment="defconf: accept UDP traceroute" port=\
33434-33534 protocol=udp
add action=accept chain=input comment=\
"defconf: accept DHCPv6-Client prefix delegation." dst-port=546 protocol=\
udp src-address=fe80::/10
add action=accept chain=input comment="defconf: accept IKE" dst-port=500,4500 \
protocol=udp
add action=accept chain=input comment="defconf: accept ipsec AH" protocol=\
ipsec-ah
add action=accept chain=input comment="defconf: accept ipsec ESP" protocol=\
ipsec-esp
add action=accept chain=input comment=\
"defconf: accept all that matches ipsec policy" ipsec-policy=in,ipsec
add action=drop chain=input comment=\
"defconf: drop everything else not coming from LAN" in-interface-list=\
!LAN
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=drop chain=forward comment="defconf: rfc4890 drop hop-limit=1" \
hop-limit=equal:1 protocol=icmpv6
add action=accept chain=forward comment="defconf: accept ICMPv6" protocol=\
icmpv6
add action=accept chain=forward comment="defconf: accept HIP" protocol=139
add action=accept chain=forward comment="defconf: accept IKE" dst-port=\
500,4500 protocol=udp
add action=accept chain=forward comment="defconf: accept ipsec AH" protocol=\
ipsec-ah
add action=accept chain=forward comment="defconf: accept ipsec ESP" protocol=\
ipsec-esp
add action=accept chain=forward comment=\
"defconf: accept all that matches ipsec policy" ipsec-policy=in,ipsec
add action=drop chain=forward comment=\
"defconf: drop everything else not coming from LAN" in-interface-list=\
!LAN
/system identity
set name=RB5009
/system note
set show-at-login=no
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
CRS310
# 1970-01-02 03:09:19 by RouterOS 7.13.1
# software id = 81WK-S9AL
#
# model = CRS310-8G+2S+
# serial number =
/interface bridge
add admin-mac=78:9A:18:3F:C5:A3 auto-mac=no comment=defconf name=bridgeLocal \
port-cost-mode=short vlan-filtering=yes
/interface vlan
add interface=sfp-sfpplus1 name=vlan2225 vlan-id=2225
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/port
set 0 name=serial0
/interface bridge port
add bridge=bridgeLocal comment=defconf interface=ether1 internal-path-cost=10 \
path-cost=10 pvid=2225
add bridge=bridgeLocal comment=defconf interface=ether2 internal-path-cost=10 \
path-cost=10 pvid=2225
add bridge=bridgeLocal comment=defconf interface=ether3 internal-path-cost=10 \
path-cost=10
add bridge=bridgeLocal comment=defconf interface=ether4 internal-path-cost=10 \
path-cost=10
add bridge=bridgeLocal comment=defconf interface=ether5 internal-path-cost=10 \
path-cost=10
add bridge=bridgeLocal comment=defconf interface=ether6 internal-path-cost=10 \
path-cost=10
add bridge=bridgeLocal comment=defconf interface=ether7 internal-path-cost=10 \
path-cost=10
add bridge=bridgeLocal comment=defconf interface=ether8 internal-path-cost=10 \
path-cost=10
add bridge=bridgeLocal comment=defconf interface=sfp-sfpplus1 \
internal-path-cost=10 path-cost=10
add bridge=bridgeLocal comment=defconf interface=sfp-sfpplus2 \
internal-path-cost=10 path-cost=10
/ip neighbor discovery-settings
set protocol=mndp
/interface bridge vlan
add bridge=bridgeLocal tagged=sfp-sfpplus1 untagged=ether1,ether2 vlan-ids=\
2225
/ip address
add address=192.168.225.3/24 interface=vlan2225 network=192.168.225.0
/ip dhcp-client
add comment=defconf interface=bridgeLocal
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/system identity
set name=CRS310-8
/system logging
add topics=interface
add topics=debug
add topics=state
add topics=route
/system note
set show-at-login=no
/system routerboard settings
set boot-os=router-os
/system swos
set address-acquisition-mode=static static-ip-address=192.168.88.4
On both router and switch I have VLAN2225 created as a tagged VLAN on both devices. On the RB5009, VLAN2225 IP address is, 192.168.25.1/24, which is the gateway. On the CRS310 VLAN2225 is 192.168.25.3/24. The RB5009 is using MT's default fw rules. The CRS310 in router mode (no SWOS available for this device) has no fw rules enabled. All configuration is on bridge.
If I try to ping the CRS310 ip address from the RB5009, the ping times out, and so does the ping from the CRS310 to the RB5009. I have tested this with and without fw rules enabled on the RB5009.
I have a client connected on the CRS310, port one, whose PVID is VLAN2225, which is successfully served a correct IP address from the gateway. The client can ping the gateway, but not the VLAN2225 IP on the CRS310.
These devices are not connected to the internet, as I am attempting to test in a standalone environment. I have attached the configs for both devices. I have read documents and watched numerous videos, and feel the config is correct. But, who knows.. Any feedback appreciated.
As an aside question. On the RB5009, I have removed port 3 from bridge, and added it to bridge1, with PVID2225. Am I wrong in assuming the the client connected to the port get an IP address in VLAN2225?
RB5009
# 1970-01-02 03:01:03 by RouterOS 7.13.1
# software id = N5MJ-6GLN
#
# model = RB5009UG+S+
# serial number
/interface bridge
add admin-mac=78:9A:18:5D:E6:A0 auto-mac=no comment=defconf name=bridge
add name=bridge1 vlan-filtering=yes
/interface vlan
add interface=sfp-sfpplus1 name=vlan2225 vlan-id=2225
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
add name=pool1 ranges=192.168.225.55-192.168.225.254
/ip dhcp-server
add address-pool=default-dhcp interface=bridge lease-time=10m name=defconf
add address-pool=pool1 interface=vlan2225 name=server-2225
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=ether6
add bridge=bridge comment=defconf interface=ether7
add bridge=bridge comment=defconf interface=ether8
add bridge=bridge comment=defconf interface=sfp-sfpplus1
add bridge=bridge1 interface=ether3 pvid=2225
/ip neighbor discovery-settings
set discover-interface-list=LAN protocol=mndp
/interface bridge vlan
add bridge=bridge1 tagged=sfp-sfpplus1 untagged=ether3 vlan-ids=2225
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=\
192.168.88.0
add address=192.168.225.1/24 interface=vlan2225 network=192.168.225.0
/ip dhcp-client
add comment=defconf interface=ether1
/ip dhcp-server lease
add address=192.168.225.29 client-id=1:0:24:54:79:f2:e4 mac-address=\
00:24:54:79:F2:E4 server=server-2225
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf dns-server=192.168.88.1 gateway=\
192.168.88.1
add address=192.168.225.0/24 gateway=192.168.225.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 comment=defconf name=router.lan
/ip firewall filter
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 ICMP" protocol=icmp
add action=accept chain=input comment=\
"defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1
add action=drop chain=input comment="defconf: drop all not coming from LAN" \
in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" \
ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" \
ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
connection-state=established,related hw-offload=yes
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 all from WAN not DSTNATed" connection-nat-state=!dstnat \
connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" \
ipsec-policy=out,none out-interface-list=WAN
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/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
/ipv6 firewall filter
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=input comment="defconf: accept UDP traceroute" port=\
33434-33534 protocol=udp
add action=accept chain=input comment=\
"defconf: accept DHCPv6-Client prefix delegation." dst-port=546 protocol=\
udp src-address=fe80::/10
add action=accept chain=input comment="defconf: accept IKE" dst-port=500,4500 \
protocol=udp
add action=accept chain=input comment="defconf: accept ipsec AH" protocol=\
ipsec-ah
add action=accept chain=input comment="defconf: accept ipsec ESP" protocol=\
ipsec-esp
add action=accept chain=input comment=\
"defconf: accept all that matches ipsec policy" ipsec-policy=in,ipsec
add action=drop chain=input comment=\
"defconf: drop everything else not coming from LAN" in-interface-list=\
!LAN
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=drop chain=forward comment="defconf: rfc4890 drop hop-limit=1" \
hop-limit=equal:1 protocol=icmpv6
add action=accept chain=forward comment="defconf: accept ICMPv6" protocol=\
icmpv6
add action=accept chain=forward comment="defconf: accept HIP" protocol=139
add action=accept chain=forward comment="defconf: accept IKE" dst-port=\
500,4500 protocol=udp
add action=accept chain=forward comment="defconf: accept ipsec AH" protocol=\
ipsec-ah
add action=accept chain=forward comment="defconf: accept ipsec ESP" protocol=\
ipsec-esp
add action=accept chain=forward comment=\
"defconf: accept all that matches ipsec policy" ipsec-policy=in,ipsec
add action=drop chain=forward comment=\
"defconf: drop everything else not coming from LAN" in-interface-list=\
!LAN
/system identity
set name=RB5009
/system note
set show-at-login=no
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
CRS310
# 1970-01-02 03:09:19 by RouterOS 7.13.1
# software id = 81WK-S9AL
#
# model = CRS310-8G+2S+
# serial number =
/interface bridge
add admin-mac=78:9A:18:3F:C5:A3 auto-mac=no comment=defconf name=bridgeLocal \
port-cost-mode=short vlan-filtering=yes
/interface vlan
add interface=sfp-sfpplus1 name=vlan2225 vlan-id=2225
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/port
set 0 name=serial0
/interface bridge port
add bridge=bridgeLocal comment=defconf interface=ether1 internal-path-cost=10 \
path-cost=10 pvid=2225
add bridge=bridgeLocal comment=defconf interface=ether2 internal-path-cost=10 \
path-cost=10 pvid=2225
add bridge=bridgeLocal comment=defconf interface=ether3 internal-path-cost=10 \
path-cost=10
add bridge=bridgeLocal comment=defconf interface=ether4 internal-path-cost=10 \
path-cost=10
add bridge=bridgeLocal comment=defconf interface=ether5 internal-path-cost=10 \
path-cost=10
add bridge=bridgeLocal comment=defconf interface=ether6 internal-path-cost=10 \
path-cost=10
add bridge=bridgeLocal comment=defconf interface=ether7 internal-path-cost=10 \
path-cost=10
add bridge=bridgeLocal comment=defconf interface=ether8 internal-path-cost=10 \
path-cost=10
add bridge=bridgeLocal comment=defconf interface=sfp-sfpplus1 \
internal-path-cost=10 path-cost=10
add bridge=bridgeLocal comment=defconf interface=sfp-sfpplus2 \
internal-path-cost=10 path-cost=10
/ip neighbor discovery-settings
set protocol=mndp
/interface bridge vlan
add bridge=bridgeLocal tagged=sfp-sfpplus1 untagged=ether1,ether2 vlan-ids=\
2225
/ip address
add address=192.168.225.3/24 interface=vlan2225 network=192.168.225.0
/ip dhcp-client
add comment=defconf interface=bridgeLocal
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/system identity
set name=CRS310-8
/system logging
add topics=interface
add topics=debug
add topics=state
add topics=route
/system note
set show-at-login=no
/system routerboard settings
set boot-os=router-os
/system swos
set address-acquisition-mode=static static-ip-address=192.168.88.4
Statistics: Posted by wcj2023 — Sun Jan 14, 2024 5:49 pm