Community discussions

MikroTik App
 
wifisquared
just joined
Topic Author
Posts: 1
Joined: Mon Sep 21, 2015 5:45 pm

Splitting a /24 public into several subnets

Mon Sep 21, 2015 6:24 pm

Hi,
I have a public /24 that is router to my router's serial IP (a public /30).
I want to route the /24 as a small subnet to 5 different locations (on 5 different interfaces on my RB). I do not want to bridge the interfaces, instead I want each interface to have a /26 or a /28 (depends on the location that is serviced by that interface).
Where do I begin?
The backbone from my ISP is on ETH1
Location 1 is ETH2 (will be assigned /28)
Location 2 is ETH3 (will be assigned /28)
Location 3 is ETH4 (will be assigned /26)
Location 4 is ETH5 (will be assigned /26)
Location 5 is ETH6 (will be assigned /26)

My public gateway is:
x.x.20.173/30

Where do I begin? I have searched and the only options so far that I have found is to bridge the /24 across all interfaces. This is not an option for me. I want to build a routed, not a bridged network.

Thanks
 
descartes
just joined
Posts: 21
Joined: Sun Sep 20, 2015 3:04 pm

Re: Splitting a /24 public into several subnets

Tue Sep 29, 2015 5:56 pm

Hi,
I have a public /24 that is router to my router's serial IP (a public /30).
I want to route the /24 as a small subnet to 5 different locations (on 5 different interfaces on my RB). I do not want to bridge the interfaces, instead I want each interface to have a /26 or a /28 (depends on the location that is serviced by that interface).
Where do I begin?
The backbone from my ISP is on ETH1
Location 1 is ETH2 (will be assigned /28)
Location 2 is ETH3 (will be assigned /28)
Location 3 is ETH4 (will be assigned /26)
Location 4 is ETH5 (will be assigned /26)
Location 5 is ETH6 (will be assigned /26)

My public gateway is:
x.x.20.173/30

Where do I begin? I have searched and the only options so far that I have found is to bridge the /24 across all interfaces. This is not an option for me. I want to build a routed, not a bridged network.

Thanks
Hi,

it is possible to split /24 network into smaller /28 or /26 as you said above, and when we do this, it would be in the routing mode, not in bridging mode.

To do this, we must assign each interface for each subnet we want:

x.x.20.174/30 -> ETH1

From ETH2 to ETH6, you split your /24 subnet, below is just an example, we can have different IP address for each interface:
x.x.x.1/28 -> ETH2
x.x.x.17/28 -> ETH3
x.x.x.65/26 -> ETH4
x.x.x.129/26 -> ETH5
x.x.x.193/26 -> ETH6

we have an unused /27 x.x.x.33 (to x.x.x.62)
Please remember for each Ethernet interface, the default route is different on the clients/users connected to that interface.

regards,