Top Banner
IT 210: Web-based IT Fall 2012 IP Address Details & HTTP Protocol
18

IT 210: Web-based IT

Jan 15, 2016

Download

Documents

Nanda

IT 210: Web-based IT. Fall 2012 IP Address Details & HTTP Protocol. IP Address Details. Refresher…. What function do IP Addresses serve?. IP Addresses. Composed of 2 parts: network ID (prefix assigned by ISPs) and host ID (suffix assigned by local sysadmin ) - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: IT 210: Web-based IT

IT 210:Web-based IT

Fall 2012IP Address Details & HTTP

Protocol

Page 2: IT 210: Web-based IT

IP Address Details

Page 3: IT 210: Web-based IT

Refresher…

What function do IP Addresses serve?

Page 4: IT 210: Web-based IT

IP Addresses Composed of 2 parts: network ID (prefix assigned

by ISPs) and host ID (suffix assigned by local sysadmin)

IPv4 addresses consist of 4 octets How much of the IP address is used as a network

ID?

216.24.63.132

Page 5: IT 210: Web-based IT

Assigning IP Addresses

Page 6: IT 210: Web-based IT

Classful IP Address Assignment

Page 7: IT 210: Web-based IT

IP address classes (32 bits = v4)

Class Leftmost bits

Start address

Finish address

Net bits Host bits

A 0xxx 0.0.0.0 127.255.255.255

7 24 (16M)

B 10xx 128.0.0.0 191.255.255.255

14 16 (65K)

C 110x 192.0.0.0 223.255.255.255

21 8 (256)

D 1110 224.0.0.0 239.255.255.255

multicast

E 1111 240.0.0.0 255.255.255.255

experimental

Page 8: IT 210: Web-based IT

Many exceptions 127.0.0.0 -127.255.255.255 = loopback

127.0.0.1 = “home” or localhost Private addresses (see table)

Class Private start address Private end address

A 10.0.0.0 10.255.255.255

B 172.16.0.0 172.31.255.255

C 192.168.0.0 192.168.255.255

Page 9: IT 210: Web-based IT

Script Kiddies

Page 10: IT 210: Web-based IT

CIDR (Classless Inter-Domain Routing) The “prefix” (ironically shown after the

IP address) indicates how many bits in the Network ID. E.g., 192.168.0.0/16

CIDR & # of Hosts/13 524,288 /14 262,144 /15 131,072 /16 65,536 /17 32,768 /18 16,384 /19 8,192 /20 4,096 /21 2,048 /22 1,024 /23 512 /24 256 /25 128 /26 64 /27 32

Page 11: IT 210: Web-based IT

Dynamic vs Static IP Addresses Static vs Dynamic

Page 12: IT 210: Web-based IT

IP4 vs IP6 In Jan 2011 we ran out of IPv4 addresses.

IP4: 32-bit address 4.2 billion addresses available (232) 10.8.240.2

IP6: 128-bit address 3.4 x 1038 addresses available (2128) 2001:0f68:0000:0000:0000:0000:1986:69af which

condenses to 2001:f68::1986:69af

Page 13: IT 210: Web-based IT

Aside: What is an RFC?

RFC “Request for Comment” Modern RFCs are NOT requesting comments

(Draft docs are used for that) Standards, informational, and other stuff Published by IETF

IETF = Internet Engineering Task Force

Page 14: IT 210: Web-based IT

References RFC 1518 - An Architecture for IP Address

Allocation with CIDR RFC 1519 - Classless Inter-Domain Routing

(CIDR): an Address Assignment and Aggregation Strategy

RFC 2373 - IP Version 6 Addressing Architecture

Page 15: IT 210: Web-based IT

Questions… True or False: The classless inter-domain

routing (CIDR) system helps assure that fewer IP addresses are “wasted”.

True or False: When I switch networks my IP address will also need to change.

How many unique IP addresses are there in IP4 and IP6?

Page 16: IT 210: Web-based IT

Open up command-line… Type in ipconfig Now try ipconfig /all

Compare the IP address to what you find here: http://www.whatismyip.com

Try this again at home. Will it be different?

Page 17: IT 210: Web-based IT

HTTP

Page 18: IT 210: Web-based IT

See online tutorial http://www3.ntu.edu.sg/home/ehchua/

programming/webprogramming/HTTP_Basics.html