Networking Commands
Networking Commands
• Hub: Used for basic connectivity in small or old networks, though it's
inefficient. It's now largely obsolete in favor of switches.
• Switch: Central to modern networking, providing efficient and reliable
communication between devices within a local network.
• Router: Critical for inter-network communication, such as connecting
a local network to the Internet and managing traffic between
different IP networks.
• IP Addressing
• IP Addressing refers to the system of assigning unique numerical
addresses to every device connected to a network (like your
computer, smartphone, or a printer).
• An IP address acts like a "home address" for a device on a network.
Just like a letter is sent to a specific home address, data is sent to a
device using its IP address.
• Example: When you visit a website, your device sends a request to the web
server using its IP address. The server then responds by sending the data
back to your device’s IP address.
• Why is it Important?
• IP addresses allow devices to find and communicate with each other
on the network, ensuring that data gets sent to the correct place.
• 2. Firewalling
• A firewall is a security feature that acts like a barrier between your
local network (like your home or office network) and the outside
world (like the internet). It controls the flow of data, allowing or
blocking it based on security rules.
• Think of a firewall as a security guard: It checks the data (like a
security guard checking bags at the entrance) to decide whether it’s
safe to let it pass or whether it should be blocked.
• How It Works:
• The firewall monitors incoming and outgoing traffic and makes
decisions based on certain rules (like only allowing traffic from trusted
sources).
• Example: If you are browsing the web, the firewall might block any
unauthorized access attempts or malicious data from coming into your
network (e.g., hackers trying to break into your computer).
• Why is it Important?
• A firewall helps protect your network and devices from threats like
hackers, viruses, and unwanted connections.
• 3. NAT (Network Address Translation)
• NAT (Network Address Translation) is a technique used by routers to hide the
private IP addresses of devices in your local network when they communicate
with the internet. It translates between private IP addresses (used within your
home or company network) and public IP addresses (used on the internet).
• Think of NAT as a receptionist: Inside an office (your local network), everyone
has a unique office number (private IP address). But, when they call someone
outside the office (internet), the receptionist (router) makes the call using the
company’s main phone number (public IP address). The receptionist keeps track
of which internal office number made which call, so when the outside person
replies, the receptionist can forward the response to the correct person inside.
• How It Works:
• Private IP Address: This is the address used by devices inside your
local network (e.g., 192.168.x.x). It’s not directly visible on the
internet.
• Public IP Address: This is the address that the outside world (e.g.,
websites) sees. It’s used by the router to communicate with the
internet.
• When your device communicates with the internet, the router:
1.Changes the private IP address to the public IP address.
2.Keeps a record so that when the server responds, the router knows
which internal device to send the data back to.
• Why is it Important?
• Conservation of IP addresses: There are limited public IP addresses,
so NAT allows many devices to share a single public IP address (by
assigning each device a unique private address).
• Security: NAT hides the internal network’s structure from the outside
world, which adds an extra layer of security because external devices
cannot directly access your private devices.
• Summary of Key Points:
• IP Addressing: Assigns unique addresses to devices so they can
communicate over the network.
• Firewalling: Protects your network by controlling which data is
allowed in and out, acting like a security guard.
• NAT (Network Address Translation): Hides private IP addresses within
your network and uses a single public IP address for communication
with the internet, improving security and saving IP addresses.
Topology
• Star
• Bus
• Ring
• Mesh
• Ring
• Hybrid
• Install cisco packet tracer.
Star topology with switch
Star topology with HUB