Lecture1 - Computer Network Fundamentals
Lecture1 - Computer Network Fundamentals
Module
1 Before Starting
References:
• The official Python Tutorial: http://docs.python.org/tut/
• The Python Tutorial: https://docs.python.org/3/tutorial/
2
Module
1 Before Starting
Explores network programming in the Python language. It covers the basic concepts,
modules, and third-party libraries that you are likely to use when communicating
with remote machines using the most popular Internet communication protocols.
3
Module
1 So …
4
5
Module
1 Outlines
6
Module
1 Definition of computer networks
7
Module
1 Definition of communication
8
Module
1 Importance of computer networks
1.
2.
3.
4.
5.
6.
7.
9
Module
1 Computer networks classifications
10
Module
1 Computer networks types
11
Module
Differences between Computer
1
networks types
12
Module
1 Computer networks architectures
13
Module
Differences between
1
the two architectures
14
Module
1 Computer networks topologies
Star
15
Module Computer networks
1 communications technology
16
Module
1 OSI model
(ISO).
In the OSI reference model, the communications between a computing system are
17
Module
1 Network Protocol
network:
1. Access method
3. Types of cabling
18
1
Module
19
Module
Hidden layer
1
(transmission layer)
20
Module Communication through
1 an internet
21
Module
logical mapping between
1
OSI model and TCP/IP model
22
Module
1 Data Encapsulation
Segment
packet
frame
23
Module
Encapsulation headers
1
(TCP vs UDP)
24
User Datagram Protocol
Module
1 TCP/UDP protocols
25
Module
Encapsulation headers(IP)
1 Internet protocol
Method that governs how computers share data across the Internet.
When one computer sends data, such as an email or a web form, its message gets parsed
into small packets that contain the sending computer's Internet address, the receiving
computer's address, and part of the message(packet).
26
Module
1 Data Encapsulation
OSI uses a more generic term to refer to messages, rather than frame, packet,
and segment. OSI uses the term protocol data unit (PDU). A PDU represents the
bits that include the headers and trailers for that layer, as well as the
encapsulated data.
27
Module Encapsulation – Decapsulation
1 comparison
28
Module
1 Routing
Process of selecting a path across one or more networks. The principles of routing can apply to
any type of network, from telephone networks to public transportation.
In packet-switching networks, such as the Internet, routing selects the paths for Internet
Protocol (IP) packets to travel from their origin to their destination. These Internet routing
decisions are made by specialized pieces of network hardware called routers.
UDP
29
Module
1 Routing Table
30
Module
Routing Protocols
1
Comparison
31
Module
1 Middleboxes
32
Module
1 Throughput & Bandwidth
Throughput tells you how many packets arrive at their destinations successfully at any given
time. For the most part, throughput capacity is measured in bits per second, but it can also be
measured in data per second.
Bandwidth tells you how much data could theoretically be transferred from a source at any given
time. Bandwidth is measured in bits, megabits, or gigabits per second.
It’s important to remember high bandwidth doesn’t necessarily equal high network
performance. Substantial bandwidth won’t matter if data throughput is still being dragged
down by latency, jitter, or packet loss.
33
Module
1 Throughput & Bandwidth
34
Module
1 Quality-of-Service(QoS)
35
Module
1 Bottleneck
36
Module
1 Wireless Networks
37
Module
Wireless Communication
1
technologies
1. Satellite Communication
2. Infrared Communication
3. Broadcast Radio
4. Microwave Communication
5. Wi-Fi
6. Mobile Communication Systems
7. Bluetooth Technology
8. Global Positioning System (GPS)
9. Paging
10.Radar
11.Radio Frequency Identification (RFID)
38
Module
1 Types of wireless networks
Wireless PAN
Wireless LAN
Wireless CAN
Wireless MAN
Wireless WAN
Cellular network
Space network
39
Module
Institute of Electrical
1
and Electronics Engineers (IEEE)
40
Module
16 Useful Windows Networking
1
Commands You Should Know
Command Used For
1 PING Troubleshooting network connection issues. (test whether one network
host is able to communicate with another)
2 IPCONFIG Quickly finding your IP address.
4 ARP Display and modify the Address Resolution Protocol cache; useful for
resolving address resolution problems.
5 HOSTNAME Quickly finding your hostname.
6 NSLOOKUP Find the IP address of a device, find the domain name of an IP address
of your device’s DNS server and find mail servers for a domain.
7 NBTSTAT Troubleshooting NetBIOS issues.
8 Route Allow you to view the device’s routing tables. To do so, simply type
Route Print.
41
Module
16 Useful Windows Networking
1
Commands You Should Know
Command Used For
9 NET Displaying available Net switches. (accounts to set password and
logon requirements, file to show a list of open files and sessions
to list, or even disconnect, sessions on the network)
10 NETSTAT Displaying network statistics.
NETSTAT [-a] [-b] [-e] [-f] [-n] [-o] [-p proto] [-r] [-s] [-x] [-t]
[interval]
11 NETSH Displaying and configuring network adapters.
13 TRACERT Trace the route a packet takes before reaching its destination, and
see information on each “hop” along the route.
14 PATHPING Combine that best of both ping and tracert into a single utility.
42
Module
1 Homework 1
Q: Apply these windows networking commands, then send to me captured screen for
commands (4-8) in your personal desktop computer (Pc) or laptop?
1. ipconfig
2. getmac
3. hostname
4. tracert esu.ac.ae
5. Ping esu.ac.ae
6. netstat –s
7. netstat –n
8. netstat -y
43