KVM bridge config for LAN VM guest

General support questions
User avatar
Posts: 2933
Joined: 2007/12/11 08:17:33
Location: Finland

Re: KVM bridge config for LAN VM guest

Post by jlehtone » 2019/09/27 08:53:56

t3kg33k wrote:
2019/09/27 07:25:57
nmcli delete eno1
Error: argument 'delete' not understood. Try passing --help instead.
nmcli con delete eno1 ?
t3kg33k wrote:
2019/09/27 08:22:43
So, I think creating that .xml screwed something up. I have to find a way to back that out now.

Code: Select all

virsh net-destroy br0
virsh net-undefine br0
or delete the network in virt-manager

Posts: 18
Joined: 2016/02/26 19:45:27

Re: KVM bridge config for LAN VM guest

Post by t3kg33k » 2019/09/28 11:14:57

Alright. All is well now. VM guest are configured on my LAN.

Thanks @jlehtone for all your help

So, to recap, this is what I did. Look correct?

1. Create the bridge and configure with current IP address of eno1

nmcli connection down eno1
nmcli connection delete eno1
nmcli connection add type bridge con-name br0 ifname br0 ipv6.method ignore ipv4.method manual ipv4.addresses 192.168.x.30/24 ipv4.gateway 192.168.1x.1 ipv4.dns bridge.stp no
nmcli connection add type ethernet con-name br-eno1 ifname eno1 master br0
nmcli connection up br0

2. Disable default NAT bridge

virsh net-autostart --network default --disable

Post Reply

Return to “CentOS 7 - General Support”