Networking fundamentals (for Network security professionals)
To understand Network Security, it’s imperative that we understand networking fundamentals and networking basics. In this post, we will be learning about networking basics and fundamentals to get started with Network Security.
We cannot cover whole networking in a single post so we will be focusing only on core networking concepts needed for network security.
What is Computer Networks
Computer Network is the network of computers connected with each other either wired or wirelessly to share and exchange information and resources with each other. These connected computers share and exchange data with each other using some common communication protocol.
In a computer network, numerous hardware devices are involved. Majorly following hardware devices are required to set up a computer network:
- Network cables
- Network Interface Card (NIC)
- Universal Serial Bus – USB
Following Network Topology is widely used in Networking –
- Bus network
- Star Network
- Mesh network
- Ring network
- Tree network
- Fully connected network
OSI stands for Open System Interconnection. It is a reference model which specifies how a communication should happen between two computers.
It has 7 layers namely – Physical, Data, Network, Transport, Session, Presentation and Application layer for establishing communication and sharing and exchanging data between two computers.
An IP address is also called a logical address. To identify devices on the internet, each device is assigned a numerical label called IP address. This IP address is unique
for each device and two devices cannot have the same IP address. It is using these IP addresses, devices identify each other and share and exchange data for communication.
An IP address can be IPv4 or IPv6. An IPv4 address is 32 bit in length while an IPv6 address is 128 bit in length. Also, an IP address can be public or private depending upon the network configuration and settings.
It is also known as a Physical Address. The Mac Address is associated with its network interface card (NIC) and is assigned to NIC at the time of manufacturing. The length of the Mac Address is 6 bytes or 48 bits.
A port number is basically a unique identifier to identify a particular service running on any system. Example – port 80 is used to run HTTP service. A port number is 16 bit in length therefore we have 2^16 ports available to use. Thus the number of ports available is 65535.
- Well known ports – 0 – 1023
- Registered ports – 1024 – 49151
- Ephemeral ports – 49152 – 65535
Domain Name Server
Also known as DNS. Domain name server is used to translate URLs to their corresponding IP address. Thus, a user does not have to remember the IP address of any website.
It stands for Address Resolution Protocol. It is used to convert an IP address to its physical address. ARP works at Data Link Layer to identify the Mac address of the machine.
It stands for Reverse Address Resolution Protocol. It converts MAC address to an IP address and works exactly opposite as of ARP Protocol.
Though all the networking concepts cannot be covered in a single post, this post covers major concepts required to get started with Network Security.