DDEkit for Linux2.6 from svn

Shakthi Kannan shakthimaan at gmail.com
Thu Oct 23 14:05:26 CEST 2008


Hi,

--- On Thu, Oct 23, 2008 at 3:23 PM, Shakthi Kannan
<shakthimaan at gmail.com> wrote:
|  arping: unknown host 04:EA:43:01:96:09
\--

Old arping package. I have upgraded arping now, and it runs properly.

---
| I have the following in /etc/network/interfaces:
|
|  auto tap0
|  iface tap0 inet static
|      pre-up tunctl -u foo -t tap0
|      address 172.20.0.1
|      netmask 255.255.255.0
|
| I manually add tap0 to the bridge using:
|
|  sudo brctl addif br0 tap0
\--

I have now commented everything in /etc/qemu-ifup. ifconfig -a output,
after starting qemu with cd-image.iso:

=== ifconfig -a ===

br0       Link encap:Ethernet  HWaddr 00:19:d1:2e:06:33
          inet addr:192.168.1.211  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::219:d1ff:fe2e:633/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5984 errors:0 dropped:0 overruns:0 frame:0
          TX packets:876 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1519243 (1.4 MiB)  TX bytes:80704 (78.8 KiB)

eth1      Link encap:Ethernet  HWaddr 00:19:d1:2e:06:33
          inet6 addr: fe80::219:d1ff:fe2e:633/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:14646 errors:0 dropped:0 overruns:0 frame:0
          TX packets:921 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2990480 (2.8 MiB)  TX bytes:87734 (85.6 KiB)

lo        Link encap:Local Loopback
          LOOPBACK  MTU:16436  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)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  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)

tap0      Link encap:Ethernet  HWaddr 4a:da:d7:6f:4a:44
          inet addr:172.20.0.1  Bcast:172.20.0.255  Mask:255.255.255.0
          inet6 addr: fe80::48da:d7ff:fe6f:4a44/64 Scope:Link
          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:7314 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

tap1      Link encap:Ethernet  HWaddr 2e:63:3c:7b:a1:51
          BROADCAST 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:500
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

=== END ===

Still tap1 gets created. From another shell on the host system, I add
tap0 to bridge:

  brctl addif br0 tap0

Output of brctl show:

=== brctl show ===

bridge name    bridge id                  STP enabled   interfaces
br0                 8000.0019d12e0633  no                 eth1
                                                                         tap0

=== END ===

=== arping -i tap0 04:EA:43:01:96:09 -w 100 -c 3 ===

ARPING 04:EA:43:01:96:09

--- 04:EA:43:01:96:09 statistics ---
3 packets transmitted, 0 packets received, 100% unanswered

=== END ===

AFAIK, br0 is the bridge between eth1 (Internet) and tap0. So, tap0
should communicate to ORe. What is the need for tap1?

SK

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




More information about the l4-hackers mailing list