Escolar Documentos
Profissional Documentos
Cultura Documentos
Outline
Network Layer Protocols otoco s a and d Internetworking te et o g IP version 4 Address Exhaustion IP version 6
McNair, Sp13
Network Layer
1. Manages Global Connections a) Circuit switched networks Switching b) Datagram and virtual circuit networks Routing 2. Manages Global addresses (e.g., telephone number or IP address) a) The IP Address b) IP Address assignment c) Address resolution d) Address exhaustion / Making the IP Address Las (subnets, supernets, network address translation) 3. Manages Global Packet Delivery a) IP v4 or v6 Packets b) Fragmentation and Reassembly
3
Router X operation.
LAN headers are stripped IP address obtained Routing decision is made. IP datagram is put in X.25 packet and sent to Router Y.
Router Y operation.
X.25 headers are stripped IP address obtained Routing decision is made. IP datagram is put in MAC frame and sent to Node E
7
Address Resolution
1. The source must determine the IP address of the destination. destination 2. The source must also determine the address that should be used to send the packet.
a) Note: the address chosen will depend on whether the destination is on the same LAN or is outside of the LAN
10
Source broadcasts and ARP ARP packet to the LAN to determine destination address
ARP -- Address Resolution Protocol ARP packet contains the destinations IP address.
11
RARP
Source broadcasts an RARP RARP packet with its own MAC address. RARP server sends back the sources IP address.
13
14
IP version 4
0 Version 4 IHL 8 Type of Service Flags Protocol Source Address Destination Address Options + Padding 16 19 Total Length Fragment Offset Header Checksum IPv4 Header 31
Data Field
15
IP Addresses
16
IP Address Example
IP addresses can be in binary form (32 bits) or in dotted decimal notation, , w.x.y.z ( (8 bits each) ) Given the following binary address: 10000000111000110000001100101000 Write the dotted decimal notation. What is its class? What is the network ID? What is the host ID?
17
cise physics
IP Address: www.wam.ece.ufl.edu
>> nslookup www.wam.ece.ufl.edu Server: mindy.ece.ufl.edu 128.227.220.11 Name: http.ece.ufl.edu Address: 128.227.220.98
19
B. When a Class B IP address is purchased, one Class B network ID is removed. How many host IDs are removed from allocation?
20
21
22
10
w/o CIDR, routing tables would have reached 100,000 entries @ 1998
Source: http://www.cidr-report.org/
23
Data Field
24
11
26
12
IP v6
Payload/Data
Payload/Data
27
28
13
30
14
31
15