Computer Network Fundmentals
Computer Network Fundmentals
Course Objectives
Introduction to Computer Networks
OSI Model
TCP/IP Model
Network Devices
Network media
Wireless Networks
Virtualization
Security Fundamentals
Introduction
What is the Computer Network (CN) ?
Computer Network: a collection of computers, and
other devices, or peripherals connected together
through connecting media to perform certain task
such as share resources.
Benefits of Computer Networks.
◦ Resources Sharing
◦ File Sharing
◦ Devices Sharing
◦ Software Sharing with multi-user licenses.
◦ Voice and Video calls
◦ Shared Internet Access
Networks Classifications
According to Covered Area
◦ How large is the network?
Client/Server Networks:
• Some nodes (SERVER) are dedicated to present
services to other nodes (CLIENTS).
• Server is more powerful.
Peer to peer vs client/server model
Basic Network Elements
Hardware
Computers / Peripherals
NICs
Connecting Media
Networking Device(s)
◦ Routers
◦ Switches
◦ Hubs
Software
Protocols
◦ Communication rules that all entity must agree on
Open Systems
Interconnection Reference
Model OSI RM
OSI Reference Model
OSI: Open Systems Interconnect
OSI/RM was defined by ISO in 1983
International Organization for Standardization
Datalink Layer
◦ Logical interface between end system and network
◦ Hop to Hop addressing
◦ Error detection Mechanism
Physical (Mac) Addresses
Physical Address burned on the card
Unique address over the world called Mac
address.
48-bit(6-byte) written as 12 hexadecimal digits;
every byte (2 hexadecimal digits) is separated by a
colon :
Physical addresses can be either
◦ unicast
◦ multicast
◦ broadcast
Communicating Within the LAN
TCP/IP Protocol Architecture
Internet Layer (IP Layer)
Packet in the IP layer is called Datagram
Datagram consist of TWO parts
o Header
o Data
Routing of data
Logical addressing IPV4 , IPV6
Internet Protocol (IP V4)
Uniquely identify each device on an IP
network layer.
Some times we called it the logical
address
Every host (computer, networking
device, peripheral) must have a unique
addressat the same network
The IP address 32 bitdivided into 4
octets each octet 8 bit
IP ADDRESS Classes
How to assign IP address to device
Manually
Automatic
APIPA
DHCP Server
usedto assign dynamically the IP
Configuration including (Host IP,
Subnet mask, Default Gateway, DNS
server IP and the Lease Time)
Dora(discover –offer-request-
acknowledgment)
APIPA
If no DHCP server is available the APIPA is used
Auto configuration IP address
used to let LAN users talk to Each other if the DHCP fails
Can not be Routed
Rang : 169.254.X.X
RESERVED ADDRESS
Network address:
◦ reserved
◦ can not be assigned to any device
◦ used for routing by the router
◦ Class A:10.0.0.0
◦ Class B: 172.16.0.0
◦ Class C:192. 168.1.0
Broadcast Address
◦ Used by a router to send a message to every
host in the internal (LAN)
◦ Used to let the host search for Network
Resources Example: DHCP
Loop back Address
◦ address: It is used just for testing.
◦ TCP/IP Protocol Suit 127.0.0.1 example test
NIC
ARP(ADDRESS RESOLUTION PROTOCOL) OPERATION
TCP/IP Protocol Architecture
Transport Layer.
TCP Characteristics
Transmission Control Protocol
Telnet client
◦ Built in MS-Windows Telnet client
◦ Third party programs
Network Hardware
DEVICES & MEDIUM
Computers / Peripherals
Any device that can connect to network with NIC
Ex: Computer
◦ Mobile
◦ Laptop-
◦ Printers-
◦ Cameras
◦ smart TV
◦ -…..etc
NIC (Network Interface Card)
Called network interface controller, network adapter
or LAN adapter.
Operate at the physical layer of OSI/RM
hardware component without a computer cannot be
connected over a network cable (interface between the
PC and the network )
Resides in the motherboard of the PC
o Internal NIC (plugs into the motherboard directly )
o External NIC)Wireless and USB based )
Have A physical Address burned on the card called
Mac.
Network Transmission Media
To transmit data, a medium must exist
The medium can be in the form of cables
or wireless medium
Most common used media for data
networks
oWired Media
oWireless media
Network Transmission Media
Cable Media
◦ Twisted Pair Cables
◦ UTP
◦ STP
◦ Coaxial Cables
◦ Fiber Optic Cables
Wireless Media
◦ WIFI
◦ Infra red
◦ Microwave
◦ Bluetooth
Most widely used (Ethernet networks)
Two basic types
◦ STP
◦ Shielded twisted pair
◦ Protected
◦ Hard to install
◦ UTP
◦ Unshielded twisted pair
◦ Most common
◦ Easy to install
◦ Less expensive
◦ Effected By electromagnetic interference