WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] domU Networking Issues

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] domU Networking Issues
From: Tapas Mishra <mightydreams@xxxxxxxxx>
Date: Mon, 14 Jun 2010 23:08:37 +0530
Delivery-date: Mon, 14 Jun 2010 10:40:09 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=9Zgj1GQKPt+VkO3bYuysu1+z6LVYVi5AHoO/v1A/VTc=; b=fCw1OodvVhZrAC0K67GyVSmQ2dn6rslxSKvk3O194QqnP68NqIvL7h3AG22XLuR0N6 k5ddBHiSSPszpB2J6eAKhdZRVUJAEghA6HswPEGmjkqm7Dx6m5H/TkgOOnUuyYPeT69e H1hJu10xi0kdmGhWrLqLAwweSkNFl+TkhIjug=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gwTtCJTFji4sONlD6hJNpU0d37SLEBRIEo67MM2T679xAfsMQzR87kR0W5J5ap3Nse L37HM6GfVv9JPbY2oA05QwdYgIN7tNsZLs0ufziXMW/u60hxolQv5L00/vbXqxFLkpg4 Nu6FxK1MlDs4Y0wk/7E+NjOYHknRXBcCOfk00=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1276527548.2058.3.camel@localhost>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1276471479.3205.20.camel@localhost> <AANLkTil6y3qu6fP88rDpZQSWqwrw64dHSKZruldA8ZDg@xxxxxxxxxxxxxx> <1276511777.3205.28.camel@localhost> <AANLkTilz4FDSxyKvtIDPDrhwrd3XwRX1DT8VU-3dB9KC@xxxxxxxxxxxxxx> <1276527548.2058.3.camel@localhost>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Is IP forwarding enabled on Dom0
echo 1 > /proc/sys/net/ipv4/ip_forward
I assume it is /etc/sysctl.conf (If not then do it)

I see a problem in your brctl show output

# brctl show
bridge name     bridge id               STP enabled     interfaces
virbr0          8000.000000000000       yes
xenbr0          8000.feffffffffff       no              vif2.0
                                                       vif1.0
                                                       peth0
                                                       vif0.0


is peth0 a separate bridge or included in bridge if you see the output of


of ifconfig on the dom0: from your message your peth0 is running in
PROMISC mode and it seems to be included in bridge in the brctl show
output.
I do not think that this is right when you

peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
         inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
         UP BROADCAST RUNNING NOARP PROMISC  MTU:1500  Metric:1

Note the line PROMISC in above output peth0 is the bridge in which
remaining VM ethernets should be included in it  and not in

virbr0 or xenbr0

peth0 is running in promiscous mode while xenbr0 is  not.

Try to change your network topology disable the bridges which are not
required and bring rest of the VM bridges in this peth0 bridge and
remove the eth0 thing,

The IP should be assigned to your bridge unless you have separate lan
cards and different bridges attached to them.

Running  more than one bridge on same lan card is not appropriate.

http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge

Following is a sample  bridge configuration


# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet manual

auto br0
iface br0 inet static
        address 192.168.0.100
        network 192.168.0.0
        netmask 255.255.255.0
        broadcast 192.168.0.255
        gateway 192.168.0.1
        bridge_ports eth0
        bridge_fd 9
        bridge_hello 2
        bridge_maxage 12
        bridge_stp off

add rest of the Virtual Machine ethernets to this bridge.
Delete the unnecessary bridges on your machine.

post route -n and what have you specified Gateway for your VMs.
Also check there are two xml files
var/lib/xend/state two files cpu.xml and host.xml are they corrupt.


Check this page
http://wiki.xensource.com/xenwiki/CoolConfigurations
http://www.debian-administration.org/articles/360
http://kbase.redhat.com/faq/docs/DOC-29713
Do they help or not let us know.
I am assuming you read this page
http://wiki.xensource.com/xenwiki/XenNetworking
Check this page
http://www.howtoforge.com/virtualization-with-kvm-on-ubuntu-8.10
for a correct ifconfig output when using a bridge.

Pastebin the logs xend.log daemon.log xen.log
-- 
Tapas
http://mightydreams.blogspot.com
http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>