Skip to content

Instantly share code, notes, and snippets.

@matthewepler
Created March 25, 2021 00:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewepler/490a86d8812f4ab384612da9acbd39f2 to your computer and use it in GitHub Desktop.
Save matthewepler/490a86d8812f4ab384612da9acbd39f2 to your computer and use it in GitHub Desktop.
/usr/share/libvirt/networks/default.xml
<network>
<name>default</name>
<bridge name="virbr0"/>
<forward mode="nat"/>
<ip address="192.168.122.1" netmask="255.255.255.0">
<dhcp>
<range start="192.168.122.2" end="192.168.122.254"/>
</dhcp>
</ip>
<ip family="ipv6" address="2001:db8:ca2:2::1" prefix="64"/>
</network>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment