Computer Networks Ultra Short Notes
Computer Networks Ultra Short Notes
es
Last Minute Notes – Computer Networks
See Last Minute Notes on all subjects here.
Layer
Physical Layer
Network Topologies:
https://www.geeksforgeeks.org/last-minute-notes-computer-network/ 1/11
28/05/2020 Last Minute Notes - Computer Networks - GeeksforGeeks
Mesh Topology:
In mesh topology, every device is connected to another device via particular channel.If suppose,
N number of devices are connected with each other, then total number of links required to
connect NC2.
Bus Topology:
Bus topology is a network type in which every computer and network device is connected to
single cable. If N devices are connected, then the number of cables required 1 which is known
as backbone cable and N drop lines are required.
Star Topology:
In star topology, all the devices are connected to a single hub through a cable. If N devices are
connected to each other, then the no. of cables required N.
Ring Topology:
In this topology, it forms a ring connecting a devices with its exactly two neighboring devices.
Transmission Modes:
Simplex Mode: the communication is unidirectional, as on a one-way street.Only one of the two
devices on a link can transmit, the other can only receive.
Half-duplex Mode: each station can both transmit and receive, but not at the same time.
Full-duplex Mode: both stations can transmit and receive simultaneously.
Manchester Encoding: When there is a long sequence of 0s and 1s, there is a problem at the
receiving end. The problem is that the synchronization is lost due to lack of transmissions.
NRZ-level encoding : The polarity of signals changes when incoming siganl changes from ‘1’ to
‘0’ or from ‘0’ to ‘1’. It considers the rst bit data as polarity change.
NRZ-Inverted/ Differential encoding:In this, the transitions at the beginning of bit interval is
equal to 1 and if there is no transition at the beginning of bit interval is equal to 0.
1. Flow Control
N = Sender’s Window Size. (in SR both sender and receiver window are same)
a = Tp /Tt
https://www.geeksforgeeks.org/last-minute-notes-computer-network/ 2/11
28/05/2020 Last Minute Notes - Computer Networks - GeeksforGeeks
Network Layer
https://www.geeksforgeeks.org/last-minute-notes-computer-network/ 3/11
28/05/2020 Last Minute Notes - Computer Networks - GeeksforGeeks
Internet Control Message Protocol: Since IP does not have a inbuilt mechanism for sending error and
control messages. It depends on Internet Control Message Protocol(ICMP) to provide an error
control.
Open shortest path rst (OSPF): Open shortest path rst (OSPF) is a link-state routing protocol which
is used to nd the best path between the source and the destination router using its own SPF
algorithm.
Designated Router(DR) and Backup Designated Router(BDR) election takes place in broadcast
network or multi-access network.
Criteria for the election:
1. Hop count is the number of routers occurring in between the source and destination network.
The path with the lowest hop count is considered as the best route to reach a network and
therefore placed in the routing table.
2. The maximum hop count allowed for RIP is 15 and hop count of 16 is considered as network
unreachable.
Transport Layer
TCP header
https://www.geeksforgeeks.org/last-minute-notes-computer-network/ 5/11
28/05/2020 Last Minute Notes - Computer Networks - GeeksforGeeks
UDP header
https://www.geeksforgeeks.org/last-minute-notes-computer-network/ 6/11
28/05/2020 Last Minute Notes - Computer Networks - GeeksforGeeks
Application Layer
Domain Name Server: DNS is a host name to IP address translation service. DNS is a distributed
database implemented in a hierarchy of name servers. It is an application layer protocol for message
exchange between clients and servers.
Dynamic Host Con guration Protocol(DHCP) is an application layer protocol which is used to
provide:
Subnet Mask (Option 1 – e.g., 255.255.255.0)
Router Address (Option 3 – e.g., 192.168.1.1)
DNS Address (Option 6 – e.g., 8.8.8.8)
Vendor Class Identi er (Option 43 – e.g., ‘uni ’ = 192.168.1.9 ##where uni = controller)
Simple Network Management Protocol (SNMP) : SNMP is an application layer protocol which uses
UDP port number 161/162.SNMP is used to monitor network, detect network faults and sometimes
even used to con gure remote devices.
Simple Mail Transfer Protocol (SMTP): SMTP is an application layer protocol. The client who wants
to send the mail opens a TCP connection to the SMTP server and then sends the mail across the
connection. The SMTP server is always on listening mode. As soon as it listens for a TCP connection
from any client, the SMTP process initiates a connection on that port (25). After successfully
establishing the TCP connection the client process sends the mail instantly.
File Transfer Protocol (FTP): File Transfer Protocol(FTP) is an application layer protocol which moves
les between local and remote le systems. It runs on the top of TCP, like HTTP. To transfer a le, 2
TCP connections are used by FTP in parallel: control connection and data connection.
Hypertext Transfer Protocol (HTTP): is an application-level protocol that uses TCP as an underlying
transport and typically runs on port 80. HTTP is a stateless protocol i.e. server maintains no
information about past client requests.
Network Security
https://www.geeksforgeeks.org/last-minute-notes-computer-network/ 7/11
28/05/2020 Last Minute Notes - Computer Networks - GeeksforGeeks
GeeksforGeeks has prepared a complete interview preparation course with premium videos, theory,
practice problems, TA support and many more features. Please refer Placement 100 for details
Recommended Posts:
Last Minute Notes Computer Organization
Last Minute Notes – Discrete Mathematics
Last Minute Notes - Engineering Mathematics
Computer Networks | Set 14
Computer Networks | Set 5
Computer Networks | Set 3
Computer Networks | Set 4
https://www.geeksforgeeks.org/last-minute-notes-computer-network/ 8/11
28/05/2020 Last Minute Notes - Computer Networks - GeeksforGeeks
13
3.2
To-do Done Based on 14 vote(s)
Please write to us at [email protected] to report any issue with the above content.
Writing code in comment? Please use ide.geeksforgeeks.org, generate link and share the link here.
https://www.geeksforgeeks.org/last-minute-notes-computer-network/ 9/11
28/05/2020 Last Minute Notes - Computer Networks - GeeksforGeeks
5 Comments GeeksforGeeks 🔒
1 Login
LOG IN WITH
OR SIGN UP WITH DISQUS ?
Name
R1 = gx mod p
R2 = gy mod p
△ ▽ • Reply • Share ›
✉ d
https://www.geeksforgeeks.org/last-minute-notes-computer-network/ 10/11
28/05/2020 Last Minute Notes - Computer Networks - GeeksforGeeks
COMPANY LEARN
About Us Algorithms
Careers Data Structures
Privacy Policy Languages
Contact Us CS Subjects
Video Tutorials
PRACTICE CONTRIBUTE
Courses Write an Article
Company-wise Write Interview Experience
Topic-wise Internships
How to begin? Videos
https://www.geeksforgeeks.org/last-minute-notes-computer-network/ 11/11