how to force mikrotik to route /32
Posted: Tue Apr 17, 2012 11:10 am
Hi,
I'm having this issue with a vps provider ..
the way they have their system configured for vps's to use public ip addresses is to route an /32 ip
so lets say we have an 1.1.1.1/32 ip address that needs to be routed through 2.2.2.2 gw
it works on linux via this config:
is there a way to force mt to route through that specific gw without adding an address within the gw network ?
Thanks
I'm having this issue with a vps provider ..
the way they have their system configured for vps's to use public ip addresses is to route an /32 ip
so lets say we have an 1.1.1.1/32 ip address that needs to be routed through 2.2.2.2 gw
it works on linux via this config:
Code: Select all
/etc/network/interfaces
auto lo eth0
iface lo inet loopback
iface eth0 inet static
address 1.1.1.1
netmask 255.255.255.255
broadcast 1.1.1.1
post-up route add 2.2.2.2 dev eth0
post-up route add default gw 2.2.2.2
Thanks