DOC PREVIEW
U of I CS 438 - Internet Protocol

This preview shows page 1-2-3-19-20-39-40-41 out of 41 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 41 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 41 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 41 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 41 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 41 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 41 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 41 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 41 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 41 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Internet ProtocolIP overviewLayer reminderIP service modelIP comparison with ATMIP addressingIP Addressing: introductionIP networksIPv4 Address ModelSlide 10CIDRClassless DomainsIP forwardingHierarchical NetworksSubnettingForwarding TablesNAT: Network Address TranslationSlide 18Slide 19Slide 20Slide 21IPv4 Address Translation supportIP to Physical Address TranslationARPARP PacketIP Packet FormatSlide 27Slide 28Slide 29IP Packet SizeIP Fragmentation and ReassemblySlide 32Slide 33Internet Control Message Protocol (ICMP)ICMPTraceroute and ICMPHost ConfigurationSlide 38Dynamic Host Configuration Protocol (DHCP)Slide 40DHCPInternet ProtocolIP overviewService modelAddressingForwarding (Routing later)Layer reminderBridges - emulate single linkEverything broadcastSame collision domainSwitches - emulate single networkFlat addressingBroadcast supportedInternet - connect multiple networksHierarchical addressingNo broadcastHighly scalableIP service modelService provided to transport layer (TCP, UDP)Global name spaceHost-to-host connectivity (connectionless)Best-effort packet deliveryNot in IP service modelDelivery guarantees on bandwidth, delay or lossDelivery failure modesPacket delayed for a very long timePacket lossPacket delivered more than oncePackets delivered out of orderIP comparison with ATMNetwork ArchitectureService ModelGuarantees Congestion FeedbackBandwidth Loss Order TimingInternet best effortnone no no no noATM CBR constant yes yes yes no congestionATM VBR guaranteed rateyes yes yes no congestionATM ABR guaranteed minimumno yes no yesATM UBR none no yes no noIP addressingEthernet address spaceFlatAssigned at manufacture timeIP address spaceHierarchicalAssigned at configuration timeIP Addressing: introductionIP address: 32-bit identifier for host, router interface interface: connection between host/router and physical linkrouters typically have multiple interfaceshost typically has one interfaceIP addresses associated with each interface223.1.1.1223.1.1.2223.1.1.3223.1.1.4 223.1.2.9223.1.2.2223.1.2.1223.1.3.2223.1.3.1223.1.3.27223.1.1.1 = 11011111 00000001 00000001 000000012231 11IP networksAddress has 2 componentsNetwork (high-order bits)Host (low-order bits)223.1.1.1223.1.1.2223.1.1.3223.1.1.4 223.1.2.9223.1.2.2223.1.2.1223.1.3.2223.1.3.1223.1.3.27IPv4 Address ModelClass Network ID Host ID # of Addresses# of NetworksA 0 + 7 bit 24 bit 224-2 126B 10 + 14 bit 16 bit 65,536 - 2 214C 110 + 21 bit 8 bit 256 - 2 221D 1110 + Multicast Address IP MulticastE Future Use0 Network (7 bits)Network (14 bits)1 1 01 0Network (21 bits)Host (24 bits)Host (16 bits)Host (8 bits)Class A:Class B:Class C:IP networksClass A network: 18.0.0.0 (MIT)www.mit.edu has address 18.7.22.83Class B network: 128.174.0.0 (UIUC)www.cs.uiuc.edu has address 128.174.252.84Class C network: 216.125.249.0 (Parkland)www.parkland.edu has address 216.125.249.97CIDR3-class model too inflexibleCIDR: Classless InterDomain RoutingArbitrary number of bits to specify networkAddress format: a.b.c.d/x, where x is # bits in network portion11001000 00010111 00010000 00000000subnetparthostpart200.23.16.0/23Classless DomainsInternet Archive - 207.241.224.0/204K hosts207.241.224.0 - 207.241.239.255AT&T - 204.127.128.0/1816K hosts204.127.128.0 - 204.127.191.255UUNET - 63.64.0.0/104M hosts63.64.0.0 - 63.127.255.255IP forwardingForwarding table has:Network numberInterfaceAvoid having to store 4 billion entriesBut there are still 2 million class C’s…and perhaps more CIDR networksHierarchical Networks“Send me anythingwith addresses beginning 200.23.16.0/20”200.23.16.0/23200.23.18.0/23200.23.30.0/23Fly-By-Night-ISPOrganization 0Organization 7InternetOrganization 1ISPs-R-Us“Send me anythingwith addresses beginning 199.31.0.0/16”200.23.20.0/23Organization 2......SubnettingUIUC - 130.126.0.0/16130.126.0.0 - 130.126.255.255CRHC - 130.126.136.0/21130.126.136.0 - 130.126.143.255EWS - 130.126.160.0/21130.126.160.0 - 130.126.167.255Forwarding Tables130.126.136.0/21 if1130.126.160.0/21 if2130.126.0.0/16 if30.0.0.0/0 if4Most specific rule is usedMost hosts outside of the core have default rulesCRHCEWSUIUCInternetif1if2if4if3NAT: Network Address Translation10.0.0.110.0.0.210.0.0.310.0.0.4138.76.29.7local network(e.g., home network)10.0.0/24rest ofInternetDatagrams with source or destination in this networkhave 10.0.0/24 address for source, destination (as usual)All datagrams leaving localnetwork have same single source NAT IP address: 138.76.29.7,different source port numbersNAT: Network Address TranslationMotivation: local network uses just one IP address as far as outside world is concerned:range of addresses not needed from ISP: just one IP address for all devicescan change addresses of devices in local network without notifying outside worldcan change ISP without changing addresses of devices in local networkdevices inside local net not explicitly addressable, visible by outside world (a security plus).NAT: Network Address TranslationImplementation: NAT router must:outgoing datagrams: replace (source IP address, port #) of every outgoing datagram to (NAT IP address, new port #). . . remote clients/servers will respond using (NAT IP address, new port #) as destination addr.remember (in NAT translation table) every (source IP address, port #) to (NAT IP address, new port #) translation pairincoming datagrams: replace (NAT IP address, new port #) in dest fields of every incoming datagram with corresponding (source IP address, port #) stored in NAT tableNAT: Network Address Translation10.0.0.110.0.0.210.0.0.3S: 10.0.0.1, 3345D: 128.119.40.186, 80110.0.0.4138.76.29.71: host 10.0.0.1 sends datagram to 128.119.40.186, 80NAT translation tableWAN side addr LAN side addr138.76.29.7, 5001 10.0.0.1, 3345…… ……S: 128.119.40.186, 80 D: 10.0.0.1, 33454S: 138.76.29.7, 5001D: 128.119.40.186, 8022: NAT routerchanges datagramsource addr from10.0.0.1, 3345 to138.76.29.7, 5001,updates tableS: 128.119.40.186, 80 D: 138.76.29.7, 500133: Reply arrives dest. address: 138.76.29.7, 50014: NAT routerchanges datagramdest addr from138.76.29.7, 5001 to 10.0.0.1, 3345NAT: Network Address Translation16-bit port-number field: 60K simultaneous connections with a single LAN-side address!NAT


View Full Document

U of I CS 438 - Internet Protocol

Documents in this Course
Routing

Routing

5 pages

TCP

TCP

26 pages

TROLL

TROLL

3 pages

Load more
Download Internet Protocol
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Internet Protocol and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Internet Protocol 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?