libvirt/tests/networkxml2xmlin/nat-network.xml
2009-10-16 10:52:26 -04:00

14 lines
464 B
XML

<network>
<name>default</name>
<uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
<bridge name="virbr0" />
<forward mode="nat" dev="eth1"/>
<ip address="192.168.122.1" netmask="255.255.255.0">
<dhcp>
<range start="192.168.122.2" end="192.168.122.254" />
<host mac="00:16:3e:77:e2:ed" name="a.example.com" ip="192.168.122.10" />
<host mac="00:16:3e:3e:a9:1a" name="b.example.com" ip="192.168.122.11" />
</dhcp>
</ip>
</network>