A routing problem...

From: Iwo Mergler (Iwo_dot_Mergler_at_soton.sc.philips.com)
Date: 06/29/04


Date: Tue, 29 Jun 2004 17:42:20 +0100

Hi all,

I'm trying to do some bandwidth measurements with the following setup:

             A A
+------+ | | +--------------+
| WiFi x----+ +---x AirIntf. |
| | | |
| PC | | ADSL Router |
| | Ethernet | |
| eth0 x-----------------x 100BaseT Hub |
+------+ x |
                          +--------------+

The plan is to have, say, an FTP server sitting on eth0 and
an FTP client talking to it via the WiFi link. I'm having
difficulty setting up the routing table on the PC for this.

The Router serves DHCP addresses on a single subnet, 192.168.31.0,
both on the Air interface and the 100BaseT Hub. The router itself
sits on 192.168.31.1

This gives, for instance 192.168.32.2 for the PC's WiFi interface
and 192.168.32.100 for eth0.

For the test to work, I need to set up a route to reach .100 via the
WiFi interface. So I do a

route add -host 192.168.32.2 WiFi
route add -host 192.168.32.100 gw 192.168.32.2 WiFi

Unfortunately, I don't see a way of setting up the return path from
eth0->Router->WiFi, because

route add -host 192.168.32.2 gw 192.168.32.100 eth0

seems to conflict with the previous routes.

It probably boils down to the question "is it possible to have
two applications using different interfaces on the same subnet?".

I could, of course, use two PCs for the test, but I wonder if
the problem has a solution at all.

Kind regards,

Iwo



Relevant Pages

  • Re: Cant send packets via WiFi (possibly route issue)
    ... I think that this WiFi device should route all ... it should *all* be routed to the eth1 interface. ... Wireless is much like a point-to-point link using ... The connection between the two networks is the "Wifi AP". ...
    (comp.os.linux.networking)
  • Re: Convert DISH TV antenna for WIFI use. USB or RF FEED?
    ... My first thought is to go the USB route, 60-70 ft of coax on any WiFi band is a substantial loss that has to be budgeted for. ... I need to understand if it would be easier to go the USB device route or what the ramifications are to going the traditional rf and coax route? ...
    (rec.radio.amateur.antenna)
  • Re: the infamous linux wifi monster strikes
    ... Well I would issue dhclient eth0 or eth1 whichever is ... "sudo aptitude install wicd" ... You may find that your wifi card just works after installing wicd. ...
    (Ubuntu)
  • Re: cant access wired lan at same time as wifi link
    ... Do ipconfig on command prompt and give me the data, also give me the route ... handles our internet connection via proxy software. ... for and the instructions caused the ling between laptop and desktop to ... connected to the desktop via wifi. ...
    (microsoft.public.windowsxp.network_web)
  • Re: cant access wired lan at same time as wifi link
    ... I don't seen anything wrong with your setup, I'm assuming either your wifi ... At present I don't have a forced persistant route ... Ethernet adapter Wireless Network Connection: ... If both interfaces can access a gateway called 192.168.0.101 - the ...
    (microsoft.public.windowsxp.network_web)