On 4/16/07, Jari Aalto <[EMAIL PROTECTED]> wrote:
> "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.
>
No working at all ? or network not working ?

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

Yes, of course to tap0. He He.

> > 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
>
That's the problem !

You're routing table points to ra0 interface !
Do you remember that I told you earlier to remove ALL IP addresses
from all interfaces, that participate in bridging ?
Well - this is it ! Remove IP from ra0.
Your kernel tries to send packets via ra0 interface, while it should
send them via br0.

>
> >> [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.
>
ok.

> >>
> >> [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)
>
OK.

Very glad that you showed me ipcalc ! (I didn't knew that it exists
for Linux, even despite I have a GUI subnet IP caclulator for Windows)
Unfortunately, openSUSE 10.2 doesn't seem to have ipcalc package :(
and I'm too lazy to compile myself. I'm natural Suser(=SUSE user). :)


> > 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.
> Could you elaborate how do I remove the logical addresses you mentioned?
>

Jari, that's easy !

ifconfig ra0 0.0.0.0
(not sure about how-to remove IPv6 addresses, maybe ::0 )

I even have that documented in my own VirtualBox guide for Susers !

See "Networking via Host Bridging" topic. link:
http://www.violtan.com/ae/virtualbox.html

What do you think of my guide ? :)
(perhaps your answer will be irrelevant to Debian. he he)
Suser at your service

Wish you luck

-- 
-Alexey Eremenko "Technologov"

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

Reply via email to