Re: excluding an ip from count [message #183364 is a reply to message #183362] |
Mon, 21 October 2013 07:32 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 10/21/2013 1:56 AM, Evan Platt wrote:
> On Sun, 20 Oct 2013 18:23:05 +0000 (UTC), Denis McMahon
> <denismfmcmahon(at)gmail(dot)com> wrote:
>
>> On Sun, 20 Oct 2013 09:41:43 -0700, Evan Platt wrote:
>>
>>> On Sun, 20 Oct 2013 10:32:12 -0400, Jerry Stuckle
>>> <jstucklex(at)attglobal(dot)net> wrote:
>>>
>>>> You don't know how NAT works, that's for sure.
>>>
>>> Yes, actually, I do.
>>>
>>>> > Run an ipconfig on each of these office computers and tell me they
>>>> > each list the public IP.
>>
>>>> That is not the public IP. That is the private IP on my LAN. But you
>>>> obviously don't understand the difference.
>>
>>> Exactly my point. Each of your computers does NOT have the same public
>>> IP.
>>
>> Evan, you seem to be conflating the term "public ip" and "private ip".
>
> No, I don't.
>
>> The definitions as I understand them:
>>
>> Public IP: The IP you present to the rest of the internet, for example,
>> the ip address that an edge router at isp-x would see a packet as
>> originating from when it arrives from your non isp-x connected origin
>> system.
>>
>> Private IP: An internal IP address used on a network separated from the
>> public internet by routers performing network address translation, such
>> that any computer external to that network sees all traffic from
>> computers within that network as originating from a single public ip
>> address, or possibly a small set of public ip addresses.
>>
>> So a 192.168.x.x address would be a private IP address, not a public ip
>> address. When bullis is in his hotel room in vegas with his blow up sheep
>> and they're all using the hotel's wifi, they would normally all have
>> private ips on the hotels private network, which through NAT would give
>> them all the same public ip which I would see in my logs if they were
>> accessing pictures of lolcats on my apache web server in the UK.
>>
>> (Note - I don't actually have a collection of lolcat pics on my server!)
>
> Yes, exactly.The public IP is assigned to a DEVICE. Only one device
> truly has that public IP, the rest have a private IP.
>
Then please explain how many users can have the "public ip" 192.168.x.x.
I have them on my LAN at home; customers have the *exact same* ip on
their LANs. In fact, I would be there are hundreds of thousands (or
millions) of computers out there connected to the internet which have
the ip address 192.168.0.x or 192.168.1.x, as indicated by ifconfig (or
the Linux equivalent ipconfig or ip -a).
How can this work?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|