Ccna 1
Ccna 1
1. What is network?
A network is collection of interconnected devices (Such as computers, services, routers,
switches) that communicate with each other to share resources data and services. Network can
vary in size and type from small Local Area networks (LANs) within a home or office to vast Wide
Area Network (WANs) spanning across regions, countries or even globally (Like the internet).
Two or more connected computers that can share resources like data and applications office
machines an internet connection.
Networking: Networking also known as computer networking is the practice of transporting and
exchanging data and information and having communication between connected nodes over a
shared medium.
• Data link layer: Data link layer establishes and terminates a connection between two
physically connected nodes on a network. It breaks up packets into frames and sends
them from source to destination. This layer is composed of two parts- logical link
control which identifies network protocols performs error checking and synchronizes
frames and media access control which uses MAC addresses to connect devices and
define permission to transmit and receive data.
• Network Layer: Network layer has two main functions. One is breaking up segments
into network packets and reassembling the packets on the receiving end. Another one
is the routing packets by discovering the best path across a physical network. The
network layer uses network addresses typically internet protocol addresses to route
packets to a destination node.
• Transport Layer: The transport layer takes data from the session layer and breaks it
into segments on the transmitting end. The THREE-WAY-HANDSHAKE is a method
used in the transport layer of the TCP/IP model to establish a reliable connection
between a client and server before data transfer begins. It’s a part of the TCP and
crucial for ensuring that both parties are synchronized and ready to exchange data.
First Handshake (SYN)- The client sends an SYN packets to the server indicating its
intent to establish a connection. The SYN packet contains a sequence number which is
used to synchronize the data transmission between the client and server.
2nd-Handshake (SYN-ACK) – The server acknowledges the clients request and
responds.
3rd Handshake (ACK)- the client acknowledges the server’s response. The three-way
handshake ensures both parties are on the starting sequence numbers and that both
the client and server are ready for communication.
• Session Layer: The session layer creates communication channels called sessions
between devices. It is responsible for opening sessions. ensuring they remains open
and functional while data is being transferred and closing them when communication
ends.
• Presentation Layer: The presentation layer prepares data for the application layer. It
defines two devices should encode, encrypt & compress data. So, it is received correctly
on the other end.
• Application Layer: The application layer is used by end user software such as end web
browsers, email clients. It provides protocols that allow Software to send & receive
information & present meaningful data to users.
16. What is NAT & why is it important? (NAT- N/W address Translation)
-NAT allows a router to translate private, non-routable IP addresses (used inside a local
network) into a single public IP address (used for internet communication). It is a crucial for
conserving public IP addresses, as private addresses are not globally unique & can reused across
different networks. NAT is important because it allows multiple device on a local network to
share a single public IP address enabling internet access. It enhances security by hiding internal IP
addresses from external network It helps to alleviate the shortage of IP addresses.
17. What is the difference between static & dynamic routing?
-Static routing involves manually configuring routes on routers. It requires an administrator to set up
specific routes for traffic to follow and change must be updated manually, it is simple & has long
overhead but lacks scalability & adaptability to network.
-Dynamic routing on the other hand uses routing protocols such as OSPF, EIGRP or RIP) to
automatically adjust routes based on changes in the network topology. Routers exchange
information & build routing table dynamically, offering better scalability & flexibility specially in
larger, more complex networks.
- Dynamic routing requires more CPU memory & B/W because routers must continuously
exchange & process routing updates.
- Complex Configuration
- Less control
- Security
17. Explain what a trunk port is & its purpose in VLAN Configuration.
A trunk port on a switch is used to carry traffic for multiple VLANs between Switches. It tags the
data. So, that switches can tell which VLAN the traffic belongs to, allowing different VLANs to
communicate.