A routing problem...
From: Iwo Mergler (Iwo_dot_Mergler_at_soton.sc.philips.com)
Date: 06/29/04
- Next message: keith: "Re: Help: peer-to-peer network"
- Previous message: 花开满月Full Moon during Blooming Flowers: "Help: peer-to-peer network"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: keith: "Re: Help: peer-to-peer network"
- Previous message: 花开满月Full Moon during Blooming Flowers: "Help: peer-to-peer network"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|