ciao Martin Wegmann, > ppp0 Link encap:Point-to-Point Protocol > inet addr:145.254.235.101 P-t-P:145.253.1.121 Mask:255.255.255.255
your address: 145.254.235.101 the address of the other side of the cable: 145.253.1.121 (your gateway to internet) > [EMAIL PROTECTED]:/$ /sbin/route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 145.253.1.121 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 > 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > 0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 eth0 here you can see that in the routing table the gateway is 10.0.0.1 (0.0.0.0 means everything that has not an explicit route) so all your ping go to 10.0.0.1 instead to 145.253.1.121 solution: cat script/route-ppp.sh #!/bin/sh -x FROM=$1 TO=$2 # delete bad default route route del default gw $FROM eth0 # add new default route route add default gw $TO ppp0 call this script as: route-ppp.sh 10.0.0.1 145.253.1.121 try it. ciao -- /* Paolo Pedaletti,