Docsity

Internetworking: IP Addressing, Routing, and Protocols - Prof. Gerald A. Marin, Study notes of Computer Systems Networking and Telecommunications

Partial preview of the text

Download Internetworking: IP Addressing, Routing, and Protocols - Prof. Gerald A. Marin and more Study notes Computer Systems Networking and Telecommunications in PDF only on Docsity!

Network Analysis:

Internetworking

Network Layer

This material is provided only for theuse of students in CSE5231 at FIT.Many of the slides were provided withthe text Computer Networking

by

Kurose and Ross, Addison Wesley .Classroom use is generously supportedbut further use or distribution may be aviolation of existing copyrightprotection.

Network Analysis:

Internetworking

Definitions ˆ

Internetwork or internet



An arbitrary collection of “networks” that areinterconnected to provide a packet deliveryservice.

Network



Either a direct-link network as studied earlieror a switched network that (for now) uses onetype of technology (ATM, Frame Relay,Ethernet, Token Ring, etc.) to forward cells orframes.

The Internet is the global network basedon use of the Internet Protocol to routedatagrams.

Network Analysis:

Internetworking

Network layer service models:

Network

Architecture

Internet

ATM ATM ATM ATM

Service Model best effort CBR VBR ABR UBR

Bandwidth none constant rate guaranteed rate guaranteed minimum none

Loss no yes yes no no

Order no yes yes yes yes

Timing no yes yes no no

Congestion feedback no (inferred via loss) no congestion no congestion yes no

Guarantees?

ˆ

Internet model being implemented: Intserv, Diffserv

Network Analysis:

Internetworking

Datagram networks:

the Internet model

ˆ

datagram forwarding is sometimes called “routing”

ˆ

no call setup at network layer

ˆ

routers: no state about end-to-end connections



no network-level concept of “connection”

ˆ

packets typically routed using destination host ID



packets between same source-dest pair may take differentpaths

application

transport

network data link^ physical

application

transport

network data link^ physical

  1. Send data
    1. Receive data

Network Analysis:

Internetworking

IP Addressing

IP address:



network part (highorder bits)



host part (low orderbits)

What’s a network ?(

from IP address perspective)



device interfaceshaving same networkpart of IP address



can physically reacheach other withoutintervening router

223.1.1.1^ 223.1.1. 223.1.1.

223.1.1.

223.1.2.

223.1.2. 223.1.2.

223.1.3.

223.1.3.

223.1.3.

network consisting of 3 IP networks (for IP addresses starting with 223, first 24 bits are network address)

LAN

Network Analysis:

Internetworking

IP Addressing

How to find the

networks?

Detach eachinterface fromrouter, host

create “islands ofisolated networks

223.1.1.

223.1.1.

223.1.1.

223.1.2.

223.1.2.

223.1.2.

223.1.3.

223.1.3.

223.1.3.

223.1.1.

223.1.7.

223.1.7.

223.1.8.

223.1.8.

223.1.9.

223.1.9.

Interconnected system consisting

of six networks

ICANN Domain Names ˆ

To reach another person on the Internet you have to type anaddress into your computer - a name or a number. That address hasto be unique so computers know where to find each other. ICANNcoordinates these unique identifiers across the world. Withoutthat coordination we wouldn't have one global Internet. ICANN isresponsible for the global coordination of the Internet's system ofunique identifiers like domain names (like .org, .museum and countrycodes like .uk) and the addresses used in a variety of Internetprotocols that help computers reach each other over the Internet.

ˆ

So, what has ICANN done in the past decade?



Back in 1998, there was a single registrar, charging $50 a year for domain names; now there are over 900ICANN-accredited registrars

1

and a domain costs from just $

(^2)



Helped the domain name system grow from roughly three million domains a decade ago to over 160 milliontoday

(^3)



Expanded the Internet's generic top-level domains from three (dotcom, dotnet and dotorg) to 16, including.info, .biz, .cat, .asia, .mobi and .name

(^4)



Seen over 35,000 domains go through the Uniform Dispute Resolution Process

5 , a faster, cheaper and more

efficient alternative to the law courts for ownership disputes



Developed policies with the full involvement of governments, business, the technical community and individualNet users that make the Internet's addressing system able to adapt to the radical new uses that thenetwork is put to every year

Network Analysis:

Internetworking

Network Analysis:

Internetworking

IP Addresses

0

network

host

10

network

host

110

network

host

1110

multicast address

A^ B^ C^ D

class

1.0.0.0 to 127.255.255.255 128.0.0.0 to 191.255.255.255 192.0.0.0 to 223.255.255.255^ 224.0.0.0 to^ 239.255.255.

32 bits

given notion of “network”, let’s examine IP addresses:

Network Analysis:

Internetworking

How routers determine next hop ˆ

Determine best match in the routing table (longestprefix match)

If router does not have an interface directly onthe (sub)network, it forwards packet to nextrouter.

If router does have an interface directly on thedestination (sub)network, it forwards packetdirectly to destination host.

Router uses “subnet mask” to determine which bitsit should use in matching the destination addressto the routing table entry.

Network Analysis:

Internetworking

Subnets and Supernets

Subnets:



A network is divided into several smaller subnets



Each subnet has its own subnet address.

Supernets:



Organization may combine several class C networkaddresses to create a supernetwork



Permits a larger number of host addresses

Network Analysis:

Internetworking

Subnet Example

Network Analysis:

Internetworking

Routing Table Comparisons •

In this example, the route table entry/mask does not match destination address and router examines next entry.

If dest@ = 140.252.1.5, the router will determine there is a match.

Router will forward based on the longest such match.

If the router has an interface directly on the (sub)network, the table entry must instruct the router to send through that interface directly to the destination.

If the router has no interface directly on the (sub)network, the table entry must instruct the router to send to the next router.

Table Entry There MUST be a matching entry (or default entry) in the table.

Destination Address

Network Analysis:

Internetworking

4 - 19

Getting a datagram from source to dest.

223.1.1.1^ 223.1.1. 223.1.1.

223.1.1.

223.1.2.

223.1.2. 223.1.2.

223.1.3.

223.1.3.

223.1.3.

A B

E

Starting at A, given IP

datagram addressed to B:

ˆ

look up net. address of B

ˆ

find B is on same net. as A

ˆ

link layer will send datagramdirectly to B inside link-layerframe



B and A are directlyconnected

Dest. Net. next router Nhops^ 223.1.

misc fields

223.1.1.

223.1.1.

data

Network Analysis:

Internetworking

4 - 20

Getting a datagram from source to dest.

223.1.1.1^ 223.1.1. 223.1.1.

223.1.1.

223.1.2.

223.1.2. 223.1.2.

223.1.3.

223.1.3.

223.1.3.

A B

E

Dest. Net. next router Nhops^ 223.1.

Starting at A, dest. E: ˆ

look up network address of E

ˆ

E on

different network



A, E not directly attached

ˆ

routing table: next hoprouter to E is 223.1.1.

ˆ

link layer sends datagram torouter 223.1.1.4 inside link-layer frame

ˆ

datagram arrives at 223.1.1.

ˆ

continued…..

misc fields

223.1.1.

223.1.2.

data