All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] One interface forwarding (wireless ad-hoc
@ 2005-01-31  2:51 Steven Y. Ko
  2005-01-31  5:57 ` [LARTC] One interface forwarding (wireless ad-hoc mode)? Tóth Nándor
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Steven Y. Ko @ 2005-01-31  2:51 UTC (permalink / raw)
  To: lartc

Hi,

I'm wondering if there's any simple solution. This problem 
looks very simple, so maybe there's a simple solution that 
I'm missing, but I couldn't do it yet.

I'm configuring an wireless ad-hoc network with three 
laptops;

A ---- B ---- C

where A and C can only talk to B, and B can talk to both A 
and C. A and C cannot talk to each other. I'd like to 
configure B so that A can talk to C via B (and vice versa). 
The addresses are,
A: 192.168.0.1
B: 192.168.0.2
C: 192.168.0.3

Since this is an wireless ad-hoc network, every machine has 
only one (wireless) interface, so B should receive a packet 
through its interface eth0 and forward it through eth0 
again. Currently, A, B, and C only have the same basic 
routing table;

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric 
Ref    Use Iface
192.168.0.0   *               255.255.255.0   U     0      
0        0 eth0
169.254.0.0     *               255.255.0.0     U     0      
0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      
0        0 lo

B cannot forward packets with this routing table. Is there 
any solution?

Thanks,
Steve
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-31 17:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-31  2:51 [LARTC] One interface forwarding (wireless ad-hoc Steven Y. Ko
2005-01-31  5:57 ` [LARTC] One interface forwarding (wireless ad-hoc mode)? Tóth Nándor
2005-01-31 16:49 ` [LARTC] One interface forwarding (wireless Steven Y. Ko
2005-01-31 17:02 ` [LARTC] One interface forwarding (wireless ad-hoc mode)? Tóth Nándor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.