NETWORK COMMANDS (1)
NETWORK COMMANDS (1)
1. ifconfig:
Description: Displays information about network interfaces,
including IP addresses, MAC addresses, and network
configuration.
Example: ifconfig
2. ping:
Description: Tests network connectivity by sending ICMP echo
requests to a specified host and waiting for replies.
Example: ping google.com
3. traceroute:
Description: Traces the route packets take to reach a
destination, showing the IP addresses of intermediate routers.
Example: traceroute google.com
4. netstat:
Description: Displays network statistics, including open ports,
active connections, and routing tables.
Example: netstat -tuln
5. ip:
Description: A versatile command for configuring and querying
network interfaces, routes, and policy routing.
Example: ip addr show
6. route:
Description: Displays and manipulates the IP routing table,
including adding or deleting routes.
Example: route -n
7. dig:
Description: A versatile DNS lookup utility for querying DNS
servers to retrieve DNS records.
Example: dig google.com
8. host:
Description: Performs DNS lookups similar to dig but with a
simpler output format.
Example: host google.com
9. nmcli:
Description: Command-line interface for NetworkManager,
allowing users to manage network connections.
Example: nmcli connection show
10. ss:
Description: A utility to investigate sockets, displaying
information about active sockets.
Example: ss -tunapl
***************************************************************************
***
ASSIGNMENT: NETWORKING
FUNDAMENTALS IN LINUX
Objective: The objective of this assignment is to familiarize students with
essential networking tasks in Linux, including TCP/IP fundamentals, Linux
server roles, network connectivity, configuration of DHCP and DNS client
services, utilization of cloud and virtualization technologies, and
troubleshooting networking issues.
Tasks:
Task 1: TCP/IP Fundamentals
Research and provide a brief explanation of the OSI model and its
layers.
Explain the role of TCP/IP in networking and its relationship with the
OSI model.
Describe the difference between IPv4 and IPv6 addressing schemes.
Discuss the significance of subnetting and CIDR notation in IP
addressing.
Task 2: Linux Server Roles
Identify and describe three common server roles in Linux (e.g., web
server, file server, mail server).
Choose one server role and provide step-by-step instructions on how
to install and configure the corresponding server application on a
Linux system.
Task 3: Network Connectivity
Demonstrate how to configure a wired network connection using the
command-line tool nmcli.
Explain the process of connecting to a wireless network using
NetworkManager.
Provide screenshots or terminal outputs to illustrate the successful
establishment of network connectivity.
Task 4: DHCP and DNS Client Services Configuration (At least
learn the commands if you are not able to perform)
Configure a Linux system to obtain IP configuration automatically
from a DHCP server.
Set up DNS client services to resolve domain names using a
specified DNS server.
Verify the functionality of both DHCP and DNS client services by
performing relevant tests.
Task 5: Cloud and Virtualization Technologies
Install and configure a virtualization software (e.g., VirtualBox,
VMware) on your Linux system.
Create a virtual machine with a Linux guest operating system.
Establish network connectivity between the host and guest
operating systems and verify communication.
Task 6: Troubleshooting Networking Issues
Identify a simulated networking issue (e.g., inability to ping external
hosts, DNS resolution failure).
Utilize appropriate networking tools and commands to diagnose the
issue.
Provide a detailed troubleshooting process and the steps taken to
resolve the problem.