English
Ask Your Question
0

Configure Network to KVM

asked 2012-02-08 02:12:04 +0000

jpilldev gravatar image

Hi, i just installed KVM and configuring the file 'ifcfg-br0' from 'ifcfg-eth0' with this configuration:

DEVICE=br0 TYPE=Bridge NM_CONTROLLED=no BOOTPROTO=static IPADDR=10.10.1.152 NETMASK=255.255.255.0 ONBOOT=yes

In a moment of fine lucidity, changed the archive 'ifcfg-eth0' without backup, I totally erase the content. when i reboot the service i don't see the br0 iface up and eth0 neither, but i can see the em1 iface with MAC, and the iface virbr0

What i'm missing? Thanks a lot

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2012-02-09 06:23:11 +0000

jpilldev gravatar image

I start with virt-manager and create a new interface (type bridge), it creates the file of the bridge and the file of em1. I'll post the last issue in a new question.

Thanks for watching.

edit flag offensive delete link more
0

answered 2012-02-09 05:31:55 +0000

jpilldev gravatar image

updated 2012-02-09 05:37:35 +0000

I'm still here, when i reboot the network service it take long time, so, when it finish:

# /etc/init.d/network restart
Restarting network (via systemctl):  Job failed. See system logs and 'systemctl status' for details.
                                                           [FAILED]

so, watching the log:

#systemctl status network.service
network.service - LSB: Bring up/down networking
Loaded: loaded (/etc/rc.d/init.d/network)
Active: failed since Thu, 09 Feb 2012 00:11:18 -0500; 8min ago
 CGroup: name=systemd:/system/network.service
                  ├  3850 /bin/bash ./ifup 59173567_autom tica boot
                  ├  3859 nmcli con up uuid 32aea3d4-ce65-42d1-a3ed-6a42c17a2111
                  ├ 25236 /bin/bash ./ifup 59173567_autom tica boot
                  ├ 25245 nmcli con up uuid 32aea3d4-ce65-42d1-a3ed-6a42c17a2111
                  ├ 25507 /bin/bash ./ifup 59173567_autom tica boot
                  ├ 25516 nmcli con up uuid 32aea3d4-ce65-42d1-a3ed-6a42c17a2111
                  ├ 25903 /bin/bash ./ifup 59173567_autom tica boot
                  ├ 25912 nmcli con up uuid 32aea3d4-ce65-42d1-a3ed-6a42c17a2111
                  ├ 26168 /bin/bash ./ifup 59173567_autom tica boot
                  ├ 26177 nmcli con up uuid 32aea3d4-ce65-42d1-a3ed-6a42c17a2111
                  ├ 26427 /bin/bash ./ifup 59173567_autom tica boot
                  ├ 26436 nmcli con up uuid 32aea3d4-ce65-42d1-a3ed-6a42c17a2111
                  ├ 26686 /bin/bash ./ifup 59173567_autom tica boot
                  ├ 26695 nmcli con up uuid 32aea3d4-ce65-42d1-a3ed-6a42c17a2111
                  ├ 27471 /bin/bash ./ifup ALEJANDRO_autom tica boot
                  ├ 27480 nmcli con up uuid f8a46744-7098-4eb6-8902-34df1bd351f5
                  ├ 28228 /bin/bash ./ifup Auto_58915877 boot
                  ├ 28234 nmcli con up uuid 80a61972-1616-431e-bcf3-d4660386ec35
                  ├ 29174 /bin/bash ./ifup Auto_58915877 boot
                  └ 29180 nmcli con up uuid 80a61972-1616-431e-bcf3-d4660386ec35

It seems to have a problem with the automática world (accent in á), i looked for the files with that name, ie, ALEJANDROautom tica corresponds to ifcfg-ALEJANDROautomática and deleted it from /etc/sysconfig/network-scripts, /etc/sysconfig/networking/device and /etc/sysconfig/networking/profiles.

So, where that files can else be? Thanks.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Stats

Asked: 2012-02-08 02:12:04 +0000

Seen: 1,312 times

Last updated: Feb 09 '12