Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 414 Bytes

create_virsh_network.md

File metadata and controls

19 lines (17 loc) · 414 Bytes

Execute below commands to create network in KVM env using root permissions

Create a new network, called net1-network.xml

<network>
    <name>net1-network</name>
    <forward mode="bridge" />
    <bridge name="br1" />
</network>
virsh net-list --all
virsh net-edit default
virsh net-define net1-network.xml
virsh net-start net1-network
virsh net-autostart net1-network
virsh net-list --all