After connecting this is what I get (O2 Ireland) Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.202.1 * 255.255.255.255 UH 0 0 0 ppp0 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0 default 192.168.202.1 0.0.0.0 UG 0 0 0 ppp0
In my script I delete the exiting default route, but I don'd do any more. I don't know if that helped. BTW I used a static IP initially. Regards Diarmuid --- In [email protected], "xfingerfox32" <[EMAIL PROTECTED]> wrote: > > Hello, > > I have the following situation i cannot figure out how to solve. > I need to have the foxboard to be reached from the internet using the > GPRS link, simple as that. I have my foxboard flashed with dynamic IP > and a connection with GPRS. I am now able to ping from inside > foxboard to this outside IP, but still cannot reach this IP from > internet. There must be something wrong with route i should set. > > Here is what i did: > > * started the foxboard with dynamic IP, now i got the internal IP > from my router: > eth0 Link encap:Ethernet HWaddr 00:40:8C:16:85:25 > inet addr:192.168.254.4 Bcast:192.168.254.255 > Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:317 errors:0 dropped:0 overruns:0 frame:0 > TX packets:189 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:27794 (27.1 KiB) TX bytes:20815 (20.3 KiB) > Interrupt:17 DMA chan:1 > > 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:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) > > here is the actual IP route: > Destination Gateway Genmask Flags Metric Ref > Use Iface > 192.168.254.0 * 255.255.255.0 U 0 0 > 0 eth0 > default 192.168.254.254 0.0.0.0 UG 0 0 > 0 eth0 > > > * started a GPRS link with PPP: > eth0 Link encap:Ethernet HWaddr 00:40:8C:16:85:25 > inet addr:192.168.254.4 Bcast:192.168.254.255 > Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:419 errors:0 dropped:0 overruns:0 frame:0 > TX packets:257 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:35123 (34.2 KiB) TX bytes:27043 (26.4 KiB) > Interrupt:17 DMA chan:1 > > 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:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) > > ppp0 Link encap:Point-Point Protocol > inet addr:189.88.28.174 P-t-P:192.168.202.0 > Mask:255.255.255.255 > UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 > RX packets:5 errors:0 dropped:0 overruns:0 frame:0 > TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:3 > RX bytes:80 (80.0 B) TX bytes:58 (58.0 B) > > * Followed the Tanzilli instructions to delete the route, now i have: > Destination Gateway Genmask Flags Metric Ref > Use Iface > 192.168.202.0 * 255.255.255.255 UH 0 0 > 0 ppp0 > 192.168.254.0 * 255.255.255.0 U 0 0 > 0 eth0 > > * I am able to keep the telnet connection with the private IP > * I can ping from the foxboard: > ping 189.88.28.174 > 189.88.28.174 is alive! > > * from the internet (my linuxbox) not (even http): > [EMAIL PROTECTED] ~]$ ping 189.88.28.174 > PING 189.88.28.174 (189.88.28.174) 56(84) bytes of data. > > --- 189.88.28.174 ping statistics --- > 27 packets transmitted, 0 received, 100% packet loss, time 25994ms > > What i am doing wrong or missing? > Any suggestion would be really appreciated. > > Best regards, > Alexander >
