Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 21363

General • IP and route configuration for /28

$
0
0
Good day everyone!

I'm sorry if this question is an obvious one but I'm a little bit confused on how to configure my router (CCR2004-16G-2S+) with a /28.

I have been given this information by my ISP:
(of course I changed some information not to share my actual IPs)

IP: 180.2.220.48/28
Useable IP: 180.2.220.50 to 180.2.220.62
Gateway: 180.2.220.49
Mask: 255.255.255.240
DNS:202.96.134.100/202.96.134.101

I have a single ethernet cable coming from what they call their NTU as I want to route all traffic to/from my servers through my router.

I wanted to assigned the IP 180.2.220.50 to my router and the rest of the IPs to machines connected to my router.

I first assigned the IP 180.2.220.50/32 with network 180.2.220.49 to my interface connected to their NTU.

I then created a bridge (called "WAN") with IP address 180.2.220.48/28 (network 180.2.220.48).
That bridge includes all my ethernet ports for my servers as well as the interface connected to their NTU (with IP 180.2.220.50).

I then configured every connected machine to my router using either DHCP or manual configuration within the 180.2.220.51-180.2.220.62 range.
For my servers, I used this default route 0.0.0.0/0 with gateway 180.2.220.50.

It works but I have the feeling it's not properly configured as some response time are very high.

Routes that are dynamically generated on my router look like this:
0.0.0.0/0 with gateway 180.2.220.49 (manually entered)
180.2.220.48/28 with gateway %WAN
180.2.220.49/28 with gateway %WAN

I made a small drawing to explain the physical connection.
Could anyone give me some feedback if I'm doing anything wrong?
Should I use one of my IPs (180.2.220.51-180.2.220.62 range) for the bridge or using 180.2.220.48/28 is appropriate?

This is a small drawing of my physical setup.
physicalnetwork.png
Thank you!

Statistics: Posted by fcoulloudon — Fri Jan 12, 2024 1:27 pm



Viewing all articles
Browse latest Browse all 21363

Trending Articles