[LARTC] One interface forwarding (wireless ad-hoc mode)?

Tóth Nándor nug@sch.bme.hu
Mon, 31 Jan 2005 06:57:50 +0100


Hi!

Steven Y. Ko wrote:
> 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
> 
> 
> B cannot forward packets with this routing table. Is there 
> any solution?

Maybe:
# ip forward is a must for a gateway
echo "1" > /proc/sys/net/ipv4/ip_forward


-- 
Udv,
   Nandor