Re: ip address behind router ?

2005-01-18 Thread Benjamin Walkenhorst
FreeBsdBeni wrote:
I can indeed access the Linksys modem directly and find out the address. But I 
was hoping for a more direct or easier way to do it, if possible...
 

Point your browser to www.whatismyip.com
Kind regards,
Benjamin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ip address behind router ?

2005-01-11 Thread Shane Ambler
Looks to me that this page is not entirely accurate. (at least from where I
am) 
It would appear to get a proxy server somewhere along the way.

I would consider using the dynamic dns services - such as no-ip - and use a
perl script that updates then ping your dns name.
Not sure if they are more accurate that the below idea though.

On 11/1/05 8:26 AM, Tom Connolly [EMAIL PROTECTED] wrote:

 Brian Davis wrote:
 On Sun, 9 Jan 2005 14:38:56 +0100
 FreeBsdBeni [EMAIL PROTECTED] wrote:
 
 Hi,
 
 How do I find what ip address I'm really having ?
 My adsl modem/firewall gives me a dynamic private address :
 192.168.1.101,  which is what I see with an ifconfig. But how do I
 find the real (dynamic)  address given to my modem by my provider ?
 I'm using 5.3-rel-p4.
 --
 Beni.
 
 
 
 If you just need a simple solution to see your external IP address, just
 go to:
 http://www.ostrosoft.com/OIT/external_ip.asp
 
 It will show your outside IP address in red.
 
 Good luck,
 Tom
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 

Shane Ambler
Sales Department
007Marketing.com
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ip address behind router ?

2005-01-11 Thread Tom Connolly
Shane Ambler wrote:
 Looks to me that this page is not entirely accurate. (at least from
 where I 
 am)
 It would appear to get a proxy server somewhere along the way.
 

Yes this is true.  If your behind a proxy or have a complicated network
setup, this will fail.  For most DSL/Cable modem customers this simple
solution will work fine.  These services are going to get the IP address
of the last packet sent from the network.  If you have more than one
router, this will be the last router (NAT device) in your setup.  It
should work for most simple cases though.

There are also some other web servers out there that offer this
functionality.  Just Google on external or outside IP and see if any of
the other sites show any differences.

 I would consider using the dynamic dns services - such as no-ip - and
 use a perl script that updates then ping your dns name. Not sure if
 they are more accurate that the below idea though.  
 

That is an interesting idea.  I would bet they may have the same
problems with proxy servers and such but it would be worth a try.

Good Luck,
Tom

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ip address behind router ?

2005-01-10 Thread Chuck Swiger
FreeBsdBeni wrote:
[ ... ]
I can indeed access the Linksys modem directly and find out the address. But I 
was hoping for a more direct or easier way to do it, if possible...
Because you are using a device which performs NAT, you have to query that 
device to find out the real IP; there is no way on a machine within the 
private NAT'ed subnet to get external information without asking externally.

However, if you connect your machine directly to the aDSL modem rather than 
using a firewall/router, you could run ifconfig on your machine and see the 
real IP.  You'd probably have to configure pppoe which can be a pain, and your 
typical Linksys broadband router already does a good job of handling that.

--
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ip address behind router ?

2005-01-10 Thread Brian Davis
On Sun, 9 Jan 2005 14:38:56 +0100
FreeBsdBeni [EMAIL PROTECTED] wrote:

 Hi,
 
 How do I find what ip address I'm really having ? 
 My adsl modem/firewall gives me a dynamic private address :
 192.168.1.101,  which is what I see with an ifconfig. But how do I find
 the real (dynamic)  address given to my modem by my provider ?
 I'm using 5.3-rel-p4.
 -- 
 Beni.
 

Try the traceroute command. The first IP address will be the
address of your modem. If I traceroute my ISP this is the output.
The 1st line contains  the IP address of my cable modem.

traceroute to cox.net (68.1.17.9), 64 hops max, 40 byte packets
1  ip68-102-20-166.ks.ok.cox.net (68.102.20.166)  1.942 ms  1.941 ms 1.861
ms
2  ip68-102-0-1.ks.ok.cox.net (68.102.0.1)  14.284 ms  18.493 ms15.513 ms
3  ip68-103-127-194.ks.ok.cox.net (68.103.127.194)  21.864 ms 14.744 ms 
11.646 ms
4  ip68-103-255-237.ks.ok.cox.net (68.103.255.237) 14.404 ms  32.946 ms 
13.704 ms
 5  68.1.1.180 (68.1.1.180)  18.623 ms  13.751 ms  18.183 ms
 6  68.1.1.175 (68.1.1.175)  24.568 ms  29.769 ms  19.844 ms
 7  mtc3bbrc02-pos0100.rd.ok.cox.net (68.1.0.103)  41.478 ms  20.997 ms 
28.005 ms
 8  lkhnbbrc01-pos0200.rd.at.cox.net (68.1.0.113)  51.983 ms  57.733 ms 
48.226 ms
 9  lkhndsrc01-pos0901.rd.at.cox.net (68.1.0.5)  60.806 ms  85.053 ms 
53.278 ms
10  lkhnsysc01-gic03.at.cox.net (68.1.15.242)  46.912 ms  49.078 ms 
50.568 ms
11  lkhnsysl01-gex1.at.cox.net (68.1.16.53)  63.030 ms  57.538 ms  64.792
ms


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ip address behind router ?

2005-01-10 Thread Tom Connolly
Brian Davis wrote:
 On Sun, 9 Jan 2005 14:38:56 +0100
 FreeBsdBeni [EMAIL PROTECTED] wrote:
 
 Hi,
 
 How do I find what ip address I'm really having ?
 My adsl modem/firewall gives me a dynamic private address :
 192.168.1.101,  which is what I see with an ifconfig. But how do I
 find the real (dynamic)  address given to my modem by my provider ?
 I'm using 5.3-rel-p4.
 --
 Beni.
 
 

If you just need a simple solution to see your external IP address, just
go to:
http://www.ostrosoft.com/OIT/external_ip.asp

It will show your outside IP address in red.

Good luck,
Tom

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ip address behind router ?

2005-01-10 Thread cpghost
On Mon, Jan 10, 2005 at 03:52:02PM -0600, Brian Davis wrote:
 On Sun, 9 Jan 2005 14:38:56 +0100
 FreeBsdBeni [EMAIL PROTECTED] wrote:
 
  Hi,
  
  How do I find what ip address I'm really having ? 
  My adsl modem/firewall gives me a dynamic private address :
  192.168.1.101,  which is what I see with an ifconfig. But how do I find
  the real (dynamic)  address given to my modem by my provider ?
  I'm using 5.3-rel-p4.
  -- 
  Beni.
  
 
 Try the traceroute command. The first IP address will be the
 address of your modem. If I traceroute my ISP this is the output.
 The 1st line contains  the IP address of my cable modem.

That doesn't work well if you use NAT, because traceroute works
only in one direction (forward). With NAT you will see something
like 

1. internal address of your nat box/router (say: 192.168.1.1)
2. address of your NAT box' peer (the ISP router at the other
   end of the ADSL link, not your external address)
3. other addresses.

The problem is that between 1 and 2, you won't see the external
address of your NAT box (the one it got e.g. via DHCP).

If you want to see that address, you'll have to perform the
traceroute 'backwards'. That's what RR-Records in the ICMP
protocol are for.

% ping -R www.freebsd.org
PING www.freebsd.org (216.136.204.117): 56 data bytes
64 bytes from 216.136.204.117: icmp_seq=0 ttl=53 time=235.246 ms
RR: natbox.yourdomain.tld (a.b.c.d)
upstream.yourprovider.tld (e.f.g.h)
... more addresses here ...

Your external address would be a.b.c.d in the example above.
e.f.g.h would be the 'other side' of your peer (isp) router
(looking to ITS upstream router and away from you). Essentially,
RR records are being seen from the destination (here: www.freebsd.org)
rather than from the source. That's the only way to see the
external address (a.b.c.d) of your NAT box.

Cheers,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ip address behind router ?

2005-01-09 Thread James Jhai
On Sunday 09 January 2005 06:38 am, FreeBsdBeni wrote:
 Hi,
 
 How do I find what ip address I'm really having ? 
 My adsl modem/firewall gives me a dynamic private address : 192.168.1.101, 
 which is what I see with an ifconfig. But how do I find the real (dynamic) 
 address given to my modem by my provider ?
 I'm using 5.3-rel-p4.

Most adsl gateways/modems have a web based configuration system, you should be 
able to access it from:

http://192.168.1.1:80/ 

Look over the options and see if there is a status section, this will more 
then likely have the info you want.

You really should get a static ip from your isp if you are going to be running 
a server, better would be a small block of them.
You will also need to setup a static network and forward any ports from the dsl 
gateway to your freebsd box if you want to be able to access any services you 
are going to run. 
-- 
- James
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ip address behind router ?

2005-01-09 Thread FreeBsdBeni
On Sunday 09 January 2005 14:38, FreeBsdBeni wrote:
 Hi,

 How do I find what ip address I'm really having ?
 My adsl modem/firewall gives me a dynamic private address : 192.168.1.101,
 which is what I see with an ifconfig. But how do I find the real (dynamic)
 address given to my modem by my provider ?
 I'm using 5.3-rel-p4.

To be a little more clearer : I do not want to go to any website (like 
http://www.lawrencegoetz.com/programs/ipinfo/ and others) that can show it 
(it won't cause i'm using tor...) but I'm looking for a way via console or an 
option in ifconfig or whatever. Hope my question is a bit more clear with 
this ?

Thx for any info !

-- 
FreeBsdBeni.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ip address behind router ?

2005-01-09 Thread FreeBsdBeni
On Sunday 09 January 2005 14:56, James Jhai wrote:
 On Sunday 09 January 2005 06:38 am, FreeBsdBeni wrote:
  Hi,
 
  How do I find what ip address I'm really having ?
  My adsl modem/firewall gives me a dynamic private address :
  192.168.1.101, which is what I see with an ifconfig. But how do I find
  the real (dynamic) address given to my modem by my provider ?
  I'm using 5.3-rel-p4.

 Most adsl gateways/modems have a web based configuration system, you should
 be able to access it from:

 http://192.168.1.1:80/

 Look over the options and see if there is a status section, this will
 more then likely have the info you want.

 You really should get a static ip from your isp if you are going to be
 running a server, better would be a small block of them. You will also need
 to setup a static network and forward any ports from the dsl gateway to
 your freebsd box if you want to be able to access any services you are
 going to run.

I can indeed access the Linksys modem directly and find out the address. But I 
was hoping for a more direct or easier way to do it, if possible...

-- 
FreeBsdBeni.


pgpa17W5iBn99.pgp
Description: PGP signature


Re: ip address behind router ?

2005-01-09 Thread cpghost
On Sun, Jan 09, 2005 at 02:38:56PM +0100, FreeBsdBeni wrote:
 Hi,
 
 How do I find what ip address I'm really having ? 
 My adsl modem/firewall gives me a dynamic private address : 192.168.1.101, 
 which is what I see with an ifconfig. But how do I find the real (dynamic) 
 address given to my modem by my provider ?

That's not as easy as it sounds, esp. if you're using NAT on the router.
The config is basically this:


+---+ 192.168.1.101   ++ A.B.C.D 
| Your_Host |-| Router |//-+
+---+ 192.168.1.1 ++   |
   |
   | E.F.G.H
 ++
 | ISP Router | 
 ++ 


So basically, Your_Host has no way (and no need) to know A.B.C.D
or E.F.G.H

Now you could try a combination of traceroute(8) and ping(8) to
get that address. For example, try the -R Record Route option to
ping(8):

% ping -R www.freebsd.org

If your Router is configured to honor RR requests, it will list
its A.B.C.D address in the reply, and ping will show it as
the first RR-Record in the list of max. 9 route records that
you can get out of the ICMP protocol spec.

Another way to do this, is to enable a routing daemon on
the router, and use some utility on Your_Host to listen
to the routing updates, or even query those updates with SNMP.
But not every router supports this option. Sometimes, you
can also query the ISP Router directly, but that's also
unreliable, since most ISPs block SNMP requests on the last
mile for security reasons.

You may as well try to get the info from the HTTP config managemnt
interface of your router http://192.168.1.1:80/ or so.

 I'm using 5.3-rel-p4.
 -- 
 Beni.

Cheers,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]