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