Merge branch '6911' of github.com:unman/qubes-doc into unman-6911

This commit is contained in:
Andrew David Wong 2021-12-07 12:35:28 -08:00
commit d24bffe85d
No known key found for this signature in database
GPG Key ID: 8CE137352A019A17

View File

@ -165,7 +165,7 @@ In order to manually configure networking in a qube, one should first find out
the IP/netmask/gateway assigned to the particular qube by Qubes. This can be the IP/netmask/gateway assigned to the particular qube by Qubes. This can be
seen, e.g., in the Qube Manager in the qube's properties: seen, e.g., in the Qube Manager in the qube's properties:
![r2b1-manager-networking-config.png](/attachment/doc/r2b1-manager-networking-config.png) ![r4.0-manager-networking-config.png](/attachment/doc/r4.0-manager-networking-config.png)
Alternatively, one can use the `qvm-ls -n` command to obtain the same Alternatively, one can use the `qvm-ls -n` command to obtain the same
information (IP/netmask/gateway). information (IP/netmask/gateway).
@ -209,56 +209,89 @@ address for the networking interface:
``` ```
[joanna@dom0 ~]$ qvm-prefs my-new-vm [joanna@dom0 ~]$ qvm-prefs my-new-vm
name : my-new-vm autostart D False
label : green backup_timestamp U
type : HVM debug D False
netvm : firewallvm default_dispvm D None
updateable? : True default_user D user
installed by RPM? : False gateway D
include in backups: False gateway6 D
dir : /var/lib/qubes/appvms/my-new-vm include_in_backups - False
config : /var/lib/qubes/appvms/my-new-vm/my-new-vm.conf installed_by_rpm D False
pcidevs : [] ip D 10.137.0.122
root img : /var/lib/qubes/appvms/my-new-vm/root.img ip6 D fd09:24ef:4179::a89:7a
private img : /var/lib/qubes/appvms/my-new-vm/private.img kernel -
vcpus : 4 kernelopts D nopat
memory : 512 klass D StandaloneVM
maxmem : 512 label - red
MAC : 00:16:3E:5E:6C:05 (auto) mac D 00:16:3e:5e:6c:00
debug : off management_dispvm D default-mgmt-dvm
default user : user maxmem D 0
qrexec_installed : False memory - 1000
qrexec timeout : 60 name - my-new-vm
drive : None netvm - sys-firewall
timezone : localtime provides_network - False
qid - 122
qrexec_timeout D 60
shutdown_timeout D 60
start_time D
stubdom_mem U
stubdom_xid D -1
updateable D True
uuid - 54387f94-8617-46b0-8806-0c18bc387f34
vcpus D 2
virt_mode - hvm
visible_gateway D 10.137.0.14
visible_gateway6 D fd09:24ef:4179::a89:e
visible_ip D 10.137.0.122
visible_ip6 D fd09:24ef:4179::a89:7a
visible_netmask D 255.255.255.255
xid D -1
[joanna@dom0 ~]$ qvm-clone my-new-vm my-new-vm-copy [joanna@dom0 ~]$ qvm-clone my-new-vm my-new-vm-copy
/.../ /.../
[joanna@dom0 ~]$ qvm-prefs my-new-vm-copy [joanna@dom0 ~]$ qvm-prefs my-new-vm-copy
name : my-new-vm-copy autostart D False
label : green backup_timestamp U
type : HVM debug D False
netvm : firewallvm default_dispvm D None
updateable? : True default_user D user
installed by RPM? : False gateway D
include in backups: False gateway6 D
dir : /var/lib/qubes/appvms/my-new-vm-copy include_in_backups - False
config : /var/lib/qubes/appvms/my-new-vm-copy/my-new-vm-copy.conf installed_by_rpm D False
pcidevs : [] ip D 10.137.0.137
root img : /var/lib/qubes/appvms/my-new-vm-copy/root.img ip6 D fd09:24ef:4179::a89:89
private img : /var/lib/qubes/appvms/my-new-vm-copy/private.img kernel -
vcpus : 4 kernelopts D nopat
memory : 512 klass D StandaloneVM
maxmem : 512 label - red
MAC : 00:16:3E:5E:6C:01 (auto) mac D 00:16:3e:5e:6c:00
debug : off management_dispvm D default-mgmt-dvm
default user : user maxmem D 0
qrexec_installed : False memory - 1000
qrexec timeout : 60 name - my-new-vm-copy
drive : None netvm - sys-firewall
timezone : localtime provides_network - False
qid - 137
qrexec_timeout D 60
shutdown_timeout D 60
start_time D
stubdom_mem U
stubdom_xid D -1
updateable D True
uuid - 9ad109a9-d95a-4e03-b977-592f8424f42b
vcpus D 2
virt_mode - hvm
visible_gateway D 10.137.0.14
visible_gateway6 D fd09:24ef:4179::a89:e
visible_ip D 10.137.0.137
visible_ip6 D fd09:24ef:4179::a89:89
visible_netmask D 255.255.255.255
xid D -1
``` ```
Note that the MAC addresses differ between those two otherwise identical qubes. Note that the MAC addresses differ between those two otherwise identical qubes.
@ -267,10 +300,11 @@ networking to function properly:
``` ```
[joanna@dom0 ~]$ qvm-ls -n [joanna@dom0 ~]$ qvm-ls -n
/.../
my-new-vm-copy | | Halted | Yes | | *firewallvm | green | 10.137.2.3 | n/a | 10.137.2.1 | NAME STATE NETVM IP IPBACK GATEWAY
my-new-vm | | Halted | Yes | | *firewallvm | green | 10.137.2.7 | n/a | 10.137.2.1 | my-new-hvm Halted sys-firewall 10.137.0.122 - 10.137.0.14
/.../ my-new-hvm-clone Halted sys-firewall 10.137.0.137 - 10.137.0.14
``` ```
If, for any reason, you would like to make sure that the two qubes have the If, for any reason, you would like to make sure that the two qubes have the