How configure a point to point connection?
sce.tech at imrcom.fr
Mon Mar 19 11:03:03 UTC 2018
I want to add a public IP of my hosting provider to a FreeBSD VM. To do
this I have to reach a remote gateway with a point to point connection
but I didn't how how to do that on FreeBSD. Under Debian GNU/Linux, I
just have to add the gateway to the "pointopoint" parameters in
iface eth0 inet static
I tried the following commands:
ifconfig vtnet0 inet my.public.ip my.provider.gw netmask 255.255.255.255
route add default my.provider.gw
When I tried to add the default route, I get "Network is unreachable".
How can I have this config under FreeBSD?
More information about the freebsd-questions