mirror of https://gitee.com/openkylin/libvirt.git
15 lines
426 B
XML
15 lines
426 B
XML
<interface type='bond' name='bond0'>
|
|
<start mode='none'/>
|
|
<protocol family='ipv4'>
|
|
<ip address='192.168.50.7' prefix='24'/>
|
|
<route gateway='192.168.50.1'/>
|
|
</protocol>
|
|
<bond mode='active-backup'>
|
|
<arpmon interval='100' target='192.168.50.1' validate='active'/>
|
|
<interface type='ethernet' name='eth1'>
|
|
</interface>
|
|
<interface type='ethernet' name='eth0'>
|
|
</interface>
|
|
</bond>
|
|
</interface>
|