Hi !

On 04/30/2018 09:48 AM, [799] wrote:
> Hello,
> 
> I'm trying to understand where I can tweak my network configuration in a 
> fedora-26-min based AppVM.
> As far as I understand networking for eth0 is currently configured by DHCP 
> from the sys-firewall AppVM.
> 
> I am trying to understand how networking is configured.
> 
> Nomally I would expect to find the IP-configuration for eth0 in 
> /etc/sysconfig/network-scripts but there is only an ifcfg-lo not an 
> ifcfg-eth0.
> Nameservers are set as usual in /etc/resolv.conf.
> 
> I assume that there are qubes specific script involved?
> Can someone explain?

- when the XEN network interface appears, /usr/lib/qubes/setup-ip
 script is run by udev (see /etc/udev/rules.d/99-qubes-network.rules)

- /usr/lib/qubes/setup-ip gets the VM's definitions from dom0 with
`qubesdb-read /blah` and sets the network accordingly



> I would like to know how networking is setup and how I can change my 
> configuration (likely on sys-firewall) so that I can decide which AppVM gets 
> which IP-address.

you can change a VM's network prefs with `qvm-prefs vmname ip`,
`qvm-prefs vmname gateway`, ...; I see there's a bunch of `visible_...`
network prefs, no idea how those works nor nor how they're generated).



> I looked at the Qubes OS networking doc located at 
> https://www.qubes-os.org/doc/networking/ but it seems that the side is gone.
> -> 404 not found
> 
>  [799]
> 

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/0ce32708-af63-c0c4-d27b-741637f3950e%40maa.bz.
For more options, visit https://groups.google.com/d/optout.

Reply via email to