mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +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'/>
|
||||
<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' gateway='192.168.122.1'/></b>
|
||||
<b><route family='ipv4' address='192.168.122.8' gateway='192.168.122.1'/></b>
|
||||
</interface>
|
||||
...
|
||||
<hostdev mode='capabilities' type='net'>
|
||||
@ -4480,7 +4480,7 @@ qemu-kvm -net nic,model=? /dev/null
|
||||
</source>
|
||||
<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' gateway='192.168.122.1'/></b>
|
||||
<b><route family='ipv4' address='192.168.122.8' gateway='192.168.122.1'/></b>
|
||||
</hostdev>
|
||||
|
||||
</devices>
|
||||
|
Loading…
Reference in New Issue
Block a user