All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felipe Alfaro Solana <felipe.alfaro@gmail.com>
To: Michael Stoehrel <mstoehrel@sidarion.ch>
Cc: xen-devel@lists.sourceforge.net
Subject: Re: 2 nics
Date: Wed, 23 Mar 2005 14:53:13 +0100	[thread overview]
Message-ID: <6f6293f1050323055333b370ec@mail.gmail.com> (raw)
In-Reply-To: <loom.20050323T111405-926@post.gmane.org>

On Wed, 23 Mar 2005 10:59:52 +0000 (UTC), Michael Stoehrel
<mstoehrel@sidarion.ch> 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

      reply	other threads:[~2005-03-23 13:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-23 10:59 2 nics Michael Stoehrel
2005-03-23 13:53 ` Felipe Alfaro Solana [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6f6293f1050323055333b370ec@mail.gmail.com \
    --to=felipe.alfaro@gmail.com \
    --cc=mstoehrel@sidarion.ch \
    --cc=xen-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.