[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] Networking not working


  • To: "Bernhard Duebi" <bernhard.duebi@xxxxxxxxxx>, "Xen Virtual Machine Monitor" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
  • From: "James Harper" <JamesH@xxxxxxxxxxxxxxxx>
  • Date: Sat, 9 Oct 2004 13:49:09 +1000
  • Delivery-date: Sat, 09 Oct 2004 04:56:05 +0100
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
  • Thread-index: AcStdCtr2fVx1dxCQVuqTv0klXPlLgAPh08g
  • Thread-topic: [Xen-devel] Networking not working

I had this problem when eth0 (tied to br0) was not in promiscuous mode.
The TLAN driver has a bug where PROMISC mode gets reset when the link
comes up (eg when you pull out the cable and put it in again). My
startup would go like this:

. modprobe tlan for eth0
. create bridge (sets PRMOMISC on eth0)
. tlan finishes initialisation, detects link, and resets PROMISC

I created a kernel patch to fix it but it seems to have been largely
ignored. I work around it by putting a sleep in the network interfaces
config and having a cron job set PROMISC every 5 minutes in the unlikely
event that it gets reset.

Try the following:
ifconfig eth0 promisc
(or whatever your Ethernet interface is)

If that fails, try
ifconfig eth0 -promisc
ifconfig eth0 promisc
in the case where the driver thinks it's already in promiscuous mode and
doesn't set the hardware accordingly

HTH

James

> -----Original Message-----
> From: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
> admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Bernhard Duebi
> Sent: Saturday, 9 October 2004 06:09
> To: Xen Virtual Machine Monitor
> Subject: [Xen-devel] Networking not working
> 
> Hi,
> 
> I try to get xen-unstable working. So far I can boot dom0 and I can
> create dom1. Everything looks fine.
> dom0 can ping dom1 and the rest of the world, but dom1 can only ping
> dom0. What am I doing wrong ?
> 
> Sincerely
> Bernhard
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on
ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give
us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out
> more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.