Professional Documents
Culture Documents
Chapter 1.1 Fundwementals of Computer Networking
Chapter 1.1 Fundwementals of Computer Networking
CINS/F1-01
Chapter 1- Fundamental Networking
concepts review
OSI Reference model
Routing and Switching basics
Why a layered model?
– Easier to teach communication process.
– Speeds development, changes in one layer does not
affect how the other levels works.
– Standardization across manufactures.
– Allows different hardware and software to work
together.
– Reduces complexity
What Each Layer Does
2
APPLICATION LAYER
• Where is it on my computer?
– TCP/IP Software
Data Link Layer
• Places data and retrieves it from the physical layer and provides error
detection capabilities
Data Link Layer
• Layer 4: Application
• Layer 3: Transport
• Layer 2: Internet
• Layer 1: Network access
Internet IP ICMP
Network Access
ETHERNET PACKET RADIO
(Host-to-network)
Protocols at the application layer
• HTTP:
– browser and web server communicatin
• FTP :
– file transfer protocol
• TELNET:
– remote login protocol
• POP3: Retrieve email
– POP3 is designed to delete mail on the server as soon as the user has downloaded it
64 to 1500 Bytes
Comparing TCP/IP with OSI
OSI Model TCP/IP Hierarchy Protocols
7th
Application Layer
6th
Presentation Layer Application Layer
5th
Session Layer
4th
Transport Layer
Transport Layer
3rd
Network Layer
Network Layer
2nd
Link Layer
Link Layer
1st
Physical Layer
OSI
OSI Model Equipment Words to TCP/IP
Model Pneumonic Equipment Data Protocols
Name Purpose Remember Model
Layer
Redirector,
Layer 7 Application All FTP, Telnet, Browsers Application
Regular Computer SMTP,
or A Special SNMP, Common Data
Layer 6 Presentation People Computer Data Application
Gateway. Used to Netware Format
combine networks Core
using different NFS, SQL, Dialogues and
Layer 5 Session Seem communication Application
RPC, X-Win Conversations
protocols Quality of
Layer 4 Transport To Computer Segment TCP and UDP Service, and Transport
Reliability
Segment Network Routable
Path Selection,
into Smaller Protocols.
Layer 3 Network Need Router Packet Routing, and Internet
Broadcast (IP, IPX,
Addressing
AppleTalk)
Domains
Bridge (2
Data Link Segment Network NDIS, ODI, Frames and
Ports) or Network
Layer 2 -MAC Data into Smaller Frame MAC Address, Media Access
Switch and Ether Talk Control (MAC) Access
-LLC Collision Domains
NIC
Repeater,
One Collision AND
Hub (Multi- Signals and Network
Layer 1 Physical Processing One Broadcast Bit Physical
Media
port), Access
Domain
Cabling
Client-Server model
• Client and server processes operate on machines which are able to
communicate through a network:
– The Server waits for requests from client
– When a request is received
– The server lookup for the requested data
– And send a response the client
• Example of servers
– File servers
– Web servers
• Example of client applications
– Browsers
– Email clients
What is a socket?
• An interface between application and
network.
– Create a socket
• Socket(Protocolfamily, type-of-communicatio, specific- protocol);
Ports
Port 1
Port 65535
45
Expanding Network
• Networks cannot be made larger by simply
adding new computers and more cables
• Less efficient !!
47
Repeaters and Hubs
• Repeaters or hubs work at the OSI physical
layer to regenerate the network’s signal and
resend them to other segments
• Primitive hub can be viewed as a multiport
repeater
• It regenerates data and broadcasts them to
all ports Hub
48
49
Limitations and Features
52
Bridge Functions
53
Bridge in OSI Model
54
Creating a Switching Table
• Based on the addresses of the sending
computers
• New addresses are added if they are not in
the table Add02 S 02 D 01
Switching Table
Seg 1 Seg 2
Add01 01
Stop 02
Add03 S 01 D 02
55
Remote Bridges
• Bridges are often used in large networks
that have widely dispersed segments
• Remote bridges can be used to connect
remote segments via data-grade telephone
line
56
Differences Between Bridges and Repeaters
Repeaters Bridges
Hub 3.3Mbps
10Mbps
Switch 3.3Mbps
3.3Mbps
10Mbps
10Mbps
59
10Mbps
Advantages of Switches
60
Routers
• Layer 2 Switches cannot take advantage of
multiple paths
• Routers work at the OSI layer 3 (network layer)
• They use the
“logical
address” of
packets and
routing tables to
determine the
best path for
data delivery
61
Router in OSI Model
62
How Routers Work
• As packets are passed from routers to routers,
Data Link layer source and destination
addresses are stripped off and then recreated
• Enables a router to route a packet from a TCP/IP
Ethernet network to a TCP/IP token ring network
• Only packets with known network addresses
will be passed - hence reduce traffic
• Routers can listen to a network and identify its
busiest part
• Will select the most cost effective path for
transmitting packets 63
How Routing Table is formed
current network
status and
contribute to
selection of the
best path
64
Static and Dynamic Routers
65
Distinguishing Between Bridges
and Routers
• Bridges forward everything they
don’t recognize
• Routers select the best path
66
Gateway
67
Gateway in OSI Model
68
Device Overview
69
Routing Concepts
– None.
– Local.
– Adjacent (neighbor) node.
– Node along the route (of packet).
– All nodes – centrally or distributed.
Network Information Updating Time (NU)