/31 subnet

Hi

I have been asked by my ISP to set a static IP on my router as

Static IP: 193.56.1.223
Subnet: 255.255.255.254

I’m pretty sure that means i need a network address of /31 but the router does seem to support it. In the Quick Set it only goes upto /30

Can anyone point me in the right direction to get this working please.

Mikrotiks don’t use the obvious syntax for support /31 addresses, instead you configure a /32 address but specify the other end as the network parameter:

/ip address add address=193.56.1.223 network=193.56.1.222 interface=

Hi,

Just factory reset the router to a base config and added that line in but still not working. This is what my router table looks like

[Router] /ip route> print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit

DST-ADDRESS PREF-SRC GATEWAY DISTANCE

0 DC 10.1.1.0/24 10.1.1.1 Guest-WiFi-VLan... 255
1 DC 10.200.253.0/24 10.200.253.1 ether5 (Public ... 255
2 ADC 192.168.20.0/24 192.168.20.1 ether4 (Seconda... 0
3 ADC 193.56.1.222/32 193.56.1.223 ether1 (Internet) 0
[Router] /ip route>

Any idea's

You need a default route too:

/ip route add gateway=193.56.1.222

This Is what should look like.
Ignore the 192.168.1.0 entry. (I have a GPON stick and that is the address to control it)

My static public address is: x.x.x.67
StaticIPRoute.PNG

Thanks, i should of realised that.

Its been added but still no internet access. I'm starting to think its an issue with ISP router we are connecting to

This is my route table now

[Router] > /ip route print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit

DST-ADDRESS PREF-SRC GATEWAY DISTANCE

0 A S 0.0.0.0/0 193.56.1.222 1
1 DC 10.1.1.0/24 10.1.1.1 Guest-WiFi-VLan... 255
2 DC 10.200.253.0/24 10.200.253.1 ether5 (Public ... 255
3 ADC 192.168.20.0/24 192.168.20.1 ether4 (Seconda... 0
4 ADC 193.56.1.222/32 193.56.1.223 ether1 (Internet) 0
[Router] >

Can you ping the ISP gateway from the Mikrotik itself, and if so tracroute any further?

Lack of internet access from your LAN could be missing/incorrect NAT rules.

If using DHCP on your LAN side, can you post IPCONFIG (Windows) or IFCONFIG (LINUX).

How are you determining “no internet”?

Getting DNS info correctly?
Try using 1.1.1.1 for DNS server.

Can you ping your target website by name AND by IP address?
mikrotik.com [159.148.172.205] for example.

@tdw, turns out the ISP’s router is running an L2TP VPN into their network to give us the static IP we needed ( Its a 5G router ). We had their router running in IP Pass through which killed that connection. Its all now re-established and we have Internet connectivity.

Thanks for the pointers.