On Thu, Dec 26, 2019 at 11:47:37AM +0000, 'awokd' via qubes-users wrote:
>There's a brief discussion at
https://www.qubes-os.org/doc/networking/,
>but there may be more detailed notes in the source code for Qubes' VM
>networking components. Qubes uses Xen's networking, so that might be the
>best place to begin research.
What responsibilties does sys-net have in terms of forwarding DNS? The
documentation specifies how things work for AppVMs, and it says there is
no DNS server in the "network driver domain" (sys-net), but it does not
say what sys-net actually has to do.
Also, the docs don't appear to be entirely accurate. The documentation
specifies a fairly complex set of routing tabels for the "network driver
domain" (sys-net, I assume), but the actual routing table on my sys-net
is fairly simple
The table from the documentation:
Destination Gateway Genmask Flags Metric Ref Use Iface
10.137.0.16 0.0.0.0 255.255.255.255 UH 0 0 0 vif4.0
10.137.0.7 0.0.0.0 255.255.255.255 UH 0 0 0 vif10.0
10.137.0.9 0.0.0.0 255.255.255.255 UH 0
[... many lines removed ...]
192.168.0.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
The table from my sys-net:
[user@sys-net ~]$ sudo ip route
[user@sys-net ~]$ sudo route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default _gateway 0.0.0.0 UG 600 0 0 wls7
10.137.0.5 0.0.0.0 255.255.255.255 UH 32747 0 0 vif5.0
192.168.0.0 0.0.0.0 255.255.255.0 U 600 0 0 wls7
It looks like the documentation is assuming sys-net has many more
virtual NICs than it actually does?