Basics of Computer Networking
Basics of Computer Networking
The working of Computer Networks can be simply defined as rules or protocols which help in
sending and receiving data via the links which allow Computer networks to communicate. Each
device has an IP Address, that helps in identifying a device.
i. LAN: A Local Area Network (LAN) is a network that covers a small area, such as an office
or a home. LANs are typically used to connect computers and other devices within a building
or a campus.
j. WAN: A Wide Area Network (WAN) is a network that covers a large geographic area, such
as a city, country, or even the entire world. WANs are used to connect LANs together and are
typically used for long-distance communication.
k. Cloud Networks: Cloud Networks can be visualized with a Wide Area Network (WAN) as
they can be hosted on public or private cloud service providers and cloud networks are
available if there is a demand. Cloud Networks consist of Virtual Routers, Firewalls,
etc.These are just a few basic concepts of computer networking. Networking is a vast and
complex field, and there are many more concepts and technologies involved in building and
maintaining networks. Now we are going to discuss some more concepts on Computer
Networking.
l. Open system: A system that is connected to the network and is ready for communication.
m. Closed system: A system that is not connected to the network and can’t be communicated
with.
Client-Server Architecture:
Client-Server Architecture is a type of Computer Network Architecture in which Nodes can be
Servers or Clients. Here, the server node can manage the Client Node Behaviour.
Peer-to-Peer Architecture:
In P2P (Peer-to-Peer) Architecture, there is not any concept of a Central Server. Each device is
free for working as either client or server.
7. Network Devices
An interconnection of multiple devices, also known as hosts, that are connected using multiple
paths for the purpose of sending/receiving data or media. Computer networks can also include
multiple devices/mediums which help in the communication between two different devices; these
are known as Network devices and include things such as routers, switches, hubs, and bridges.
Network Devices
8. Network Topology
The Network Topology is the layout arrangement of the different devices in a network. Common
examples include Bus, Star, Mesh, Ring, and Daisy chain.
Network Topology
9. Network Protocols
A protocol is a set of rules or algorithms which define the way how two entities can communicate
across the network and there exists a different protocol defined at each layer of the OSI model. A
few such protocols are TCP, IP, UDP, ARP, DHCP, FTP, and so on.
Function: The foundational protocol suite of the internet, enabling reliable communication.
TCP: Ensures data is delivered reliably and in order.
IP: Routes data packets to their destination based on IP addresses.
Components: Works with other protocols like POP3 and IMAP for email retrieval.
Components: Includes commands for uploading, downloading, and managing files on a remote
server.
17. IP Address (Internet Protocol address): Also known as the Logical Address, the IP
Address is the network address of the system across the network. To identify each device in
the world-wide-web, the Internet Assigned Numbers Authority (IANA) assigns an IPV4
(Version 4) address as a unique identifier to each device on the Internet. The length of an
IPv4 address is 32 bits, hence, we have 232 IP addresses available. The length of an IPv6
address is 128 bits.
In Windows Type “ipconfig” in the command prompt and press ‘Enter’, this gives us the IP
address of the device. For Linux, Type “ifconfig” in the terminal and press ‘Enter’ this gives us
the IP address of the device.
18. MAC Address (Media Access Control address): Also known as physical address,
the MAC Address is the unique identifier of each host and is associated with its NIC
(Network Interface Card). A MAC address is assigned to the NIC at the time of
manufacturing. The length of the MAC address is: 12-nibble/ 6 bytes/ 48 bits Type
“ipconfig/all” in the command prompt and press ‘Enter’, this gives us the MAC address.
19. Port: A port can be referred to as a logical channel through which data can be sent/received
to an application. Any host may have multiple applications running, and each of these
applications is identified using the port number on which they are running. A port number is
a 16-bit integer, hence, we have 216 ports available which are categorized as shown below: