I printed the
virt-install(1) and
virsh(1) man pages so I could study them conveniently.
The
virt-install(1) man page explains the types of networking:
Code:
Networking Configuration
-w NETWORK, --network=NETWORK,opt1=val1,opt2=val2
Connect the guest to the host network. The value for "NETWORK" can take one of 3 formats:
bridge=BRIDGE
Connect to a bridge device in the host called "BRIDGE". Use this option if the host has static
networking config & the guest requires full outbound and inbound connectivity to/from the LAN.
Also use this if live migration will be used with this guest.
network=NAME
Connect to a virtual network in the host called "NAME". Virtual networks can be listed,
created, deleted using the "virsh" command line tool. In an unmodified install of "libvirt"
there is usually a virtual network with a name of "default". Use a virtual network if the host
has dynamic networking (eg NetworkManager), or using wireless. The guest will be NATed to the
LAN by whichever connection is active.
So the following option for
# virt-install
will configure the networking for the guest system:
Code:
--network bridge=br0,model=virtio