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.
On 3/17/2012 8:51 PM, Bill Barry wrote:
> On Sat, Mar 17, 2012 at 6:54 PM, Tom Sharples<[email protected]> wrote:
> ..
>> Verizon gateway router on their tower as the first public IP rather that
>> the locally assigned ppp0 public IP address. Any suggestions for how to
>> determine that ppp0 IP using standard tools and pref. without writing
>> e.g. inter-router communications scripts etc. would be welcome.
>> verizon_tower------------------[3G_modem(ppp0)]-[router_1]---------------[5.8Ghz_link]----------------[router_2]
> router_2 could be able to run arp to find the ip address of router_1.
> router_1 could run ifconfig to find out its own address
>
> Bill
>
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug