File: test-bridge-ip.xml

package info (click to toggle)
virtinst 0.500.3-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,084 kB
  • ctags: 2,393
  • sloc: python: 14,166; xml: 5,181; sh: 126; makefile: 6
file content (33 lines) | stat: -rw-r--r-- 1,012 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<interface type='bridge' name='test-bridge-ip'>
  <protocol family='ipv4'>
    <dhcp peerdns='yes'/>
    <ip address='129.63.1.2'/>
    <ip address='255.255.255.0'/>
    <route gateway='1.2.3.4'/>
  </protocol>
  <protocol family='ipv6'>
    <autoconf/>
    <dhcp peerdns='yes'/>
    <ip address='fe99::215:58ff:fe6e:5' prefix='32'/>
    <ip address='fe80::215:58ff:fe6e:5' prefix='64'/>
    <route gateway='1.2.3.4'/>
  </protocol>
  <bridge>
    <interface type='ethernet' name='vlaneth1'>
    </interface>
    <interface type='bond' name='bond-brbond'>
      <start mode='none'/>
      <bond mode='active-backup'>
        <miimon freq='100' updelay='10' carrier='ioctl'/>
        <interface type='ethernet' name='brbond-eth0'>
        </interface>
        <interface type='ethernet' name='brbond-eth1'>
        </interface>
      </bond>
    </interface>
    <interface type='ethernet' name='eth0'>
      <start mode='none'/>
      <mac address='00:FF:EE:FF:EE:FF'/>
    </interface>
  </bridge>
</interface>