NETWORKING NOTES
NETWORKING NOTES
Computer Networking
A network is simply two or more
computers that are linked together.
NETWORK - DEFINITION
• A network can be defined as two or more
computers connected together using a connection
medium in such a way that they can share
resources.
BUS TOPOLOGY
STAR TOPOLOGY
RING TOPOLOGY
MESH TOPOLOGY
BUS TOPOLOGY
F
E
MESH TOPOLOGY
Half Mesh Topology
C D
Computers have
multiple connections, B E
but not with all the
computers.
A
F
NETWORK/COMMUNICATION PROTOCOLS
• A protocol is simply an agreed-on set of rules and
procedures for transmitting data between two or
more devices.
• Features determined by the protocol are:
– How the sending device indicates it has finished sending
the message.
– How the receiving device indicates it has received the
message.
– The type of error checking to be used.
– Eg: HTTP, FTP, IP, ICMP, TCP, UDP, SMTP
OSI 7-Layer Model
• In the 70's, computer networks were ad hoc, vendor-
specific
Open Systems Interconnection model
Divides the tasks involved in moving information between
networked computers into 7 task groups
Each task group is assigned a layer
Layer 1 P HYSICAL
Layer 2 DATA LINK
Layer 3 NE TWOR K
Layer 4 TR ANSP OR T
Layer 5 SE SSION
Layer 6 P R E SE NTATION
Layer 7 AP P LICATION
OSI MODEL
OSI 7-Layer Model
• Physical layer
– describes the physical & electrical properties
of the communications media
e.g. voltage levels, data rates, max distances
• Data Link layer
– describes the logical organization of data
bits transmitted on a particular medium
e.g. frame sequencing, traffic control, error
notification.
OSI 7-Layer Model
• Network layer
– describes how a series of exchanges over
various data links can deliver data across a
network
e.g. frame fragmentation, addressing and
routing
• Transport layer
– describes the quality and nature of data
delivery
e.g. message acknowledgment, message
segmentation, how retransmissions are used
to ensure delivery
OSI 7-Layer Model
• Session layer
– describes the organization of large data sequences &
manages communication session
e.g., coordinates requests/responses (“traffic flow”)
• Presentation layer
– describes the form of data being transferred &
ensures that it will be readable by receiver
e.g., floating point formats, data conversions, data
compression, encryption
• Application layer
– describes how applications will communicate
e.g., HTTP, FTP, Telnet, SMTP
IP ADDRESS
• An IP address is a 32-bit address.
• The IP addresses are unique.
• IP stands for Internet Protocol and is basically an
address that the packets will be sent to.
216. 27.61.137
Octets
IP ADDRESS
IP ADDRESS
If you look at the IP Address, the number are broken
into different categories.
216. 27.61.137
Network Hosts
SUBNET MASK
A Subnet mask is a 32-bit number that masks
an IP address, and divides the IP address into
network address and host address.
Eg: IP 216.3.128.12
Subnet Mask 255.255.255.0
Network Part Host Part
IP: 1101 1000 . 0000 0011 . 1000 0000 . 0000 1100 (216.3.128.12)
Mask: 1111 1111 . 1111 1111 . 1111 1111 . 0000 0000 (255.255.255.0)
----------------------------------------------------------------------------------------------
NW: 1101 1000 . 0000 0011 . 1000 0000 . 0000 0000 (216.3.128.0)
IP ADDRESS CLASSES
IPv6
– Internet Protocol version 6 (IPv6) is the most
recent version of the Internet Protocol (IP)
– Eg: 2001:0db8:85a3:0042:1000:8a2e:0370:7334
TRANSMISSION MEDIA
• The transmission medium is the physical path by which a message
travels from sender to receiver.
• Light, a form of
electromagnetic energy,
travels at 300,000
Kilometers/second in a
vacuum.
FIBER CONSTRUCTION
Network Peripherals
Network Devices
• Network Interface Card (NIC) (LAN card)
– Connection between the network and the
computer bus
– Have built-in transceiver, for data transmitting and
receiving
– Usually 100 MB/s
• Wireless LAN card
– Usually 11 MB/s
– Work within the distance range, and no blocking
in between.
Network Devices
• Connectors
–RJ-45
• For connecting twisted pairs LAN cable
–RJ-11/13
• For connecting telephone lines
–BNC connector
• For connecting coaxial cables
Network Device
• Hub
– To connect the workstations
within a room on same floor
• Switch
– To connect the workstations for
different floors in a building, it is
faster and more efficient than a
Hub.
• Router
– To connect different
LANs together to form a
Wide Area Network (WAN)