Last active
August 29, 2015 14:14
-
-
Save duncaninnes/f73b9a143cc76f35cdb8 to your computer and use it in GitHub Desktop.
Libvirt: Network default.xml for host-based DHCP & PXE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<networkstatus> | |
<class_id bitmap='0-2'/> | |
<floor sum='0'/> | |
<network> | |
<name>default</name> | |
<uuid>31edfd94-68d3-475a-ba0e-072977b8040c</uuid> | |
<forward mode='nat'> | |
<nat> | |
<port start='1024' end='65535'/> | |
</nat> | |
</forward> | |
<bridge name='virbr0' stp='off' delay='0' /> | |
<mac address='52:54:00:b7:23:0c'/> | |
<domain name='rhel7.local'/> | |
<ip address='192.168.122.1' netmask='255.255.255.0'> | |
<tftp root='/var/lib/tftpboot' /> | |
<dhcp> | |
<range start='192.168.122.128' end='192.168.122.254' /> | |
<host mac='52:54:00:00:00:01' name='ipa01.rhel7.local' ip='192.168.122.128' /> | |
<host mac='52:54:00:00:00:02' name='foreman.rhel7.local' ip='192.168.122.129' /> | |
<host mac='52:54:00:00:00:03' name='log01.rhel7.local' ip='192.168.122.130' /> | |
<host mac='52:54:00:00:00:04' name='log02.rhel7.local' ip='192.168.122.131' /> | |
<host mac='52:54:00:00:00:05' name='es01.rhel7.local' ip='192.168.122.132' /> | |
<host mac='52:54:00:00:00:06' name='es02.rhel7.local' ip='192.168.122.133' /> | |
<host mac='52:54:00:00:00:07' name='es03.rhel7.local' ip='192.168.122.134' /> | |
<host mac='52:54:00:00:00:08' name='redis01.rhel7.local' ip='192.168.122.135' /> | |
<host mac='52:54:00:00:00:09' name='redis02.rhel7.local' ip='192.168.122.136' /> | |
<host mac='52:54:00:00:00:10' name='test01.rhel7.local' ip='192.168.122.137' /> | |
<host mac='52:54:00:00:00:11' name='ipa02.rhel7.local' ip='192.168.122.138' /> | |
<bootp file='pxelinux.0' /> | |
</dhcp> | |
</ip> | |
</network> | |
</networkstatus> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment