CCNA Day 1 Notes
CCNA Day 1 Notes
1 Basics of Networking
Key Points:
Design Aspects:
Examples:
Local Area Network (LAN): A LAN connects devices within a limited geographical
area, like an office or home, allowing them to share resources and data.
WAN: Connecting office spread across distant geography
Internet: The global internet is a massive network that connects billions of
devices worldwide, facilitating communication and information exchange.
Ethernet: Ethernet is a common LAN technology that uses wired connections,
like Cat 5e or Cat 6 cables, to transmit data between devices.
What is routing?
Routing is a fundamental process in networking that involves the determination of the
best path for data to travel from its source to its destination through a network of
interconnected devices.
What is switching?
Switching, in the context of computer networking, is a fundamental technology and
process that enables devices to communicate within a network. It involves the
forwarding of data packets or frames from one network node to another, typically within
a local area network (LAN) or an Ethernet-based network. Switching is essential for the
efficient and reliable flow of data in modern network infrastructures.
● Description: This layer deals with the physical medium and transmission of raw
binary data over the physical network media. It defines how data is physically
transmitted through cables, wireless signals, or other physical means.
● Functions: Encoding, signaling, cabling, and physical connectivity.
● Example: Ethernet cables, fiber optics, wireless signals.
● Description: Responsible for data framing, error detection, and addressing on the
local network. It ensures reliable point-to-point and point-to-multipoint
communication within the same network segment.
● Functions: MAC addressing, error detection, frame forwarding.
● Example: Ethernet frames, MAC addresses. (Ethernet frames are the
fundamental units of data that are transmitted over Ethernet networks. They
contain the data to be sent along with control and addressing information
necessary for proper transmission.)
● Description: The topmost layer that interacts directly with end-user applications.
It provides a user interface and network services like email, file transfer, and
remote access.
● Functions: Application support, user interface.
● Example: Web browsers, email clients, FTP.
●
● Network administrators and engineers can use the OSI model to diagnose and
resolve network problems. By isolating issues to specific layers, they can pinpoint
the source of problems and apply appropriate solutions.
4. Interoperability:
Understanding network devices is crucial for building and maintaining efficient and
secure computer networks. These devices perform various functions to enable data
communication and connectivity. Below are some key network devices and their roles:
1. Network Switch:
● Role: A network switch operates at the data link layer (Layer 2) of the OSI model.
It's used to connect devices within a local area network (LAN) and efficiently
forward data frames to their destination based on MAC addresses.
● Key Functions:
● MAC address table for frame forwarding.
● Broadcast domain separation.
● Enhanced local network performance.
2. Router:
● Role: Routers operate at the network layer (Layer 3) and connect multiple
networks. They make forwarding decisions based on IP addresses and help route
data between different networks.
● Key Functions:
● IP routing.
● Network segmentation.
● NAT and DHCP services.
3. Firewall:
● Role: Firewalls protect a network from unauthorized access and potential threats.
They operate at various OSI layers (usually Layer 3 and above) to filter and
control incoming and outgoing traffic.
● Key Functions:
● Packet filtering: Packet filtering is a network security technique that examines
incoming and outgoing data packets based on predefined criteria, such as source or
destination IP addresses and ports. It allows or blocks packets based on these rules,
helping to control network traffic, prevent unauthorized access, and enhance security
● Stateful inspection:Stateful inspection, also known as dynamic packet
filtering, is a firewall technology that tracks the state of active connections
to intelligently allow or deny network traffic. It maintains a state table,
analyzing the context of each packet and ensuring that incoming packets
match an established connection's state for improved security
● Role: Access points are used for wireless networks. They operate at Layer 2 to
connect wireless devices to a wired network, allowing wireless communication.
● Key Functions:
● Wireless signal broadcasting: Wireless signal broadcasting refers to the
transmission of data and information over the air using radio frequency
signals.
● Authentication and encryption.
● Roaming support: Roaming support is a feature in wireless networks that
allows a mobile device to maintain connectivity as it moves between
different access points or cell towers. It enables seamless handover from
one network location to another
●
5. Modem:
● Role: Modems modulate and demodulate digital data into analog signals for
transmission over telephone lines or cable systems. They typically operate at the
physical layer.
● Key Functions:
● Data conversion: the process of converting digital data from a computer
or network into analog signals for transmission over analog
communication channels, such as telephone lines.
● Connection to the internet.
6. Hub/L1 switch:
● Role: Hubs operate at Layer 1 and are used to connect multiple devices in a LAN.
Unlike switches, they don't make intelligent decisions and simply broadcast data
to all connected devices.
● Key Functions:
● Signal broadcasting: broadcasts any signal to all the end hosts connected
this is a very dumb way to function.
● Shared bandwidth: imagine a hub as a single piece of wire which connects
all the hosts, now since its literally a single piece of wire the bandwidth is
shared by all the hosts
7. Gateway:
Role: Gateways are devices that connect networks using different protocols or
technologies. They operate at various OSI layers to facilitate communication
between different network types.
Key Functions:
○ Protocol translation: Gateways can translate data from one network's
protocol to another. This is particularly useful when networks use different
communication standards or data formats.
○ Interconnecting networks: Gateways connect networks with distinct
topologies or architectures, enabling data to flow between them. For
example, they can link a local area network (LAN) with a wide area
network (WAN) or the internet.
While switches and routers differ in several other ways, a key difference is how they identify end
devices.
- A Layer 2 switch uniquely identifies a device by its MAC address. Now we even have L3
switch that can perform routing by IP
- A Layer 3 router uniquely identifies a device by a network-assigned IP address.
L1 Switch (Layer 1 Switch):
- Also known as a "dumb switch" or a "hub."
- Operates at the physical layer (Layer 1) of the OSI model.
- Primarily used for connecting devices within the same physical
network segment.
- It doesn't have the intelligence to understand or process the
data it switches.
- Forwards incoming data packets to all devices in the network,
leading to inefficient network usage.
● Definition: TCP/IP is the fundamental suite of protocols that powers the Internet.
It consists of several protocols, including TCP for reliable data delivery and IP for
routing and addressing.
● Significance: TCP/IP is the basis for all modern networking, making it a global
standard for communication between devices and networks.
● Definition: HTTP is used for transferring data on the World Wide Web, while
HTTPS adds a layer of security through encryption.
● Significance: These protocols enable web browsers and web servers to
communicate, making them essential for web browsing and online transactions.
● Definition: SMTP is a protocol for sending email messages and is used by email
clients and servers to exchange emails.
● Significance: SMTP enables the global email communication system.
● Definition: FTP is a standard network protocol used to transfer files from one
host to another over a TCP-based network, typically the internet.
● Significance: FTP allows users to upload and download files from remote
servers.
6. IEEE (Institute of Electrical and Electronics Engineers) 802.11 (Wi-Fi):
● Definition: The IEEE 802.11 standards govern wireless local area networks
(WLAN) (Wi-Fi), including specifications for wireless communication and
encryption.
● Significance: These standards enable wireless connectivity in homes,
businesses, and public spaces.
● Definition: IPv4 and IPv6 are IP addressing protocols that define how devices are
identified on the internet.
● Significance: IPv4 is widely used but running out of addresses, while IPv6
provides a much larger address space to accommodate future internet growth.
● Definition: These are updated versions of the HTTP protocol designed to improve
website loading speed and performance.
● Significance: They enhance the efficiency of web browsing and user experiences.
Definition: Ethernet is a widely used LAN protocol that defines how data packets
should be placed on a network medium.
Significance: It forms the backbone of local area networks and provides reliable
data transmission.
TCP/IP Protocol Suite:
TCP/IP Overview:
○ The TCP/IP Protocol Suite is the basis for internet communication.
○ It consists of two primary protocols: Transmission Control Protocol (TCP)
and Internet Protocol (IP).
○ TCP ensures reliable, connection-oriented data transmission, while IP is
responsible for addressing and routing data packets across networks.
IP Addressing:
○ Devices on TCP/IP networks are identified by unique IP addresses.
○ IPv4, with its 32-bit / 4-byte address structure, has been widely used for
decades.
○ IPv6, featuring 128-bit / 16-byte addresses, was introduced to meet the
growing demand for internet-connected devices.
Packet Switching:
○ TCP/IP networks use packet switching, breaking data into packets for
efficient transmission.
○ Each packet contains source and destination IP addresses, enabling
routers to forward packets across networks.
○ Packet switching allows for robust, decentralized, and fault-tolerant
communication.
TCP and UDP:
○ Transmission Control Protocol (TCP) ensures reliable data transmission
by establishing connections, error-checking, and flow control.
○ User Datagram Protocol (UDP) provides a connectionless, lightweight
alternative ideal for real-time applications.