diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index f660aa685c34cbdfae5ca027a2700d33154fe643..2466df735d6ace47fda93480a1d5f9d29f771ec4 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -4967,6 +4967,7 @@ qemu-kvm -net nic,model=? /dev/null <source network='default'/> <target dev='vnet0'/> <ip address='192.168.122.5' prefix='24'/> + <ip address='192.168.122.5' prefix='24' peer='10.0.0.10'/> <route family='ipv4' address='192.168.122.0' prefix='24' gateway='192.168.122.1'/> <route family='ipv4' address='192.168.122.8' gateway='192.168.122.1'/> </interface> @@ -4985,21 +4986,30 @@ qemu-kvm -net nic,model=? /dev/null
- Since 1.2.12 the network devices and host devices
- with network capabilities can be provided zero or more IP addresses to set
- on the target device. Note that some hypervisors or network device types
- will simply ignore them or only use the first one. The family
- attribute can be set to either ipv4
or ipv6
, the
- address
attribute holds the IP address. The prefix
- is not mandatory since some hypervisors do not handle it.
-
- Since 1.2.12 route elements can also be added
- to define the network routes to use for the network device. The attributes
- of this element are described in the documentation for the route
- element in network definitions.
- This is only used by the LXC driver.
+ Since 1.2.12 network devices and
+ hostdev devices with network capabilities can optionally be provided
+ one or more IP addresses to set on the network device in the
+ guest. Note that some hypervisors or network device types will
+ simply ignore them or only use the first one.
+ The family
attribute can be set to
+ either ipv4
or ipv6
, and the
+ address
attribute contains the IP address. The
+ optional prefix
is the number of 1 bits in the
+ netmask, and will be automatically set if not specified - for
+ IPv4 the default prefix is determined according to the network
+ "class" (A, B, or C - see RFC870), and for IPv6 the default
+ prefix is 64. The optional peer
attribute holds the
+ IP address of the other end of a point-to-point network
+ device (since 2.0.0).
+
+ Since 1.2.12 route elements can also be
+ added to define IP routes to add in the guest. The attributes of
+ this element are described in the documentation for
+ the route
element
+ in network
+ definitions. This is used by the LXC driver.