Networking set up in FreeBSD Standalone VM

I have setup a FreeBSD Standalone VM on my Qubes setup and I am not able to get networking working on it.

Ping to sys-firewall gateway always fails.

Here is the information as per StandaloneVM Basic settings.

IP: 10.137.0.19
Netmask:255.255.255.255
Gateway: 10.138.29.184
vDNS: 10.139.1.1, 10.139.1.2

Articles I have referred to:

  1. Routing table examples

  2. Standalone and HVMs

  3. OpenBSD Networking FAQ

  4. FreeBSD- Networking

Here is my FreeBSD VM /etc/rc.conf setup:

hostname=“BSD”
ifconfig_xn0=“inet 10.137.0.19 netmask 255.255.255.255”
defaultrouter=“10.138.29.184”

Here is my /etc/resolv.conf setup

search google.com
nameserver 8.8.8.8
nameserver 10.139.1.2

I had previously set my nameserver to 10.139.1.1 with no changes in the outcome.

I also tried using sys-net as my gateway with corresponding changes to my rc.conf setup. I was able to ping sys-net once. Never again.

I have changed the netmask to 255.255.255.0 with no success.

According to another topic, specify 255.255.255.0 for the netmask.

I just booted from 13.1:

1 Like

Brilliant! It was the combination of netmask and gateway that did the trick.

i switched to 10.137.0.3 as you had suggested.

Still cannot figure GUI though.

1 Like