qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] NETDEV WATCHDOG: eth0: transmit timed out


From: Horst Schlonz
Subject: Re: [Qemu-devel] NETDEV WATCHDOG: eth0: transmit timed out
Date: Wed, 05 Jan 2005 21:06:31 +0100

Am Mittwoch, den 05.01.2005, 14:50 -0500 schrieb Jim C. Brown:
> On Wed, Jan 05, 2005 at 07:12:49PM +0100, Horst Schlonz wrote:
> > Am Mittwoch, den 05.01.2005, 10:43 -0500 schrieb Jim C. Brown:
> > > On Wed, Jan 05, 2005 at 05:30:44AM +0100, Horst Schlonz wrote:
> > > > the problem is:
> > > > address@hidden # ping -c1 172.20.0.1
> > > > PING 172.20.0.1 (172.20.0.1) 56(84) bytes of data
> > > > NETDEV WATCHDOG: eth0: transmit timed out
> > > > NETDEV WATCHDOG: eth0: transmit timed out
> > > > >From 172.20.0.2 icmp_seq=1 Destination Host Unreachable
> > > > 
> > > > --- 172.20.0.1 ping statistics ---
> > > > 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
> > > > address@hidden #
> > > > 
> > > > can anyone confirm this? is something wrong with the emulated
> > > > realtek-network-device?
> > > > 
> > > 
> > > Looks like you may need to set up iptables. E.g. make sure the kernel 
> > > firewall
> > > isn't blocking it.
> > > 
> > > Also possible that you are using the wrong driver in the guest OS, so it 
> > > doesn't
> > > see the ethernet card.
> > > 
> > 
> > so, this is supposed to work, right? does it work for you? or am i
> > missing something here? i have tried various drivers (kernels, indeed).
> > suse 9.2, latest knoppix...   same problem there.
> 
> Show us what is in your /etc/qemu-ifup script.
> 
address@hidden # cat /etc/qemu-ifup
#!/bin/sh
sudo -p "Password for $0:" /sbin/ifconfig $1 172.20.0.1
address@hidden #

> > 
> > maybe it's the tun-driver of my host kernel. i have ubuntu hoary with
> > stock kernel 2.6.9-1-686 here. firewall tables are all clean on host and
> > guest, i have checked this already with iptables -L.
> 
> That isn't good enough, you need to add several rules to get it to work.
> 

i just followed the documentation:

quote
3.7.1 Using tun/tap network interface
This is the standard way to emulate network. QEMU adds a virtual network
device on your host (called tun0), and you can then configure it as if
it was a real ethernet card.

As an example, you can download the `linux-test-xxx.tar.gz' archive and
copy the script `qemu-ifup' in `/etc' and configure properly sudo so
that the command ifconfig contained in `qemu-ifup' can be executed as
root. You must verify that your host kernel supports the TUN/TAP network
interfaces: the device `/dev/net/tun' must be present.
/quote






reply via email to

[Prev in Thread] Current Thread [Next in Thread]