Community discussions

MikroTik App
 
itshim
just joined
Topic Author
Posts: 1
Joined: Thu Jun 02, 2022 3:55 pm

Subnet to ports

Thu Jun 02, 2022 4:09 pm

Hi everyone!

I'm new to Mikrotik routers, so my apologies for my simple or weir question. :-)

At this moment we use an old Juniper router to route a public /29 subnet to different ports.
I don't know what is the best/easiest way to configure this in Mikrotik.

Current setup;

ETH0; interface to our ISP;
Address 1.1.1.82/30

Interface with static route to ISP:
route 0.0.0.0/0 next-hop 1.1.1.81

All other interfaces (except ETH1 for management purposes);
address 2.2.2.185/29

On this interfaces, other users can connect their own router. For example with the following settings;
IP 2.2.2.188
Netmask 255.255.255.248
Gateway 2.2.2.185

*IP addresses (except last octet) randomized for privacy reasons.

Question;
How can i make sure i an use address 2.2.2.185/29 on all interfaces?

Thanks for helping me out!
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: Subnet to ports

Thu Jun 02, 2022 6:24 pm

It sounds like you want bridge containing all those interfaces and 2.2.2.185/29 on this bridge.
 
kevinds
Long time Member
Long time Member
Posts: 640
Joined: Wed Jan 14, 2015 8:41 am

Re: Subnet to ports

Tue Jun 07, 2022 2:03 am

From blank..

Create a bridge with all the ports except the one you are connecting to your ISP..

IP - Addresses
Add 2.2.2.185/29 to the bridge interface.
Assign 1.1.1.82/30 to the interface connected to your ISP.

IP - Route
0.0.0.0/0 gateway 1.1.1.81

Add firewall rules as desired, but the above will do what you are asking.

Who is online

Users browsing this forum: CGGXANNX, rextended and 38 guests