Last active
October 20, 2021 00:07
-
-
Save tfmeneses/bc96d6191f3a8f239911c0943fe5c9f0 to your computer and use it in GitHub Desktop.
This file contains 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
virsh net-info default #List info of default network | |
virsh net-define /usr/share/libvirt/networks/default.xml | |
default.xml | |
network> | |
<name>default</name> | |
<bridge name="virbr0"/> | |
<forward/> | |
<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> | |
</network> | |
virsh net-autostart default | |
virsh net-start default | |
virsh net-list --all | |
ip a show virbr0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment