I already setup so many times HVM’s network, like Debian, Kali, BSD, etc. I mad a new fresh install of Qubes OS R4.2.4 and i just can’t configure my internet on HVM’s qubes anymore. I put correctly the IP Address, Gateway and DNS Servers from Qube Manager, already tried so many different netmasks like 255.0.0.0, 255.255.255.0, 255.255.255.255, etc, and none of them worked. I trying to set up a sys-whonix network on Kali VM. However, i tried to do the same thing on W10 Qube. Normally, i don’t need to set up anything, since Windows already recognize the Ip Address and DNS, so i get internet connection without trying to set up it manually. However, now it just doesn’t work automatically. Tried to set it up manually too, and again, not success. Someone can help me to figure out what’s happening?
Can someone help???
The most straightforward route is to set the netmask to 255.0.0.0
There is an issue with setting netvm to sys-whonix, which has been
discussed before.
You could try setting /proc/sys/net/ipv4/arp_ignore to 1
in sys-whonix , which will make the arp policy less strict, but may
help connections.
I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.
When i try to run sudo sysctl -w net.ipv4.arp_ignore=1
, it returns:
sysctl: cannot stat /proc/sys/net/ipv4/arp_ignore: No such file or directory
zsh: exit 1 sudo sysctl -w net.ipv4.arp_ignore=1
Already tried with netmask 255.0.0.0. And you’re right. I thought before that the problem were happening in all netvms, but this is just happening with sys-whonix. With sys-firewall, both Kali and W10 network has succesfully connected to the internet. In the W10 Qube, i didn’t even had to setup it manually. Any more thoughts? I don’t have idea
Where are you running this command? From reading, it should exist in
sys-whonix.
Take a look here
In sys-whonix. This guide is probably very outdaded, since 99_user.conf doesn’t even exists here. Just 99-sysctl.conf. Arp_ignore doesn’t exists inside 99-sysctl.conf. I don’t know if its a problem on mine whonix template or something like that. Others things that i noticed is the fact that i don’t have sysmaint too. Whatever is this, i just cannot use whonix gateway on none workstation i need. Doesn’t work on bsd, windows, linux, nothing. Just default qubes that come with the qubes installation. I already used so many installations of Qubes and never had any problems with whonix usage on custom workstations. Never had to disable arp policy, nothing. So i guess the problem is my gateway, which is the default one that comes when you install Qubes OS R4.2.4 ISO.
Nevermind. I’m just so stupid. I realized that the 99_user.conf is not supposed to exist. You have to create it yourself with sudo nano /etc/sysctl.d/99_user.conf
inside whonix gateway template and type net.ipv4.conf.*.arp_ignore=1
. Just press CTRL + S to save and CTRL + X to exit and restart your sys-whonix Qube. Now, it work as expected. Sorry for this misinterpretation