Computer Networks
Computer Networks
Computer Networks
Lecture 1
Fundamental concepts of computer networks.
1
Textbook
❑ Required:
▪ Computer Networking: A Top-Down
Approach, by Jim Kurose and Keith Ross,
8th Edition
❑ Recommended:
▪ Computer Networks: A Systems
Approach, by Larry L. Peterson and Bruce
S. Davie.
▪ Computer Networks, by Andrew S.
Tanenbaum.
Computer Networking:
A Top-Down Approach
8th edition
Jim Kurose, Keith Ross
Pearson, 2020
2
Grading
3
Course Content
❑ Lecture 1: Fundamental concepts of computer networks
❑ Lecture 2: OSI Model
❑ Lecture 3: TCP/IP Model
❑ Lecture 4: IP address
❑ Lecture 5: IP address (contd.)
❑ Lecture 6: Internet & protocols
❑ Lecture 7: Internet & protocols (contd.)
❑ Lecture 8: Application Layer
❑ Lecture 9: Application Layer (contd.)
❑ Lecture 10: Transport Layer
❑ Lecture 11: Transport Layer (contd.)
❑ Lecture 12: Transport Layer (contd.) 4
History of Computer Networking
▪ 1957: Advanced Research Project Agency formed by US.
▪ 1965: the term "packet" was introduced.
▪ 1969: The development of ARPANET began. It was considered one of
the first computer networks in which first two nodes.
▪ 1971: The first e-mail was sent to across a network to other users.
▪ 1973: Robert Metcalfe developed the Ethernet. In the same year, ARPA
deployed the first international network connection, known as SATNET.
▪ 1974: The use of first router was began.
▪ 1976: Originally called a gateway, Ginny Strazisar develop the first true
IP router.
▪ 1978: The TCP/IP protocol was developed and invented by Bob Kahn for
networks.
▪ 1983: For using TCP/IP, ARPANET finished the transition. The first DNS
implement by Jon Postel and Paul Mockapetris.
▪ 1986: This is the year in which a backbone for ARPANET.
Lecture 1: Fundamental concepts of computer networks. 5
History of Computer Networking
▪ 1988: The first T1 backbone was included with ARPANET. In 1988, for
the first time, the explanation of network firewall technology was
published.
▪ 1990: The first network switch was developed and introduced by a
U.S. network hardware company named Kalpana in 1990.
▪ 1996: An IPv6 was introduced as an improvement over IPv4, as well
as embedded encryption, improved routing.
▪ 1997: The 802.11 standards, containing transmission speeds up to 2
Mbps, for Wi-Fi were introduced.
▪ 1999: The 802.11a standard, containing transmission speeds up to 25
Mbps to use the 5 GHz band, was officially made in 1999. Another
standard 802.11b was available to use for the public in mid-1999,
which offered transmission speeds up to 11 Mbps.
▪ 2003: 802.11g devices, contained transmission speeds up to 20 Mbps,
were available to the public in January 2003. In the same year, for use
with 802.11g, the WPA encryption protocol is released.
Lecture 1: Fundamental concepts of computer networks. 6
History of Computer Networking
▪ 2004: In 2004, as a replacement for WPA, the WPA2 encryption
protocol was introduced. By 2006, WPA2 certification was compulsory
for all Wi-Fi devices.
▪ 2009: The 802.11n standard can operate on the 2.4 GHz and 5 GHz
bandwidths and offers higher transfer speeds over 802.11a and
802.11g. Officially, it was made in 2009.
▪ 2018: In January 2018, WPA3 encryption was released by the Wi-Fi
Alliance, which comprises security enhancements over WPA2.
▪ 2021: …………………
Printer
Host Host
Router
Switch
Wireless Network
❑ NIC Card
❑ Repeater
❑ Hub
❑ Switch
❑ Bridge
❑ Router
❑ Gateway
❑ Firewall
1. Message
2. Sender
3. Receiver
4. Medium
5. Protocol
Lecture 1: Fundamental concepts of computer networks. 25
Direction of data flow
❑ Simplex: One way traffic
only, one device transmits
and one receives e.g.
Keyboard->monitor
❑ Half Duplex: Both
stations can transmit and
receive but one at time.
e.g. Bus topology. Only
one path from source to
destination. Collisions may
occur.
❑ Full Duplex: Both can
receive and send at the
same time. e.g. Star
topology. Two separate
transmission lines.
Collisions free
Lecture 1: Fundamental concepts of computer networks. 26
Data Representation
❑Text
▪ Represented in bits patterns e.g. 0,1
▪ Different Bit patterns called code.
▪ Present Coding system: Unicode, 32 bits
❑Numbers
▪ Represented in bit patterns
▪ Converted into binary for calculations
❑Images
▪ Represented into matrix of pixels/bits
❑Audio/Video
▪ Continuous data
Lecture 1: Fundamental concepts of computer networks. 27
Categorizing Networks
❑ Networks are categorized based on the
following characteristics:
▪ Based on coverage/ scale : LAN, MAN, WAN
▪ Based on topologies: how the computers are
connected together
▪ Based on architecture
▪ Based on technologies
▪ Based on users
▪ Based on transmission medium
▪ Based on user mobility
▪ Based on link configuration
Lecture 1: Fundamental concepts of computer networks. 28
Categorizing Networks
❑ Based on coverage
Three primary categories: size, ownership, distance
it cover, physical architecture
▪ Local Area Networks (LAN)
• Used for small networks (school, home, office)
▪ Metropolitan Area Network (MAN)
• Backbone network connecting all LANs
• Can cover a city or the entire country
▪ Wide Area Network (WAN)
• Typically between cities and countries
MAN
LAN
BAN
▪ Privately owned
▪ Links devices in the same office, building,
or campus
▪ Simple LAN: 2 PCs & 1 printer in home or
office
▪ Size is limited to a few kilometers
▪ Allow resources to be shared (hardware,
software, or data)
❑ Based on topologies
▪ Two or more devices connect to a link; two
or more links form a topology. The
topology of a network is the geometric
representation of the relationship of all the
links and linking devices (usually called
nodes) to one another.
▪ There are four basic topologies possible:
mesh, star, bus, and ring.
Lecture 1: Fundamental concepts of computer networks. 37
Based on topologies
In a bus network, a single cable
Bus running the length of the network
connects all of the nodes.
▪ So-called because a
token passes around the 2 3
ring to carry messages
between the nodes
▪ Nodes can only send
when the token passes 1 P
and is empty
▪ There will be no collisions, but a node may have to wait
for the empty token to arrive, so may be slower than a
bus network under light loads but will slow down less
when it gets busier
▪ Any breaks in the cable will affect all users
Lecture 1: Fundamental concepts of computer networks. 40
Star Networks
▪ Physical layer
o Gigabit Ethernet using optical fiber, twisted pair
cable, or balanced copper cable
▪ Token Ring
o LAN technology
o Only the computer with the token can transmit
o No collision
o Typically 72-260 devices can be connected
together
▪ TCP/IP and UDP
o Uses packet transmission
Lecture 1: Fundamental concepts of computer networks. 47
Based on Technologies
▪ 802.11
o Standard for wireless LAN
o Wi-Fi (wireless fidelity) is used to describe that
the device is in 802.11 family or standards
o Typically used for long range (300-1000 feet)
o Variations include: .11 (1-2 Mbps); .11a (up to
54 Mbps); .11b (up to 11 Mbps); .11g (54 Mbps
and higher
▪ 802.11n
o Next generation wireless LAN technology
o Improving network throughput (600 Mbps
compared to 450 Mbps) – thus potentially
supporting a user throughput of 110 Mbit/s
Lecture 1: Fundamental concepts of computer networks. 48
Based on Technologies
❑ WiMAX
o Worldwide Interoperability for Microwave
Access
o Provides wireless transmission of data from
point-to-multipoint links to portable and fully
mobile internet access (up to 3 Mbit/s)
o The intent is to deliver the last mile wireless
broadband access as an alternative to cable
and DSL
o Based on the IEEE 802.16(d/e) standard (also
called Broadband Wireless Access)
Lecture 1: Fundamental concepts of computer networks. 49
Network Technologies
▪ Personal area network (PAN)
o A low range computer network
o PANs can be used for communication among
the personal devices themselves
o Wired with computer buses such as USB and
FireWire.
▪ Wireless personal area network (WPAN)
o Uses network technologies such as IrDA,
Bluetooth, UWB, Z-Wave and ZigBee
Access
Access
Network
Core Network
Network Core
Network
Access
Network Access
Network
▪ Wireless
o Allows mobility
o Allows convenience
▪ Mobile
o Devices may be move
o Difficult to know how much capacity is needed
in advance
Corporate
Office
Network Criteria