help with routing

Hello
i want to setup a mikrotik routerboard as router in front of some web servers.
The instructions of the datacenter is this:
give to the WAN of router ip: 2xx.xxx.xxx.xx2/32
put a routing rule so the traffic for 1xx.xxx.xxx.1 go via interface ether1 (the wan interface)
put the default routing to gateway 1xx.xxx.xxx.1

Until now i have a linux box and the above configuration it is fine.
Now i want to replace this
Here is my route config

I can ping the gateway but there is no internet access, seems that the rule for default gateway not working.
Can anyone tell me what is wrong? The routerboard cant do this config?
Thanks

I actually misread your post. You have a /32, not /30… I will post another answer for the /32.

Lets say your WAN block is 2.0.0.0/30 and your LAN block is 1.0.0.0/24. Your ISP is using 2.0.0.1 and they tell you to assign 2.0.0.2 to your interface (lets say ether1).

You would assign 2.0.0.2/30 to ether1 and add a route of 0.0.0.0/0 with a gateway of 2.0.0.1.
/ip address add address=2.0.0.2/30 interface ether1

  • and -
    /ip route add dst-address=0.0.0.0/0 gateway=2.0.0.1

Now you have a block of 1.0.0.0/24 that you want to route. You would add the first IP to either an interface or a bridge that contains multiple interfaces.

/ip address add address=1.0.0.1/24 interface ether2

  • or -
    /ip address add address=1.0.0.1/24 interface bridge1

As long as your ISP has a route pointing to you containing your second block it will work. Your servers would use the Mikrotik as their gateway. Their gateway in this example is 1.0.0.1. This is basic routing. Another issue you may have is DNS.

From my previous response, I would change the following:

You would assign 2.0.0.2/32 to ether1 and add a route of 0.0.0.0/0 with a gateway of ether1.
/ip address add address=2.0.0.2/32 interface ether1

  • and -
    /ip route add dst-address=0.0.0.0/0 gateway=ether1

thanks but my case is different. My English is not good but i try to explain better.

my datacenter give me for example the ip: 222.0.0.212/32
but the gateway i have is: 111.0.0.1

The gateway are in different subnet.
In linux i can do with this:

auto eth0
iface eth0 inet static
address 222.0.0.212
netmask 255.255.255.255
route add 111.0.0.1 dev eth0
route add default gw 111.0.0.1

and it is working fine.
In mikrotik the similar config not working.
Here is my config of routes:

do you have any idea for this?