FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 10-11-2012, 09:12 PM
"James B. Byrne"
 
Default Cannot get kvm guests to connect to network

I installed a new CentOS-6.3 kvm guest on a recently provisioned kvm
host also running CentOS-6.3. This guest will not connect to the
network and the host cannot connect to it via its public IP address. I
had previously installed a guest system on thst same kvm host using
the same ISO and that system connects to the network without problem.

I next created a third guest isntance and this too does not connect
with either the kvm host or the gateway. I have installed litterally
dozens of kvm guests this past year and I have never encountered this
situation. Has anyone else? Does anyone have any idea what might be
going on?

ip addr
1: lo <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP qlen 1000
link/ether 52:54:00:a0:26:47 brd ff:ff:ff:ff:ff:ff
inet 216.185.71.243/24 brd 216.185.71.255 scope global eth0
inet6 fe80::5054:ff:fea0:2647/64 scope link
vaslid_lft forever preferred_lft forever

ip route
216.185.71.0/24 dev eth0 proto kernel scope link scr 216.185.71.243
169.254.0.0/16 dev eth0 scope link metric 1002
default via 216.185.71.1 dev eth0

netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
216.185.71.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
default 216.185.71.1 0.0.0.0 UG 0 0 0 eth0

service iptables stop
. . .

ping 216.185.71.1
PING 216.185.71.1 (216.185.71.1) 56(84) bytes of data.
>From 216.185.71.243 icmp_seq=2 Destination Host Unreachable
>From 216.185.71.243 icmp_seq=3 Destination Host Unreachable
>From 216.185.71.243 icmp_seq=4 Destination Host Unreachable
^C



--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-15-2012, 02:56 PM
"James B. Byrne"
 
Default Cannot get kvm guests to connect to network

On Fri, October 12, 2012 09:16, James B. Byrne wrote:
> This cross-posted from the main Centos discussion list.
>
> I installed a new CentOS-6.3 kvm guest on a recently provisioned kvm
> host also running CentOS-6.3. This guest will not connect to the
> network and the host cannot connect to it via its public IP address. I
> had previously installed a guest system on thst same kvm host using
> the same ISO and that system connects to the network without problem.
>
> I next created a third guest instance and this too does not connect
> with either the kvm host or the gateway.
>

See: https://bugzilla.redhat.com/show_bug.cgi?id=857498

It may turn out that I have inadvertently some configuration value set
incorrectly but at the moment it seems to me to be a problem with
virt-manager. Basically, new guest instances are having this put into
their definition file by virt-manager:

> <interface type='network'>
> <mac address='52:54:00:6c:35:1a'/>
> <source network='default'/>

when it should be:

> <interface type='bridge'>
> <mac address='52:54:00:6c:35:1a'/>
> <source bridge='br0'/>

--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 05:56 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org