Community discussions

MikroTik App
 
gg35
just joined
Topic Author
Posts: 1
Joined: Sun Jun 30, 2024 11:05 am

vlans and routeros

Sun Jun 30, 2024 7:20 pm

Hi there,
New to routeros, i'm trying to understand how to ping beetween 192.168.32.0/24 and 192.168.33.0/24
what's wrong with this ? am i missing something ?

each hosts are plugged to a switch , each switch to the router
# 1970-01-02 00:12:11 by RouterOS 7.15.2
# software id = 5QYL-5UZ6
#
# model = CCR1072-1G-8S+
# serial number = HEC08VF99QR
/interface bridge
add frame-types=admit-only-vlan-tagged name=bridge1 port-cost-mode=short vlan-filtering=yes
/interface ethernet
set [ find default-name=ether1 ] advertise=10M-baseT-half,10M-baseT-full,100M-baseT-half,100M-baseT-full,1G-baseT-half,1G-baseT-full,2.5G-baseT,5G-baseT,10G-baseT
/interface vlan
add interface=bridge1 name=MGMT vlan-id=8
add interface=bridge1 name=VLAN_AGENTS vlan-id=3
add interface=bridge1 name=VLAN_SERVEURS vlan-id=2
/interface lte apn
set [ find default=yes ] ip-type=ipv4 use-network-apn=no
/port
set 0 name=serial0
set 1 name=serial1
/interface bridge port
add bridge=bridge1 frame-types=admit-only-vlan-tagged interface=sfp-sfpplus1 internal-path-cost=10 path-cost=10
add bridge=bridge1 frame-types=admit-only-vlan-tagged interface=sfp-sfpplus2 internal-path-cost=10 path-cost=10
add bridge=bridge1 frame-types=admit-only-vlan-tagged interface=sfp-sfpplus3 internal-path-cost=10 path-cost=10
add bridge=bridge1 frame-types=admit-only-vlan-tagged interface=sfp-sfpplus4 internal-path-cost=10 path-cost=10
add bridge=bridge1 frame-types=admit-only-vlan-tagged interface=sfp-sfpplus5 internal-path-cost=10 path-cost=10
add bridge=bridge1 frame-types=admit-only-vlan-tagged interface=sfp-sfpplus6 internal-path-cost=10 path-cost=10
add bridge=bridge1 frame-types=admit-only-vlan-tagged interface=sfp-sfpplus7 internal-path-cost=10 path-cost=10
/ip firewall connection tracking
set udp-timeout=10s
/ip settings
set max-neighbor-entries=8192
/ipv6 settings
set disable-ipv6=yes max-neighbor-entries=8192
/interface bridge vlan
add bridge=bridge1 tagged=bridge1,sfp-sfpplus1,sfp-sfpplus2,sfp-sfpplus3,sfp-sfpplus4,sfp-sfpplus5,sfp-sfpplus6,sfp-sfpplus7 vlan-ids=3
add bridge=bridge1 tagged=bridge1,sfp-sfpplus1,sfp-sfpplus2,sfp-sfpplus3,sfp-sfpplus4,sfp-sfpplus5,sfp-sfpplus6,sfp-sfpplus7 vlan-ids=2
add bridge=bridge1 tagged=bridge1,sfp-sfpplus1,sfp-sfpplus2,sfp-sfpplus3,sfp-sfpplus4,sfp-sfpplus5,sfp-sfpplus6,sfp-sfpplus7 vlan-ids=8
/interface ovpn-server server
set auth=sha1,md5
/ip address
add address=192.168.38.200/24 interface=MGMT network=192.168.38.0
add address=192.168.32.200/24 interface=VLAN_SERVEURS network=192.168.32.0
add address=192.168.33.200/24 interface=VLAN_AGENTS network=192.168.33.0
/routing bfd configuration
add disabled=no interfaces=all min-rx=200ms min-tx=200ms multiplier=5
/system identity
set name=RouterOS
/system note
set show-at-login=no
 
neki
Member Candidate
Member Candidate
Posts: 250
Joined: Thu Sep 07, 2023 10:20 am

Re: vlans and routeros

Sun Jun 30, 2024 8:15 pm

Try to remove frame-types=admit-only-vlan-tagged from the bridge.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 22202
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: vlans and routeros  [SOLVED]

Sun Jun 30, 2024 9:15 pm