[[+content_image]]
N
N
nonbox2015-04-14 13:31:17
KVM
nonbox, 2015-04-14 13:31:17

How to set up bridge for KVM in Centos 7?

I'm trying to install KVM on Centos7 according to the instructions:
at the "Configure Bridge networking for KVM virtual machine" step I get an error:
# set IP for br0
[[email protected] ~]# nmcli c modify br0 ipv4.addresses "10.0.0.30/24 10.0.0.1 " ipv4.method manual
Error: failed to modify ipv4.addresses: invalid prefix '24 10.0.0.1' ; <1-32> allowed.
Apparently some bug was caught.
The system is clean, just installed...

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
L
ldv, 2015-04-14
@nonbox

And so?

nmcli c modify br0 ipv4.addresses "10.0.0.30/24" 
nmcli c modify br0 ipv4.gateway "10.0.0.1"
nmcli c modify br0 ipv4.method manual

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question