Community discussions

MikroTik App
 
lamprop
just joined
Topic Author
Posts: 2
Joined: Fri Jul 01, 2022 12:24 pm

Configure Mikrotik to do switching and routing at the same time

Fri Feb 24, 2023 11:42 am

Hello

I have a WAN connection from a wireless antenna. The antenna is connected to a switch (AT-8000s, interface eth1 trunk vlans 226,227) and forwards traffic to 2 MikroTik routers that connect to ospf network.

The configuration of AT-8000s is the following:
vlan database
vlan 226,227
exit
interface ethernet e1
switchport mode trunk
switchport trunk allowed vlan add 226
switchport trunk allowed vlan add 227
exit
interface ethernet e2
switchport mode access
switchport access vlan 226
exit
interface ethernet e3
switchport mode access
switchport access vlan 227
The switch has broken, so if I connect the antenna to the first MikroTik how can I achieve the same setup, so that interface ether5 of MikroTik is trunk and ether1 forwards vlan 227 to other MikroTik (and which interface should then be the ospf interface)?
Here is a simple diagram of my topology (what I want to achieve is on the right side):
topology.png
The MikroTik 1 configuration is the following:
/ip address
add address=10.0.0.66/29 interface=ether5 network=10.0.0.64
/routing ospf instance
set [find default=yes] redistribute-static=as-type-2 router-id=10.0.0.66
/routing ospf interface
add interface=ether5 network-type=point-to-point
/routing ospf network
add area=area100 network=10.0.0.64/29
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: toffline and 69 guests