OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: Undergrid on April 02, 2019, 01:33:34 pm

Title: Configuring IPv4 networking in a Proxmox vm on a Hetzner dedicated server
Post by: Undergrid on April 02, 2019, 01:33:34 pm
Hi All,

I'm trying to install OPNsense in a Proxmox VM on a Hetzner dedicated server and I'm having an issue with IPv4 networking (IPv6 works fine however).

The issue is due to the fact that the IP address for the host machine is not in the /29 subnet I've got for virtual machines. While OPNsense accepts the IP address as the default gateway, it reports no route to host when I try and use IPv4.

Under Debian 9, I'd do something like the following (IP addresses changed for obvious reasons...)

Code: [Select]
iface ens18 inet static
         address 192.168.10.1
         netmask 255.255.255.255
         gateway 192.168.1.1
         pointtopoint 192.168.1.1

Assuming 192.168.10.1/29 as the VM ip addresses range and 192.168.1.1 as the server.

Is there a way to do something similar on OPNsense?

Thanks.