File: ethernet-dhcp-and-multi-static.xml

package info (click to toggle)
libvirt 11.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 209,020 kB
  • sloc: ansic: 535,831; xml: 321,783; python: 11,974; perl: 2,626; sh: 2,185; makefile: 448; javascript: 126; cpp: 22
file content (9 lines) | stat: -rw-r--r-- 264 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
<interface type='ethernet' name='eth1'>
  <start mode='onboot'/>
  <protocol family='ipv4'>
    <dhcp peerdns='yes'/>
    <ip address='192.168.0.5' prefix='24'/>
    <ip address='1.2.3.4' prefix='32'/>
    <route gateway='192.168.0.1'/>
  </protocol>
</interface>