Community discussions

MikroTik App
 
barte91
just joined
Topic Author
Posts: 5
Joined: Thu Sep 05, 2024 5:12 pm

Problem on routing RB5900

Wed Jan 01, 2025 8:07 pm

Hi All,

I set up a lab on my home:
I've a
-router provider 192.168.1.254 (Vlan 10 - 192.168.1.0/24)

-Cisco Switch 192.168.1.250 - 192.168.7.254 - 192.168.5.254
-Port 1: connected to Router Provider - Access Vlan 10
-Port 2: connected to eth2 on RB5900 - Access Vlan 10
-Port 3: connected to eth4 on RB5009 - Trunk -native vlan 90 - allowed 5,7 (Vlan 90-MGMT-192.168.90.0/24 -- Vlan 5-PC-192.168.5.0/24 -- Vlan 7-PCWIFI-192.168.7.0/24)

-Routerboard RB5900
-LAN-Bridge contain eth4, this is in trunk with pvid 90, admit all
-WAN-Bridge contain eth2, no vlan filtering
I also add this route:
0.0.0.0/0 to 192.168.1.254

Now, all works fine, I can navigate with PC and have no error, but from WAN-Bridge I can't ping any address on LAN-Bridge
I need to set a port forwarding; i try to set it to 192.168.1.250 on port 22 and works fine, but I can't reach 192.168.7.254 on port 22

Traceroute from RB5009 from WAN-Bridge to 192.168.7.254
1 - 192.168.1.254
2 - 10.2.3.94
3 - timeout

Anyone can help me, please?
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 22215
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Problem on routing RB5900

Wed Jan 01, 2025 9:04 pm

I could try but do not understand your setup.
What seems to be true is that there is an upstream ISP modem/router that provides you with a private IP address.
For some strange reason you are feeding a cisco switch instead of the RB5009 directly.
Not sure why you are having multiple links from the switch to the RB5009 as this makes no sense to me???
If for some physical reason this has to be the way what you are doing appears to be a tad strange.

In other words first recommendation is remove cisco and perhaps use it after the RB5009 if more ports are required.

If not, then
a. Understand you want vlan10 to be "like" the incoming internet feed and thus
tag the feed from the ISP router with vlan10, and carry it through to the RB5009.
Trunk port from cisco to RB5009 .
I would then terminate that on the RB5009 and create as many vlans behind the RB5009 as required.
One would a management vlan, like vlan99 which the CISCO would also have on the trunk port and the CISCO would get its IP address on this subnet.
 
barte91
just joined
Topic Author
Posts: 5
Joined: Thu Sep 05, 2024 5:12 pm

Re: Problem on routing RB5900

Thu Jan 02, 2025 5:43 pm

Hi,

I've found an error config about my host! now all works fine

Thanks!!!