[Mishmash] Professor Page

Fred Atkinson fatkinson at mishmash.com
Sun Jul 15 20:17:52 CDT 2007


OK,

    So far, three people have each given one of the following IP addresses:

            66.67.26.159         (Class A address)
            152.163.100.203   (Class B address)
            206.74.244.162     (Class C address)

    Now are you convinced that that is a dynamic script that actually gives
the public IP address that you are connecting from (Your public IP address,
not 'My' public IP address)?

    It can't give a private IP address because the private IP address
doesn't traverse the Internet and therefore the Webserver doesn't know what
that IP address is.  The best it can give is the public IP address (and
that's pretty good).

    Just for fun, click on 'Start' and then 'Run'.  Type in 'cmd' into the
field and press 'OK'.  At the command prompt, enter 'ipconfig /all' and tell
us what your PC's IP address is.  We'll see what class of address you have
and if it is public or private.

    It should look something like this:

C:\>ipconfig /all

Windows 2000 IP Configuration

        Host Name . . . . . . . . . . . . : Fred
        Primary DNS Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Broadcast
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast
Eth
ernet NIC
        Physical Address. . . . . . . . . : 0A-B1-8C-D1-FE-F6
        DHCP Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.100.204   (this is the
one I mean).
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.100.1
        DNS Servers . . . . . . . . . . . : 168.187.168.62
                                            168.187.174.62

C:\>


    Regards,


                                                                    Fred





More information about the Mishmash mailing list