[Prism54-users] Can't connect?

Jens Maurer Jens.Maurer@gmx.net
Sat, 10 Jan 2004 22:55:10 +0100


I'd recommend getting a "basic introduction to TCP/IP"
book that explains these issues in detail.  There may
be documentation on the web as well.

Hannes Bischof wrote:
> eth2      Link encap:Ethernet  HWaddr 00:04:E2:80:3F:20
>           inet addr:192.168.1.150  Bcast:192.168.1.255  Mask:255.255.255.0

The network that you presume can be reached from eth2 is
192.168.1.0/24, i.e. all hosts with IP address 192.168.1.*
(netstat -r displays the routing table).
I presume the network for eth1 is 192.1.168.0/24 as well.
So, when your computer wants to transport a packet
to 192.168.1.30 (your Windows box), it has to decide
whether to use eth1 or eth2.  Since both claim to serve
the same network, the kernel probably uses the first
interface in the list and sends the packet to eth1.
Check with "tcpdump -i eth1" whether that's true.

I presume we're taking about a configuration like this:

          Linux/WLAN -eth1----------- (cable)
              |-------eth2 (WLAN)---- Win2k

So, you probably should have two networks:

   192.168.2.*  on e.g. eth2 and keep 192.168.1.* on eth1.

> ps: Jens Maurer are you german? 

Yes.

Jens Maurer