mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
docs: route element must specify network address
because network address is required by route, so here we should add one avoid user misunderstand. Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
This commit is contained in:
parent
1c19c5eff6
commit
f276f0557e
@ -4471,7 +4471,7 @@ qemu-kvm -net nic,model=? /dev/null
|
|||||||
<target dev='vnet0'/>
|
<target dev='vnet0'/>
|
||||||
<b><ip address='192.168.122.5' prefix='24'/></b>
|
<b><ip address='192.168.122.5' prefix='24'/></b>
|
||||||
<b><route family='ipv4' address='192.168.122.0' prefix='24' gateway='192.168.122.1'/></b>
|
<b><route family='ipv4' address='192.168.122.0' prefix='24' gateway='192.168.122.1'/></b>
|
||||||
<b><route family='ipv4' gateway='192.168.122.1'/></b>
|
<b><route family='ipv4' address='192.168.122.8' gateway='192.168.122.1'/></b>
|
||||||
</interface>
|
</interface>
|
||||||
...
|
...
|
||||||
<hostdev mode='capabilities' type='net'>
|
<hostdev mode='capabilities' type='net'>
|
||||||
@ -4480,7 +4480,7 @@ qemu-kvm -net nic,model=? /dev/null
|
|||||||
</source>
|
</source>
|
||||||
<b><ip address='192.168.122.6' prefix='24'/></b>
|
<b><ip address='192.168.122.6' prefix='24'/></b>
|
||||||
<b><route family='ipv4' address='192.168.122.0' prefix='24' gateway='192.168.122.1'/></b>
|
<b><route family='ipv4' address='192.168.122.0' prefix='24' gateway='192.168.122.1'/></b>
|
||||||
<b><route family='ipv4' gateway='192.168.122.1'/></b>
|
<b><route family='ipv4' address='192.168.122.8' gateway='192.168.122.1'/></b>
|
||||||
</hostdev>
|
</hostdev>
|
||||||
|
|
||||||
</devices>
|
</devices>
|
||||||
|
Loading…
Reference in New Issue
Block a user