Community discussions

MikroTik App
 
quantion
just joined
Topic Author
Posts: 2
Joined: Wed Mar 01, 2023 12:46 pm

Help needed: forward traffic from one port to other 3

Wed Mar 01, 2023 5:09 pm

Hi there,

I'm struggling with setting up my device. Need help.

Here is what I'm trying to achieve:

I have 5 physical interfaces with the following IP addresses:

Physical ether1 (management): 10.2.10.10/16
Physical ether2 (video encoder): 10.2.100.1/16
Physical ether3 (net 1): 10.2.3.1/16
Physical ether4 (net 2): 10.2.4.1/16
Physical ether5 (net 3): 10.2.5.1/16

Physical ether1 will be the router's management port. No problem with that.
Physical ether2 - video encoder with IP 10.2.100.2 (video encoder can do up to 4 streams but have only one physical interface), which should be streaming to:
Physical ether3: to IP 10.2.2.11 UDP 5000.
Physical ether4: to IP 10.2.2.90 UDP 2314.
Physical ether5: to IP 224.23.0.113 UDP 1234.

Interfaces 3, 4, and 5 should be isolated networks. So no communication between those.

With Torch, I can see the streams going on interface ether2, but any attempt to route the streams to desired physical interfaces resulted in no success.

Please, guide me in the correct direction. Thank you.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19099
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Help needed: forward traffic from one port to other 3

Wed Mar 01, 2023 8:22 pm

Well its plain to see,based on the provided info, you should repeat what you did for ether2, for ether3 and ether4! :-)
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 2983
Joined: Mon Apr 08, 2019 1:16 am

Re: Help needed: forward traffic from one port to other 3

Wed Mar 01, 2023 8:44 pm

Look again to the /16 !

Everything in the range 10.2.0.0 till 10.2.255.254 , it is all one and the same subnet here, except the 224 (broadcast?) address.
AFAIK no routing will be done between interfaces of the same subnet, they are supposed to be bridged here.
The /16 probably is or has to be /24, and the ethernets not connected to a bridge.
 
quantion
just joined
Topic Author
Posts: 2
Joined: Wed Mar 01, 2023 12:46 pm

Re: Help needed: forward traffic from one port to other 3

Thu Mar 02, 2023 12:12 pm

Well its plain to see,based on the provided info, you should repeat what you did for ether2, for ether3 and ether4! :-)
Well, I did things I found on the forum like 1 LAN (Encoder) to 2 WAN (assuming the WAN are isolated ports), and everything ChatGPT suggested.
As I'm new to MikroTik, I tried different configs and reverted so many times, that now I can not tell exactly what I deed...

Now, again, I have a clean config.
Look again to the /16 !

Everything in the range 10.2.0.0 till 10.2.255.254 , it is all one and the same subnet here, except the 224 (broadcast?) address.
AFAIK no routing will be done between interfaces of the same subnet, they are supposed to be bridged here.
The /16 probably is or has to be /24, and the ethernets not connected to a bridge.
No, I do not need a bridge. The interfaces should have designated IP addresses and isolation. The 224 one is a multicast stream. I need to redirect the specific stream from port 2 to the other physical ports.
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 2983
Joined: Mon Apr 08, 2019 1:16 am

Re: Help needed: forward traffic from one port to other 3

Thu Mar 02, 2023 2:27 pm

No, I do not need a bridge. The interfaces should have designated IP addresses and isolation.
Routing will not work if all interfaces are the same /16 subnet. What is the case in your config: /16 means that only 10.2 defines the network/subnet (netmask 255.255.0.0) , the rest is per host/device)

Who is online

Users browsing this forum: Amazon [Bot] and 40 guests