LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 11-18-2011, 08:16 AM   #1
Ashkan_s
Member
 
Registered: Jul 2008
Distribution: Fedora
Posts: 77

Rep: Reputation: 22
NetworkManager fails while installing Fedora 12 guest os


Hi

I'm trying to install Fedora 12 guest on a Fedora 12 host using KVM via virt-install.I want to access the guest from other hosts, so I need a network bridge. When I try to install the guest it shows a message:
Quote:
Waiting for NetworkManager to configure eth0.
After a while it shows an error message:
Quote:
There was an error configuring your network interface.
After selecting the retry button of it, another message is appeared saying that it cannot find the kickstart file, selecting the cancel button I am able to specify network configuration manually. When I set this settings manually NetworkManager is able to configure the network interface. I don't know what goes wrong when I try to install the guest using kickstart file. The file is accessible by the address specified.

Here is the configuration files and commands that I used:

network interfaces:
Quote:
cat ifcfg-eth0

# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
HWADDR=00:0C:29:60:A0:25
ONBOOT=yes
#IPADDR=192.168.1.1
#BOOTPROTO=none
#NETMASK=255.255.255.0
#TYPE=Ethernet
NM_CONTROLLED=no
#IPV6INIT=no
#USERCTL=yes
#PREFIX=24
#NAME="System eth0"
#UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
BRIDGE=MPM_br0
Quote:
cat ifcfg-MPM_br0

DEVICE=MPM_br0
TYPE=Bridge
BOOTPROTO=none
IPADDR=192.168.1.1
NETMASK=255.255.255.0
ONBOOT=yes
DELAY=0
NM_CONTROLLED=no
Ouput of ifconfig command:
Quote:
MPM_br0 Link encap:Ethernet HWaddr 00:0C:29:60:A0:25
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe60:a025/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:30252 errors:0 dropped:0 overruns:0 frame:0
TX packets:84090 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1582387 (1.5 MiB) TX bytes:127203636 (121.3 MiB)

eth0 Link encap:Ethernet HWaddr 00:0C:29:60:A0:25
inet6 addr: fe80::20c:29ff:fe60:a025/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34 errors:0 dropped:0 overruns:0 frame:0
TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5983 (5.8 KiB) TX bytes:14626 (14.2 KiB)
Interrupt:19 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:11224 errors:0 dropped:0 overruns:0 frame:0
TX packets:11224 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:85107145 (81.1 MiB) TX bytes:85107145 (81.1 MiB)

virbr0 Link encap:Ethernet HWaddr 46:9A:2A:8C:7B:6A
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:5473 (5.3 KiB)
Contents of sysctl.conf:

Quote:
cat /etc/sysctl.conf

# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.

# Controls IP packet forwarding
net.ipv4.ip_forward = 0

# Controls source route verification
net.ipv4.conf.default.rp_filter = 1

# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0

# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0

# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1

# Disable netfilter on bridges.
#net.bridge.bridge-nf-call-ip6tables = 0
#net.bridge.bridge-nf-call-iptables = 0
#net.bridge.bridge-nf-call-arptables = 0
I used the following commands and commented out the last three lines of sysctl.conf:
Quote:
iptables -I FORWARD -m physdev --physdev-is-bridged -j ACCEPT
service iptables save
service iptables restart
The virt-install command that is used:
Quote:
virt-install --name myfed12 --ram 512 --disk path=/home/images/fed12.img,size=8 --network bridge=MPM_br0 --os-type=linux --os-variant=fedora12 -l http://192.168.1.1/fedora -x ks=http://192.168.1.1/ks.cfg
The host os is also a virtual host (vmware guest).
Attached Thumbnails
Click image for larger version

Name:	11.png
Views:	54
Size:	3.8 KB
ID:	8414   Click image for larger version

Name:	12.png
Views:	73
Size:	4.4 KB
ID:	8415   Click image for larger version

Name:	13.png
Views:	63
Size:	7.7 KB
ID:	8416  
 
Old 11-18-2011, 12:59 PM   #2
Ashkan_s
Member
 
Registered: Jul 2008
Distribution: Fedora
Posts: 77

Original Poster
Rep: Reputation: 22
SOLVED, I had forgotten to configure the dhcp server!

Last edited by Ashkan_s; 11-18-2011 at 01:12 PM.
 
  


Reply

Tags
fedora, kvm



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing guest additions on virtualbox Centos 5.5 64bit guest eljay313 Linux - Virtualization and Cloud 1 09-03-2010 08:22 AM
Configure NetworkManager OpenVPN - Import Configuration Fails morbo77 Linux - Networking 3 09-18-2009 07:08 PM
problem installing guest additions in Fedora 11 guest (virtualbox) mia_tech Linux - Desktop 9 07-28-2009 12:15 AM
Xen : Installing Fedora guest on Debian Etch host kailas Debian 1 07-23-2008 09:18 AM
Installing Ubuntu Guest Domain under Xen/Fedora Host cdhgee Linux - Software 1 06-09-2006 11:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration