Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

How does this work?

Thread Tools
 
Search this Thread
 
Old 31 October 2003, 03:18 PM
  #1  
newbie_scoobie
Scooby Regular
Thread Starter
 
newbie_scoobie's Avatar
 
Join Date: Aug 2003
Posts: 202
Likes: 0
Received 0 Likes on 0 Posts
Post



I'm confused...

Col
Old 31 October 2003, 03:21 PM
  #2  
Mr.Cookie
Scooby Regular
 
Mr.Cookie's Avatar
 
Join Date: Apr 2000
Location: www.mrcookie.co.uk
Posts: 5,757
Likes: 0
Received 0 Likes on 0 Posts
Post

when your puter connects to a website it lets it know where it's from and what systems are running so web pages look right in browser for instance, all this does is mirror back the info you send out.

Si
Old 31 October 2003, 03:26 PM
  #3  
ADP
Scooby Regular
 
ADP's Avatar
 
Join Date: Apr 2001
Posts: 3,823
Likes: 0
Received 1 Like on 1 Post
Post

plenty of these things all over the web, like http://www.whatismyipaddress.com

can be done easily with some Java Script for example http://simplythebest.net/scripts/javascript_118.html

Old 31 October 2003, 03:49 PM
  #4  
chiark
Scooby Regular
 
chiark's Avatar
 
Join Date: Jun 2000
Posts: 13,735
Likes: 0
Received 0 Likes on 0 Posts
Post

Oh my god, you're giving out your IP address!

Turn your computer off immediately and disconnect from the net!!!!!

Old 31 October 2003, 03:54 PM
  #5  
Nimbus
Scooby Regular
 
Nimbus's Avatar
 
Join Date: Jun 2000
Posts: 4,413
Likes: 0
Received 0 Likes on 0 Posts
Post

Except it's the wrong IP...
Old 31 October 2003, 03:57 PM
  #6  
Fig
Scooby Regular
 
Fig's Avatar
 
Join Date: Aug 2002
Location: not forgetting 20,000 posts from last time ;)
Posts: 5,806
Likes: 0
Received 0 Likes on 0 Posts
Post

HTF can more than one person/router have the same IP address?
Old 31 October 2003, 04:07 PM
  #7  
Fatman
Scooby Regular
 
Fatman's Avatar
 
Join Date: Aug 2002
Posts: 2,390
Likes: 0
Received 0 Likes on 0 Posts
Post

It's quite normal for IPs to be non-unique. I believe it's something to do with sessions, although someone who works for an ISP (?) could probably answer better than I. It's something along the lines of an ISP having multiple sessions open per IP. It associated the connections to the session and the session to the username, rather than connections->username directly.
Old 31 October 2003, 04:16 PM
  #8  
Fig
Scooby Regular
 
Fig's Avatar
 
Join Date: Aug 2002
Location: not forgetting 20,000 posts from last time ;)
Posts: 5,806
Likes: 0
Received 0 Likes on 0 Posts
Post




My office has had the same 'sticky' dynamic IP address for months. I can connect from home using PC anywhere by connecting to the IP : port.

If the ISP uses sessions as you say, how does it know which session to connect my incoming packet to?


Edit cos I didn't want an IPort



[Edited by Fig - 10/31/2003 4:17:40 PM]
Old 31 October 2003, 04:19 PM
  #9  
chiark
Scooby Regular
 
chiark's Avatar
 
Join Date: Jun 2000
Posts: 13,735
Likes: 0
Received 0 Likes on 0 Posts
Post

NAT...
Old 31 October 2003, 04:25 PM
  #10  
Fatman
Scooby Regular
 
Fatman's Avatar
 
Join Date: Aug 2002
Posts: 2,390
Likes: 0
Received 0 Likes on 0 Posts
Post

Oh, OK... that makes sense. It's just like the way you share your office's single internet connection with your colleagues. Or, the way a family might share a single ADSL or cable line.
Old 31 October 2003, 04:32 PM
  #11  
Fig
Scooby Regular
 
Fig's Avatar
 
Join Date: Aug 2002
Location: not forgetting 20,000 posts from last time ;)
Posts: 5,806
Likes: 0
Received 0 Likes on 0 Posts
Post

I understand how NAT works in the office/at home, but surely no two machines can have the same public IP address?
Old 31 October 2003, 04:46 PM
  #12  
Fatman
Scooby Regular
 
Fatman's Avatar
 
Join Date: Aug 2002
Posts: 2,390
Likes: 0
Received 0 Likes on 0 Posts
Post

Why not? It's the same principle, just scaled up. The only difference I can see is that in 'local' NAT envionments, non internet-routable addresses are allocated.
Old 31 October 2003, 04:55 PM
  #13  
Fig
Scooby Regular
 
Fig's Avatar
 
Join Date: Aug 2002
Location: not forgetting 20,000 posts from last time ;)
Posts: 5,806
Likes: 0
Received 0 Likes on 0 Posts
Post

Agreed, but with non-internet addresses, you cannot have two PCs on the same network using 192.168.0.1 simultaneously. Therefore I would presume that you cannot have two users on the internet with the same public IP address simultaneously, especially not through the same ISP.

I thought maybe it was something to do with subnets, but my current IP is 81.86.xxx.xxx with subnet of 0.0.0.0

Old 31 October 2003, 05:26 PM
  #14  
Fatman
Scooby Regular
 
Fatman's Avatar
 
Join Date: Aug 2002
Posts: 2,390
Likes: 0
Received 0 Likes on 0 Posts
Post

We've exhausted my knowledge of IPS mechanics! Any Scoobynetters work for an ISP?
Old 31 October 2003, 06:03 PM
  #15  
Gedi
Scooby Regular
 
Gedi's Avatar
 
Join Date: Jan 2003
Posts: 932
Likes: 0
Received 0 Likes on 0 Posts
Post

I don't work for an ISP, but I am cisco certified and work as a security admin with CISSP etc.... Hope that qualifies....hehe

no 2 users can have the same IP address. As Chiark says, NAT, proxy's etc handle your internet requests.

e.g. 3 users behind NAT have the following addresses:
192.168.0.2
192.168.0.3
192.168.0.4

The gateway running nat has 192.168.0.1 on the LAN, and 666.666.666.666 for its WAN address.
If any of these 3 computers make a request, a packet will be sent with their address (192....) to the gateway. The NAT software will collect the packet, strip it of its IP and replace it with its own WAN IP and send it on its way.
It will cache what machine requested the info and when the packet returns the the NAT gateway, it will again strip the destination IP from the packet and replace it with the initial 192.16.... IP

Thus, if any of these 3 computers request information from the net, they will all appear to have the same IP, the IP of the gateway running NAT.

This is the reason people in the copmuter industry hate AOL so much. They run this method behind proxies. If you ban one AOL user from using your services, you ban many many more.

[Edited by Gedi - 10/31/2003 6:05:51 PM]
Old 31 October 2003, 09:14 PM
  #16  
Fig
Scooby Regular
 
Fig's Avatar
 
Join Date: Aug 2002
Location: not forgetting 20,000 posts from last time ;)
Posts: 5,806
Likes: 0
Received 0 Likes on 0 Posts
Post

Gedi,

Yes, I understand all of that, as I said above. The question was could two PCs/users have identical PUBLIC IP addresses. The answer is obviously no.

Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Darrell@Scoobyworx
Trader Announcements
26
30 January 2024 01:27 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
38
17 July 2016 10:43 PM
alex_00s
Drivetrain
2
26 September 2015 06:07 PM
StueyBII
General Technical
0
25 September 2015 05:58 PM
Littleted
Computer & Technology Related
0
25 September 2015 08:44 AM



Quick Reply: How does this work?



All times are GMT +1. The time now is 03:55 AM.