DOC PREVIEW
U of I CS 438 - Internet Protocol

This preview shows page 1-2-3-24-25-26-27-49-50-51 out of 51 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 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 51 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 51 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 51 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 51 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 51 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 51 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 51 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 51 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 51 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Internet ProtocolLayer reminderIP service modelIP addressingIP Addressing: introductionIP networksIPv4 Address ModelSlide 8CIDRClassless DomainsIP forwardingHierarchical RoutingHierarchical NetworksSubnettingForwarding TablesSlide 16Interconnected ASesInter-AS tasksExample: Setting forwarding table in router 1dExample: Choosing among multiple ASesIntra-AS RoutingInternet inter-AS routing: BGPBGP basicsDistributing reachability infoPath attributes & BGP routesBGP route selectionBGP messagesBGP routing policyBGP routing policy (2)Why different Intra- and Inter-AS routing ?Slide 31RIP ( Routing Information Protocol)RIP advertisementsRIP: ExampleRIP: Link Failure and RecoveryRIP Table processingOSPF (Open Shortest Path First)OSPF “advanced” features (not in RIP)Hierarchical OSPFSlide 40IPv4 Address Translation supportIP to Physical Address TranslationAddress Resolution Protocol (ARP)ARP snoopingARP exampleARP PacketHost ConfigurationSlide 48Dynamic Host Configuration Protocol (DHCP)Slide 50DHCPInternet ProtocolLayer 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 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 Routingscale: with 200 million destinations:can’t store all dest’s in routing tables!routing table exchange would swamp links! administrative autonomyinternet = network of networkseach network admin may want to control routing in its own networkOur routing study thus far - idealization all routers identicalnetwork “flat”… not true in practiceHierarchical 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 rulesCRHCEWSUIUCInternetif1if2if4if3Hierarchical Routingaggregate routers into regions, “autonomous systems” (AS)routers in same AS run same routing protocol“intra-AS” routing protocolrouters in different AS can run different intra-AS routing protocolGateway routerDirect link to router in another AS3b1d3a1c2aAS3AS1AS21a2c2b1bIntra-ASRouting algorithmInter-ASRouting algorithmForwardingtable3cInterconnected ASesForwarding table is configured by both intra- and inter-AS routing algorithmIntra-AS sets entries for internal destsInter-AS & Intra-As sets entries for external dests3b1d3a1c2aAS3AS1AS21a2c2b1b3cInter-AS tasksSuppose router in AS1 receives datagram for which dest is outside of AS1Router should forward packet towards on of the gateway routers, but which one?AS1 needs:1. to learn which dests are reachable through AS2 and which through AS32. to propagate this reachability info to all routers in AS1Job of inter-AS routing!Example: Setting forwarding table in router 1dSuppose AS1 learns from the inter-AS protocol that subnet x is reachable from AS3 (gateway 1c) but not from AS2.Inter-AS protocol propagates reachability info to all internal routers.Router 1d determines from intra-AS routing info that its interface I is on the least cost path to 1c.Puts in forwarding table entry (x,I).Learn from inter-AS protocol that subnet x is reachable via multiple gatewaysUse routing infofrom intra-AS protocol to determinecosts of least-cost paths to eachof the gatewaysHot potato routing:Choose the gatewaythat has the smallest least costDetermine fromforwarding table the interface I that leads to least-cost gateway. Enter (x,I) in forwarding tableExample: Choosing among multiple ASesNow suppose AS1 learns from the


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?