[Gllug] routing problems (ip forwarding)

Xander D Harkness xander at harkness.co.uk
Fri Sep 20 15:49:49 UTC 2002


I have a laptop I am trying to route through.

The laptop has a wireless card and a built-in ethernet port.

I am trying to use the laptop as a wireless router for my Zaurus.

ipaddress for ethernet is 192.168.1.59 (internet gateway 192.168.1.1)
ipaddress for wireless is 192.168.2.1
ipaddress for zaurus is 192.168.1.190 (gateway 192.168.2.1)

I can ping the laptop (192.168.2.1) from the Zaurus.
I can ping the zaurus (192.168.2.190) from the laptop
I cannot ping through the laptop in either direction.

I have disabled any firewall and enabled IP forwarding.

The laptop is running limbo2 (latest RH beta) kernel version 2.4.18-5.58

Has anyone an idea as to why?

Kind regards
Xander

[root at lappy network-scripts]# echo 1 > /proc/sys/net/ipv4/ip_forward
[root at lappy network-scripts]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:90:F5:07:BB:FC
          inet addr:192.168.1.59  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:332 errors:0 dropped:0 overruns:0 frame:0
          TX packets:442 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:305411 (298.2 Kb)  TX bytes:40260 (39.3 Kb)
          Interrupt:10 Base address:0x3200

eth1      Link encap:Ethernet  HWaddr 00:02:2D:27:84:93
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:115 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:35 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:10188 (9.9 Kb)  TX bytes:5640 (5.5 Kb)
          Interrupt:3 Base address:0x100

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:72 errors:0 dropped:0 overruns:0 frame:0
          TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4694 (4.5 Kb)  TX bytes:4694 (4.5 Kb)




-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list