[Gllug] routing problems (ip forwarding)
Liad Bokovsky
lbokovsk at akamai.com
Sun Sep 22 23:48:17 UTC 2002
Can you ping 192.168.1.59 from the Zaurus (192.168.2.190) ? I assume you can.
Zaurus 192.168.2.190/24 gw 192.168.2.1
Laptop 192.168.2.1/24
Laptop 192.168.1.59/24 gw 192.168.1.1
Router 192.168.1.1/24 gw INTERNET
Did you add a static route to network 192.168.2.0/24 on the Router?
Liad
On Fri, Sep 20, 2002 at 06:15:58PM +0100 , Xander D Harkness mentioned that:
>
>
>Liad Bokovsky wrote:
>
>>send the following data as well:
>>
>>netmasks.
>>
>255.255.255.0 on all
>
>>routing table on the linux machine (netstat -rn)
>>
>Destination Gateway Genmask Flags MSS Window irtt
>Iface
>192.168.2.0 0.0.0.0 255.255.255.0 U 40 0 0 eth1
>192.168.1.0 0.0.0.0 255.255.255.0 U 40 0 0
>eth0
>127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo
>0.0.0.0 192.168.1.1 0.0.0.0 UG 40 0 0 eth0
>
>>check if ip forwarding is really enabled (cat
>>/proc/sys/net/ipv4/ip_forward should return 1).
>>
>The cat command did return 1
>
>Kind regards
>Xander
>
>>
>>Liad
>>
>>On Fri, Sep 20, 2002 at 04:49:49PM +0100 , Xander D Harkness mentioned that:
>>
>>
>>
>>>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
>>>
>>>
>>
>>
>>
>
>
>--
>Gllug mailing list - Gllug at linux.co.uk
>http://list.ftech.net/mailman/listinfo/gllug
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list