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-devel

Re: [Xen-devel] 2 nics

To: Michael Stoehrel <mstoehrel@xxxxxxxxxxx>
Subject: Re: [Xen-devel] 2 nics
From: Felipe Alfaro Solana <felipe.alfaro@xxxxxxxxx>
Date: Wed, 23 Mar 2005 14:53:13 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 23 Mar 2005 13:54:52 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=tCnGLphxaG7Nd1OFq4syyRdZm459lLgpj1F2XGMRQ9Tg8HnQ92QM6YehTF10OR9nK0CIrl/giMZfiNquYP2eSQaumtP9xqyPWcbCBVHSlg9zZybQzldv+0blECXMqCLNe0mLTNvcvfhrf6bRcnOcyyOn6lfcjwugQySiY3ix52A=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <loom.20050323T111405-926@xxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <loom.20050323T111405-926@xxxxxxxxxxxxxx>
Reply-to: Felipe Alfaro Solana <felipe.alfaro@xxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
On Wed, 23 Mar 2005 10:59:52 +0000 (UTC), Michael Stoehrel
<mstoehrel@xxxxxxxxxxx> wrote:
> Hi all
> 
> I am running xen (2.0.5) with debian sarge.
> Sources compiled (2.6.10) on a via epia pd-10000 with 2 nics.
> 
> eth0: dhcp
> eth1: static
> 
> before xend started:
> --------------------
> 
> outgoing trafic OK (through eth0)
> incoming trafic on both nics ok
> 
> eth0      Link encap:Ethernet  HWaddr 00:40:63:DB:55:18
>           inet addr:192.168.253.55  Bcast:192.168.253.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:20 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:2664 (2.6 KiB)  TX bytes:1562 (1.5 KiB)
>           Interrupt:9 Base address:0xd000
> 
> eth1      Link encap:Ethernet  HWaddr 00:40:63:DB:55:4A
>           inet addr:192.168.254.5  Bcast:192.168.254.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:3 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:0 (0.0 b)  TX bytes:126 (126.0 b)
>           Interrupt:11 Base address:0xe400
> 
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:1 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:104 (104.0 b)  TX bytes:104 (104.0 b)
> 
> after xend started:
> -------------------
> 
> outgoing traffic dead
> incoming traffic on eth0 dead
> incoming trafic on eth1 ok
> eth0      Link encap:Ethernet  HWaddr 00:40:63:DB:55:18
>           inet addr:192.168.253.55  Bcast:192.168.253.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:25 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:2990 (2.9 KiB)  TX bytes:1562 (1.5 KiB)
>           Interrupt:9 Base address:0xd000
> 
> eth1      Link encap:Ethernet  HWaddr 00:40:63:DB:55:4A
>           inet addr:192.168.254.5  Bcast:192.168.254.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:6 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:0 (0.0 b)  TX bytes:252 (252.0 b)
>           Interrupt:11 Base address:0xe400
> 
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:2 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:208 (208.0 b)  TX bytes:208 (208.0 b)
> 
> xen-br0   Link encap:Ethernet  HWaddr 00:00:00:00:00:00
>           inet addr:192.168.253.55  Bcast:192.168.253.255  
> Mask:255.255.255.255
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> 
> because bridging connects to eth0 ip traffic on a started virtual machine is 
> dead
> 
> if I disable 1 nic the BIOS, all is incomming and outgoing trafic is ok
> and the virtual machine too.

You can force xen to set up the bridge onto eth1 instead of eth0...
just edit /etc/xen/scripts/network and replace

netdev=${netdev:-eth1}

with

netdev=${netdev:-eth0}


-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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