[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to find out IP address used by router?

Serena Cantor ha scritto:
I have  2 PCs that are connected to wireless router, which is
 connected to a cable modem.

The two PCs form a private network. I want to know the IP used by Internet user to access one of  PCs.

If you need to do it in a script, you might prefer something along the lines of:

wget -O - http://whatismyip.org/ 2>/dev/null


A tautology is a thing which is tautological.
Time flies like an arrow.  Fruit flies like a banana.

Reply to: