"Alexey Eremenko" <[EMAIL PROTECTED]> writes:

> Recommendation: Use Wireshark on both Host AND Guest to troubleshoot
> the problem.

I can se wireshark on Host, but until I get the gues working I cannot
get more software on there.

Should I attach it to tap0 and listen all TCP traffic?

> Also look in your arp and routing tables:
>
> arp

I haven't touched arp. The ra0 is the wireless A-link 54Mb pcmcia card.

[Host]
Address                  HWtype  HWaddress           Flags Mask            Iface
etana                            (incomplete)                              br0
bongo                    ether   00:08:A1:A4:69:FA   C                     ra0
cajon                    ether   00:08:A1:A7:AD:CD   C                     ra0
etana                    ether   00:18:39:C0:4F:19   C                     ra0
w2kpicasso               ether   00:60:08:E9:1C:B8   C                     ra0

> route

[Host]
# route -n
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.224 U     0      0        0 ra0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 br0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 br0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 ra0


>> [2] Guest: /etc/network/interfaces
>>
>> iface eth1 inet static
>>         address 192.168.1.7
>>         netmask 255.255.255.0
>>         broadcast 192.168.1.255
>>         gateway 192.168.1.1
>>
>
> If you want, you can setup this using dhcpcd. But it should work this
> way as well....

I'm using only static addresses and no dhcp on the wireless network.

>>
>> [1] Host 'ifconfig'
>>
>> br0       Link encap:Ethernet  HWaddr 00:D0:59:36:5D:4E
>>           inet addr:192.168.1.3  Bcast:192.168.1.31  Mask:255.255.255.0
>
> Why is this ? BCast should be: 192.168.1.255
> Which interfaces this bridge includes?

The Network is subnetted to limit number of hosts to:

    # ipcalc -n 192.168.1.1/255.255.255.224
    Address:   192.168.1.1          11000000.10101000.00000001.000 00001
    Netmask:   255.255.255.224 = 27 11111111.11111111.11111111.111 00000
    Wildcard:  0.0.0.31             00000000.00000000.00000000.000 11111

Hm. I have to correct the mask in br0 (see ra0). The eth0 is the cable
(inactive; while wireless)

>>           inet6 addr: fe80::2d0:59ff:fe36:5d4e/64 Scope:Link
>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:0
>>           RX bytes:0 (0.0 b)  TX bytes:1728 (1.6 KiB)
>>
>> eth0      Link encap:Ethernet  HWaddr 00:D0:59:36:5D:4E
>>           UP 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:1000
>>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>>
>> lo        Link encap:Local Loopback
>>           inet addr:127.0.0.1  Mask:255.0.0.0
>>           inet6 addr: ::1/128 Scope:Host
>>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>>           RX packets:5228473 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:5228473 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:0
>>           RX bytes:1224296764 (1.1 GiB)  TX bytes:1224296764 (1.1 GiB)
>>
>> ra0       Link encap:Ethernet  HWaddr 00:08:A1:A7:B0:F9
>>           inet addr:192.168.1.3  Bcast:192.168.1.31  Mask:255.255.255.224
>>           inet6 addr: fe80::208:a1ff:fea7:b0f9/64 Scope:Link
>>           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>>           RX packets:58348805 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:23772687 errors:301 dropped:301 overruns:0 carrier:0
>>           collisions:666611 txqueuelen:1000
>>           RX bytes:3676348854 (3.4 GiB)  TX bytes:73126697 (69.7 MiB)
>>           Interrupt:11
>>
>> tap0      Link encap:Ethernet  HWaddr 4A:01:EA:3C:93:EE
>>           inet6 addr: fe80::4801:eaff:fe3c:93ee/64 Scope:Link
>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:97 errors:0 dropped:16 overruns:0 carrier:0
>>           collisions:0 txqueuelen:500
>>           RX bytes:0 (0.0 b)  TX bytes:4422 (4.3 KiB)
>
> I would recommend you to get rid of *all* logical addresses, including
> IPv4 and IPv6 if this interface participates in the bridge.
> This sometimes causes serious problems.

The bridge is configured like this in /etc/network/interfaces:

  iface br0 inet static
        address         192.168.1.3
        netmask         255.255.255.224
        network         192.168.1.0
        broadcast       192.168.1.31
        gateway         192.168.1.1
        bridge_ports    ra0 tap0
        #   bridge forward delay, default 15. Show messages immediately
        bridge_fd       1
        #   hello time to <time> seconds, default is 2
        # bridge_hello    1
        #   This is only bridge: spanning tree protocol
        bridge_stp      off

  # Commercial ralink Linux driver RT61 (from ralink site)
  iface ra0 inet static
        address         192.168.1.3
        netmask         255.255.255.224
        gateway         192.168.1.1
        broadcast       192.168.1.31
        # wireless-* options are implemented by the wireless-tools package
        wireless-mode    managed
        wireless-essid   xxx
        wireless-channel 11
        wireless-ap      00:18:39:C0:4F:1B
        wireless-key     off

Could you elaborate how do I remove the logical addresses you mentioned?

Thanks,
Jari


_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to