[PLUG] How to detect ppp address change remotely?

Tom Sharples tsharples at qorvus.com
Sun Mar 18 04:37:24 UTC 2012


Only have busybox on these devices. Unfortunately -T isn't supported, 
and tcptraceroute isn't installed.

traceroute: invalid option -- T
Options:
         -d      set SO_DEBUG options to socket
         -n      Print hop addresses numerically rather than symbolically
         -r      Bypass the normal routing tables and send directly to a 
host
         -v      Verbose output
         -m max_ttl      Set the max time-to-live (max number of hops)
         -p port#        Set the base UDP port number used in probes
                 (default is 33434)
         -q nqueries     Set the number of probes per ``ttl'' to nqueries
                 (default is 3)
         -s src_addr     Use the following IP address as the source address
         -t tos  Set the type-of-service in probe packets to the 
following value
                 (default 0)
         -w wait Set the time (in seconds) to wait for a response to a probe
                 (default 3 sec.).


rOn 3/17/2012 9:26 PM, Bill Barry wrote:
> On Sat, Mar 17, 2012 at 9:09 PM, Tom Sharples<tsharples at qorvus.com>  wrote:
>> Neither arp not ip n show the ppp0 address on either router, probably
>> because of the noarp option being selected (don't think I have control over
>> that but will check).  Ifconfig does of course, but that only helps on the
>> gateway router, not the downstream ones. And as mentioned before, traceroute
>> just skips the local IP ppp0 ip address:
>>
>> Hoku_R2:~# traceroute yahoo.com
>> traceroute to yahoo.com (98.139.183.24), 30 hops max, 40 byte packets
>>   1  172.16.181.1 (172.16.181.1)  34.889 ms  1.059 ms  1.022 ms<---gateway
>> node
>>   2  132.sub-66-174-202.myvzw.com (66.174.202.132)  61.664 ms  79.163 ms
>>   67.642 ms<---verizon tower gateway
>>
>> At position 2 above I would expect to see the ppp0 address:
>>
>> ppp0      Link encap:Point-to-Point Protocol
>>           inet addr:72.10.xxx.xx  P-t-P:66.174.202.132  Mask:255.255.255.255
>>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
>>
>> but no joy.
>>
>> Tom S.
> How about tcptraceroute or traceroute -T?
>
> Bill
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug




More information about the PLUG mailing list