sorry for the difficulties I made, tried to express well...but only
those who read them can tell the answer
might try it in a simpler way: I am trying to setup a network, which
consisted of 2 group of pcs:
- one group each with only one ethernet interface ('pc's)
- another group each has an ethernet interface and a wireless interface
('node's, embedded Linux)
- all ethernet interfaces are physically connected in same subnet
- wireless interfaces are also connected and composed another adhoc
subnet
- with a scheduler, a 1-to-1 relation between 'pc's and 'node's will be
created and dynamically updated, so assign each 'pc' a related 'node';
then the target: I'd like to find a configuration that can force all
traffics among 'pc's to be routed actually through their relevant
'node's, then through the wireless network, as if these 'pc's are
totally unwired with each other.
with a diagram(preview looks fine, but post still create
problem...please check with "show original" option if it looks still
messed):
_____ _____ _____
| | | | | |
| pc0 | | pc1 | | pc2 |
| | | | | |
eth0 |_____| eth0 |_____| eth0 |_____|
| | |
| | |
NET1 | | |
----+------+-----+------+------+------+------+------------
| | |
| | |
| | |
eth0 ,--+--, eth0 ,--+--, eth0 ,--+--,
| | | | | |
| nd0 | | nd1 | | nd2 |
| | | | | |
ath0 |_____| ath0 |_____| ath0 |_____|
: : :
NET2 : : :
..................:............:..............:... ..........
so as an example, at a specific moment if we mapped pc0 to nd0, pc1 to
nd1, than the traffic between pc0 and pc1 should be routed through nd0
and nd1:
pc0 <--> pc0/eth0 <--> nd0/eth0 <--> nd0/ath0 <--> nd1/ath0 <-->
nd1/eth0 <--> pc1/eth0 <--> pc1.
have read some documents and howtos, but I am a bit lost in this case,
PROXY_ARP, IP tunnelling, manage arp table and route tables, or should
actually write a device driver so try to control every thing at every
interface...? really appreciate if somebody can enlighten me, show me a
bit the big picture and principles I should take....
Regards, Paulour