Hey all. I'm running a Linux box as my gateway using IP Masquerade. The
box doesn't stay connected all the time, and I need to know what my IP
address is when I am connected. I'm running the following command:
ifconfig -l ppp0
which gives me the following output:
ppp0 Link encap:Point-to-Point Protocol
inet addr:209.143.8.221 P-t-P:204.18.96.12 Mask:255.255.255.0
UP POINTOPOINT RUNNING MTU:1524 Metric:1
RX packets:388 errors:0 dropped:0 overruns:0 frame:0
TX packets:389 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Memory:4a9038-4a9c34
What's the difference between inet addr and P-t-P?
Thanks!
--
Steve