Archive > 15.1 Legacy Series

[SOLVED] Route to interface

<< < (2/2)

benmz:
Because the routing form only deals with destination IP route, but sometimes (specially with ppp or specific datacenters like here in France with Dedibox) your gateway is not an IP but an interface (set with the -link option in CLI command)
So in my case I got a /32 IP address on em0 a completely different /32 IP as a gateway which I need to set directly to the interface, and a default gateway pointing to that last gateway...

for exemple:

iface ifconfig em0 inet XX.XX.XX.XXX netmask 255.255.255.255
route add -inet 195.154.YYY.1/32 -link -iface em0
route add default 195.154.YYY.1

Does that answer your question ? Did I miss something in the GUI ?  :D

franco:
Ah, ok, seeing it now. That's worth putting into the GUI for sure.

Navigation

[0] Message Index

[*] Previous page

Go to full version