IP addresses?

Discussion in 'Computer Science & Culture' started by skaught, May 19, 2008.

Thread Status:
Not open for further replies.
  1. skaught The field its covered in blood Valued Senior Member

    Messages:
    4,103
    So I'm totally computer illiterate. But I'm trying to learn about IP addresses. What are they? What purpose to they serve?

    I bring my laptop everywhere with me and connect via wireless. Does my IP address change every time I log into the net from a different location???
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Creeptology Registered Member

    Messages:
    388
    they are an ID number for a comp (or router etc) on a network. You mean your IPa of your ISP I presume. If you log in via different wifi point then yes it changes since your comp is connecting via different ISP.

    2 types of ISP IPa assignments, static that doesn't change (like always on dsl) and dynamic which does change even from same location (like pppoe, connect on demand internet services).

    Your comp has an address of it's own to id it on a network, for instance 192.168.0.1 but if you have more than one comp on your network etc it can vary. Eg my comp is 192.168.1.1, my wifes comp on my lan is 192.168.1.2, my bro's laptop when he connects on my network is 192.168.1.3 and my router is 192.168.1.254. My router then connects to my ISP which has an IPa of it's own assigned by your provider (static or dynamic depends on your isp). When people say IP they usually mean IPa of ISP since this is unique to you (at a given time in case of dynamically assigned by ISP). Another example would be 64.15.152.17 (think that's sciforums).
     
    Last edited: May 19, 2008
  4. Google AdSense Guest Advertisement



    to hide all adverts.
  5. skaught The field its covered in blood Valued Senior Member

    Messages:
    4,103
    How do I find out what my IP address is?
     
  6. Google AdSense Guest Advertisement



    to hide all adverts.
  7. John99 Banned Banned

    Messages:
    22,046
    WhatIsMyIP.com
     
  8. Carcano Valued Senior Member

    Messages:
    6,865
    Go to google and type in "shields up".
     
  9. nietzschefan Thread Killer Valued Senior Member

    Messages:
    7,721
    Win2000 or later

    start-run-"cmd" - "ipconfig"
     
  10. skaught The field its covered in blood Valued Senior Member

    Messages:
    4,103
    Oh cool, more info about it there too 'eh! Thanks

    Please Register or Log in to view the hidden image!

     
  11. skaught The field its covered in blood Valued Senior Member

    Messages:
    4,103
    So whats the "Subnet Mask"

    and

    "Default Gateway"?

    Also, this gives me a different IP address than this site: http://whatismyip.com/
     
  12. John99 Banned Banned

    Messages:
    22,046
  13. Creeptology Registered Member

    Messages:
    388
    If you have a network type ipconfig/all and it will give you all the ipa on the network as well as your comp and gateway (what you connect to internet through).

    You can hide your IPa from a lot of places you visit by using proxies/tor networks. It's semi transparent though so it's not completely anonymous and it can be a little slower. Also it's not recommended to visit secure pages like net banking through proxies since your data isn't so secure that way so turn off for that (cut out middle man so to speak).
     
  14. nietzschefan Thread Killer Valued Senior Member

    Messages:
    7,721
    Yup - you got a home "router"?

    Gateway is the ip of that router.

    The IP is different, because you are NAT'd(Network Address Translation) out - either by your home router and probably again by your ISP. They don't give out full IPs anymore unless you hand them a pile of money. Eventually they pass on a "real" Class A IP address, to all the other devices on the "net" and this is the address things like that webpage pickup.
     
    Last edited: May 19, 2008
  15. skaught The field its covered in blood Valued Senior Member

    Messages:
    4,103
    Well at home I just pick up some random wireless connection that someone has in y neighborhood. So I'm not even sure if they have a router or what the hell is going on.

    Right now for example, I'm at work, and again, I think there is just a wireless thingy somewhere in the building.

    Yeah I'm just going to sound stupider and stupider as this thread goes on

    Please Register or Log in to view the hidden image!

     
  16. Creeptology Registered Member

    Messages:
    388
    hehehe naughty boy skaught. Why aren't they passworded? Saying that can find most wifi point using netstumbler to find an unsecured point or aircrack to get into a passworded one (wpa and wep). Harder if it's wpa2 mixed with mac address filtering on and they run snort or wireshark etc as can see you even if you did get in.
     
  17. nietzschefan Thread Killer Valued Senior Member

    Messages:
    7,721
    You are Shorty's internet twin - wireless router = magic box.

    Amazing. I wish I could just bumble along through life like that, Gonzo style. I can see why you like Thompson so much.
     
  18. skaught The field its covered in blood Valued Senior Member

    Messages:
    4,103

    Please Register or Log in to view the hidden image!

    Heh... Yeah, I used to keep up on computer technology, but as of about 1998, I lost touch :bawl:
     
  19. Blue_UK Drifting Mind Valued Senior Member

    Messages:
    1,449
    Simple definitions:

    IP Number: This is an internet 'address', which is used to route data about. On every packet, there is a 'source' and 'destination' address. Nodes on the Internet know which way to switch packets based on a table they have. Smaller routers learn this table themselves, by looking at the 'source' IP of packets that flow through it. Because a connection is not possible without a valid 'source' IP, this information cannot be faked and is the reason 'hackers' require compromosied machines to operate from.

    Subnet mask: There are some special 'ranges' of IPs that are not actualy used on the internet. They are reserved for local area networks (LANs). The subnet mask says what portion of the IP range will be used. So a mask of 255.255.255.0 means that only the last byte is 'changeable'.

    Default Gateway: You have to tell your computer the IP address of the device that connects you to the Internet.
     
  20. Stryder Keeper of "good" ideas. Valued Senior Member

    Messages:
    13,105
  21. skaught The field its covered in blood Valued Senior Member

    Messages:
    4,103
    Thanks for the recommend. Sounds like a gripping read!
     
  22. Dr Mabuse Percipient Thaumaturgist Registered Senior Member

    Messages:
    714
    you are pretty close here...

    there is a unique(to the degree that anything man made can be) number for every network interface on the planet... this includes ethernet, even token ring, token bus and older technologies...

    it is a 48 bit hexadecimal number that is 'burned' into every network interface... that makes it uniquely addressable as a destination... this is the MAC(Machine Access Code) address...

    to bond this layer 2 'address' or 'name', with a layer 3 address so packets can be routed, recursively resolved for name resolution, and encoded and stripped in an orderly fashion to transmit data in a useful fashion... there is a layer 3 'address' or 'name' commonly called and IP(Internet Protocol) address... it is a 32 bit binary number... in the case of IPV4, which is still the lion's share of the internet address scheme, IPV6 is another animal entirely, i'm also certified in IPV6 but we'll avoid that discussion...

    in the case of this fellow's network numbers mentioned above -fe 192.168.0.1 - these are reserved private numbers that cannot be used for exposure o the internet, they are not valid IP numbers, they are reserved as "private" by the IEEE stipulations... though they cannot 'talk' to the internet, they can be used for LAN, or private, networks... and then the router that assigned those private numbers to a PC via a thing known as DHCP(Dynamic Host Configuration Protocol) can do a thing called NAT(Network Address Translation) and send packets our on the internet and receive them back, reverse the NAT, and route those packets to the MAC address on the LAN...

    the 'real' IP address is given to the DSL, cable, satellite, etc. router or modem via DHCP by the ISP... this makes the entry point to the LAN a valid node on the ISP WAN and the internet...

    your IP address is assigned via DHCP in almost all cases these days... if you are in a motel, you 'hop' on a WAP point, etc... DHCP assigned...

    the subnet mask is used to mathematically discern, or clarify maybe, the nature of a given IP address... there are two main parts... the 'host' part of the IP address, and the 'network' part of the IP address... the subnet reveals these... also the broadcast and network numbers, just to be thorough, they need not be addressed here...

    a gateway is the closet actual 'hop' or device, connecting a given system to the NEXT network... be that the next LAN, or the ISP WAN, or the internet iitself(in truth where the 'internet' actually begins is a fuzzy concept when you get down to it)...

    to configure a system properly in IPV4 you need an IP address(dynamically or manually assigned), a subnet mask(also dynamic or manual), and a gateway(or - just how the hell do i get out of here number)...

    the need not be real, they can all be private, until the last 'hop' or gateway that actually departs to the internet...

    IP math is fascinating stuff... to take an address and determine it's class, it's subnet mask, and VLSM(Variable Length Subnet Mask) makes that much more interesting... almost everyone uses VLSM these days as the IP address pool is tight... most numbers are used out of the IPV4 address space and there's only 32 bits of possibilities there after all... IPV6 is a 128 bit address space... more room to move around a bit, and much more sophisticated also...

    this is a decent link to look over this stuff if you are interested... Link...

    if you want to really understand this stuff... i would recommend 'TCP/IP Network Administration' by O'Reilly publishing... Link to the book... that is still the best book in print on this topic... (beyond Cisco and SUN certification study materials...)
     
  23. lucifers angel same shit, differant day!! Registered Senior Member

    Messages:
    7,590
    Determining network and host portions of an IP address using a subnet mask
    To determine what the network address is for any given IP address, you merely have to convert both octal addresses into binary, and do a bitwise AND operation. An example using an IP address of 156.154.81.56 used with a network mask of 255.255.255.240 follows:

    IP Address: 10011100.10011010.01010001.00111000
    Subnet mask: 11111111.11111111.11111111.11110000
    Bitwise AND -----------------------------------------------
    Result: 10011100.10011010.01010001.00110000

    As you can see, the network address for the IP address and subnet mask in question is 156.154.81.48. To determine the how many hosts are possible to be on this same subnet, it is a simple operation. Count the number of bits from the right until you get to the first "1" in the binary network address display. That number will be the power you raise 2 to for the calculation of possible number of hosts. You must also subtract two from the result because one address is reserved for broadcast and network addresses. This leaves you with the final algorithm of 2^n-2. In this case there are 4 bits of 0 in the network address, leaving you with 2^4-2 hosts possible, or 14 hosts. This means that your network address is 156.54.81.48, that you have a range of addresses available to hosts from 156.154.81.49 - 156.154.81.62, and that the broadcast address for this network is 156.154.81.63.

    Are subnet masks necessary?
    Subnet masks are critical to communications on an IP network. Network devices use the IP address targets and defined netmask to determine if the network the host is on is a local subnet, or a remote network. This is important because devices act differently depending on the result. If the subnet is local, the device will send an ARP request to retrieve the MAC or hardware address of the system in question to communicate over the data-link layer. If the address is found to be on a remote network, then the network device routes packets to the gateway in it's routing table that is set to handle that network. If no routing table entry is found matching that network, the packets are routed to the default route. If no default route is defined, the packets are dropped with nowhere left to go.
     
Thread Status:
Not open for further replies.

Share This Page