network layer accepts messages from the application layer prepares messages for the data link layer...

9
Network layer Network layer Accepts messages from the application layer Prepares messages for the data link layer Packetising Addressing Routing

Upload: august-little

Post on 14-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Network layer Accepts messages from the application layer Prepares messages for the data link layer Packetising Addressing Routing

Network layerNetwork layer

Accepts messages from the application layer

Prepares messages for the data link layer

PacketisingAddressingRouting

Page 2: Network layer Accepts messages from the application layer Prepares messages for the data link layer Packetising Addressing Routing

Many protocolsMany protocols

TCP/IPUsed by the internet

IPX/SPXMostly used in LANs

X25Popular WAN protocol.

SNAUsed on IBM mainframes

Page 3: Network layer Accepts messages from the application layer Prepares messages for the data link layer Packetising Addressing Routing

Parts of the network Parts of the network layerlayerTCP like part

– Packetising, Numbering– Reliable delivery

IP like part– Routing– Addressing

IP everywhere along the route, TCP only at sender and receiver.

Page 4: Network layer Accepts messages from the application layer Prepares messages for the data link layer Packetising Addressing Routing

Typical network packet Typical network packet (TCP)(TCP) Source and Destination ID Sequence number ACK number Header length Flags, Urgency, Options Flow control CRC16 User data

Page 5: Network layer Accepts messages from the application layer Prepares messages for the data link layer Packetising Addressing Routing

Typical network packet Typical network packet IPIP Version header and total length Type of service and protocol Identifiers, Flags, options hop limit CRC Source and destination address User data

Page 6: Network layer Accepts messages from the application layer Prepares messages for the data link layer Packetising Addressing Routing

Future of the network Future of the network layerlayerTCP/IP only?Running out of addresses, IPv6

Page 7: Network layer Accepts messages from the application layer Prepares messages for the data link layer Packetising Addressing Routing

AddresingAddresing

Application layer: www.eit.ac.nzNetwork layer: 202.50.252.20Data link layer: 00-0C-00-F5-03-5AData link in hardwareNetwork in software: Uses a DNS

Page 8: Network layer Accepts messages from the application layer Prepares messages for the data link layer Packetising Addressing Routing

RoutingRouting

Centralised or decentralised routing

Static or dynamic routing– Routing Information Protocol

Page 9: Network layer Accepts messages from the application layer Prepares messages for the data link layer Packetising Addressing Routing

Introduction to TCP/IPIntroduction to TCP/IP

Military origins Address classes, Subnetting Static or Dynamic addressing, BOOTP Ports Routing: DNS or Data link layer Firewalls, Gateways Next year