Public IP doesn't work?

Hi everyone,

I’m new to the MikroTik and computer network in general so please don’t be angry at me for asking some silly questions.
But I’m learning that stuff so hopefully I’ll increase my knowledge. :slight_smile:

Here is my problem…

I have a set of static IPs from my ISP:

xxx.xxx.160.224/29

So that means I have 6 available IPs, right?

xxx.xxx.160.225
xxx.xxx.160.226
xxx.xxx.160.227
xxx.xxx.160.228
xxx.xxx.160.229
xxx.xxx.160.230

xxx.xxx.160.224 - network address
xxx.xxx.160.231 - broadcast address

The problem is that when I tried to use xxx.xxx.160.225 IP as my public IP for the server, it wouldn’t work for some reason.
Then I started entering all the 6 IPs manually to my network card to test things out and discovered that xxx.xxx.160.225 doesn’t work and xxx.xxx.160.230 doesn’t work.
I discovered that xxx.xxx.160.225 is my gateway when I was entering the IPs manually to the network card.
But isn’t it supposed to be one of my regular public IPs that I can use?

Can someone please explain me why I can’t use .225 and .230 IPs? Is the .225 always gateway by default or something? The mystery is also why .230 doesn’t work?

I hope someone helps, thanks in advance!

Is like you have:

xxx.xxx.160.224 = network address - “unusable”
xxx.xxx.160.225 = IP on client side OR IP on ISP side - “unusable”
xxx.xxx.160.226 free to assign to one client device
xxx.xxx.160.227 free to assign to one client device
xxx.xxx.160.228 free to assign to one client device
xxx.xxx.160.229 free to assign to one client device
xxx.xxx.160.230 = IP on ISP side OR IP on client side - “unusable”
xxx.xxx.160.231 = broadcast address - “unusable”

You must BRIDGE (or switch, but you lose firewall) WAN ethernet with other ethernet where “free to assign to one client device” IP are putted.
That bridge must have or .225 or .230

But all of this is what appear from what you have writed.

Thank you rextended for your reply.

So why is my IPS telling me what I have 6 available IPs if I only have 4?
Let’s say that my WAN port is on ether7 and my local network is on ether1… I need to bridge those two and give the bridge the .225 IP address?

Can you please give me the code on how to do that?


Thank you

So why is my IPS telling me what I have 6 available IPs if I only have 4?

Are you sure the ISP not provide another /30 network for “PTP” between ISP and your router?

\

Let’s say that my WAN port is on ether7 and my local network is on ether1…
I need to bridge those two and give the bridge the .225 IP address?
Exactly (or .230 if the isp side are .225).

Can you please give me the code on how to do that?
Is easy to do on winbox, you already have the clear idea to what do.

Are you sure the ISP not provide another /30 network for “PTP” between ISP and your router?

I don’t know… How can I find that out?

And about bridging… Even if I bridge ether1 and ether7 and give it .230 address, I will still gave 5 addresses, not 6.

Need a bit more explanation :slight_smile:

for ip4 network range all the hosts in that Ethernet network has to have addresses from that one network. As a result 1 ip address will be always assigned to your ISP or you will have no network connectivity since that 1 address is going to be your gateway. And the gateway has to be from the network you are assigned to.

Thank you all very much for your help. Regards!