Beruflich Dokumente
Kultur Dokumente
Administration
Fall 2014*
*
Thanks to Dr. James Walden, NKU and Russ Wakefield, CSU for contents of these slides
My Laptop -
Running web Web Server
browser www.cnn.com
Internet
Internet
My laptop and the web server are both End Systems = Hosts
End systems can also include PDAs, sensors, cell phones, and
generally any device using the network to communicate
End systems are located at the network edge and connected to the
network using communication links
My Laptop -
Running web Web Server
browser www.cnn.com
Internet
Internet
frame frame
7th
Application Layer
6th
Presentation Application
Layer Layer
5th
Session Layer
4th
Transport
Transport Layer
Layer
3rd
Network Layer
Network Layer
2nd
Link Layer
Link Layer
1st
Physical Layer
Routing Protocols
ICMP RIP
Network
IGMP IP PIM
Layer
OSPF
DHCP
Network
Interface
Dr. Indrajit Ray, Computer Science Department CT 320 Network and
Systems Administration, Fall 2014
Layered Communications
An entity of a particular layer can only
communicate with:
1. a peer layer entity using a common
protocol (Peer Protocol)
2. adjacent layers to provide services and
to receive services
N+1 Layer N+1 Layer Protocol N+1 Layer
N+1 Layer
Entity Entity
layer N+1/N
interface
N Layer N Layer Protocol N Layer
N Layer
Entity Entity
layer N/N-1
interface
N-1 Layer N-1 Layer Protocol N-1 Layer
N-1 Layer
Entity Entity
Request Indicate
Delivery Delivery
Service Provider
My Laptop -
Running web Web Server
browser www.cnn.com
Internet
Internet
Some
Some
Destination
Source
End System
End System
Internet
Internet
ISP
ISPAA
ISP
ISPBB
ISP
ISPAA
Only care about how to get message from A to B across this link
Link can be twisted pair, coaxial, fiber optic, wireless
Other services:
DNS: translation between domain names and IP addresses
ARP: Translation between IP addresses and MAC addresses
HTTP
HTTP Header User data
TCP
TCP Header HTTP Header User data
IP TCP segment
Ethernet IP datagram
Ethernet Ethernet
IP Header TCP Header HTTP Header User data
Header Trailer
Ethernet frame
Dr. Indrajit Ray, Computer Science Department CT 320 Network and
Systems Administration, Fall 2014
Ethernet
Computer <-> Computer
communication on same network
Each device has unique MAC address
(48-bit)
example: 00-C0-4F-48-47-93
Ethernet Packet:
Preamble Dest. Source Type Data CRC
address address
1 :ICMP
6 :TCP
17 :UDP
Source Destination
Application Application
Transport Router Transport
Network Network Network
Link Link Link
Routing Table
Destination IP address
IP address of a next-hop router
Flags
Network interface specification
Dr. Indrajit Ray, Computer Science Department CT 320 Network and
Systems Administration, Fall 2014
ICMP : Internet Control Message
Protocol
Used to report problems with delivery of IP
Datagrams within an IP network
Used by Ping, Traceroute commands ICMP Message
20bytes 4bytes
IP ICMP ICMP
Header Header Data
Types and Codes
Echo Request (type=8, code=0) Type Code Checksum
physical link
routers typically
have multiple 223.1.3.1 223.1.3.2
interfaces
host may have
multiple interfaces
IP addresses
associated with each223.1.1.1 = 11011111 00000001 00000001 0000000
interface
223 1 1 1
Dr. Indrajit Ray, Computer Science Department CT 320 Network and
Systems Administration, Fall 2014
An Addressing Example
Recipe
To determine the
subnets, detach
each interface
from its host or
router, creating
islands of isolated
networks. Each
isolated network 223.1.3.0/24
223.1.1.1 223.1.1.4
223.1.1.3
223.1.9.2 223.1.7.0
223.1.9.1 223.1.7.1
223.1.8.1 223.1.8.0
223.1.2.6 223.1.3.27
subnet host
part part
11001000 00010111 00010000 00000000
200.23.16.0/23
Protocol
1. ARP request broadcast on Ethernet
2. Destination host ARP layer responds