DDEkit for Linux2.6 from svn

Shakthi Kannan shakthimaan at gmail.com
Thu Oct 23 15:49:56 CEST 2008


Hi,

--- On Thu, Oct 23, 2008 at 6:10 PM, Björn Döbel
<doebel at os.inf.tu-dresden.de> wrote:
| I don't use any bridging at all.
\--

What is in your /etc/qemu-ifup?

---
| Just use the above command line, then
| qemu sets up everything needed using qemu-ifup. Afterwards you should
| see the new tap device in ifconfig's output - this is the interface
| you'll probably want to pass over to arping.
\--

I just have the following in /etc/network/interfaces:

  iface eth1 inet dhcp
  auto eth1

I have enabled everything in:

=== /etc/qemu-ifup ===

#!/bin/sh
sudo -p "Password for $0:" /sbin/ifconfig $1 172.20.0.1
echo "Executing /etc/qemu-ifup"
echo "Bringing up $1 for bridged mode..."
sudo /sbin/ifconfig $1 0.0.0.0 promisc up
echo "Adding $1 to br0..."
sudo /usr/sbin/brctl addif br0 $1
sleep 2

=== END ===

It needs to bridging. After running qemu with cd-image.iso, I get:

=== OUTPUT ===

[snip]
Bringing up tap0 for bridged mode...
Adding tap0 to br0...
bridge br0 does not exist!
[snip]

=== END ===

hence "arping -i tap0 04:EA:43:01:96:09 -w 100 -c 10000" gives:

arping: libnet_get_ipaddr4(libnet): libnet_get_ipaddr4(): ioctl():
Cannot assign requested address

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com


More information about the l4-hackers mailing list