All of lore.kernel.org
 help / color / mirror / Atom feed
* 2 nics
@ 2005-03-23 10:59 Michael Stoehrel
  2005-03-23 13:53 ` Felipe Alfaro Solana
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Stoehrel @ 2005-03-23 10:59 UTC (permalink / raw)
  To: xen-devel

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.



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2 nics
  2005-03-23 10:59 2 nics Michael Stoehrel
@ 2005-03-23 13:53 ` Felipe Alfaro Solana
  0 siblings, 0 replies; 2+ messages in thread
From: Felipe Alfaro Solana @ 2005-03-23 13:53 UTC (permalink / raw)
  To: Michael Stoehrel; +Cc: xen-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-23 13:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-23 10:59 2 nics Michael Stoehrel
2005-03-23 13:53 ` Felipe Alfaro Solana

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.