I need help setting up network and routing on a VM running proxmox at OVH.
The OVH documentation give a linux example that doesn't translate to FreeBSD:
I've tried to find the answer in the freebsd handbook, but it mostly covers use cases for gateways/routers.
VM hosts are on a proxmox software bridge with a gateway of 192.168.0.1
My assigned IP is: 51.79.123.123
My Freebsd host is 192.168.0.123 and can ping the proxmox machine at 192.168.0.1.
All outgoing traffic to/from the internet is supposed to go through the 192.168.0.1 gateway
rc.conf has the following:
hostname="myhostname.mydomainname.com"
defaultrouter="192.168.0.1"
ifconfig_vtnet0="inet 192.168.0.123 netmask 0xffffff00"
ifconfig_vtnet0_alias0="inet 51.79.123.123 netmask 0xffffffff"
static_routes="net1 net2"
route_net1="-net 51.79.123.123/32 -iface vtnet0"
route_net2="default 192.168.0.1"
Any ideas?
Thanks
The OVH documentation give a linux example that doesn't translate to FreeBSD:
Configuring the network on Proxmox VE on the High Grade, Scale & Advance ranges
Find out how to configure the network on Proxmox VE
help.ovhcloud.com
I've tried to find the answer in the freebsd handbook, but it mostly covers use cases for gateways/routers.
VM hosts are on a proxmox software bridge with a gateway of 192.168.0.1
My assigned IP is: 51.79.123.123
My Freebsd host is 192.168.0.123 and can ping the proxmox machine at 192.168.0.1.
All outgoing traffic to/from the internet is supposed to go through the 192.168.0.1 gateway
rc.conf has the following:
hostname="myhostname.mydomainname.com"
defaultrouter="192.168.0.1"
ifconfig_vtnet0="inet 192.168.0.123 netmask 0xffffff00"
ifconfig_vtnet0_alias0="inet 51.79.123.123 netmask 0xffffffff"
static_routes="net1 net2"
route_net1="-net 51.79.123.123/32 -iface vtnet0"
route_net2="default 192.168.0.1"
Any ideas?
Thanks