Just trying to migrate my workstation to qubes for more security and needs HVM OS (Such as Ubuntu, Kali, BSD, etc) and i having too much problems to setup the network. Both sys-firewall and sys-whonix doesn’t work on my Kali HVM, BSD HVM and Ubuntu HVM. The only HVM that i succesfull set up the network was Windows 11, but i didn’t have to do nothing, the DHCP worked fine with Windows HVM.
Will use my Kali HVM with sys-whonix as a base to this topic:
Kali HVM Net qube:
IP: 10.137.0.24
Netmask: 255.255.255.255
Gateway: 10.137.0.18
Virtual DNS: 10.139.1.1, 10.139.1.2
I already tried too many combinations on my Kali HVM and none of them worked. Such as:
Address: 10.137.0.18/10.137.0.19
Netmask: 255.255.255.255/255.0.0.0/255.255.192.0
Gateway: 10.137.0.18
DNS Servers: 10.137.0.18
When i do ping 1.1.1.1, it returns:
From 10.137.0.18 1cmp_seq=3 Destination Host Unreachable
When i do ping qubes-os.org, it returns:
ping: qubes-os.org: Temporary failure in name resolution
Can anyone help me to setup the network on my qube?
The Kali HVM settings tells you that the assigned IP is 10.137.0.24 based on what you provided. That’s the one you need to use for it to work properly.
Yes. I put the following settings:
Address: 10.137.0.24
Netmask: 255.255.255.255, 255.255.192.0, 255.0.0.0 (i saw in another topic that put 255.0.0.0 could solve the problem, and “255.255.192.0” i used Vbox whonix settings as reference.
Gateway: 10.137.0.30
DNS Servers: 10.137.0.30
You have to follow what the Kali HVM settings is giving you. The gateway here is not 10.138.30.230 but 10.137.0.18.
Also, the first DNS IP is incorrect. Replace 137 with 139.
The photo that i send i just tried anothers combinations. Like putting the gateway IP as DNS server inside of Kali HVM to test if it would work, like it works on Vbox. And the DNS IP was my error, sorry. My actual network cfg is:
Address: 10.137.0.24
Netmask: 255.255.255.255
Gateway: 10.137.0.18
DNS servers: 10.139.1.1, 10.139.1.2
Tried changing the Netmask IP too, i saw in another topic that use 255.0.0.0 as netmask was a good idea and could solve the problem, but didn’t work too.
Are you still getting an unreachable error with this setup?
Can you try following the same process for your other HVMs and see if they are able to get connectivity with their own values? If they do, it’s probably a problem with Kali itself, even if it should work.