Linux Assignment– 8

Networking

Basic Questions

  1. Check your IP address using ‘ip a’.
  2. Display network interfaces using ‘ifconfig’.
  3. Check connectivity to a website using ‘ping’.
  4. Trace route to a server using ‘traceroute’.
  5. Display DNS information using ‘nslookup’.
  6. Check open ports using ‘netstat’.
  7. Display routing table using ‘route’.
  8. Check hostname using ‘hostname’.
  9. Display active connections using ‘ss’.
  10. Check MAC address of your system.
  11. Check default gateway.
  12. Display network statistics using ‘ip -s’.
  13. Check firewall status using ‘ufw status’.
  14. Enable or disable network interface.
  15. Check system’s public IP using ‘curl’.
  16. Check network speed using ‘speedtest-cli’.
  17. Display ARP table using ‘arp’.
  18. Check DNS resolution using ‘dig’.
  19. Check internet connectivity using ‘wget’.
  20. Display interface details using ‘ethtool’.

Intermediate Questions

  1. Configure a static IP address.
  2. Change hostname of the system.
  3. Add a new route to the routing table.
  4. Flush DNS cache.
  5. Monitor network traffic using ‘iftop’.
  6. Capture packets using ‘tcpdump’.
  7. Analyze packets using ‘wireshark’.
  8. Check port status using ‘nmap’.
  9. Test bandwidth using ‘iperf’.
  10. Configure network interface using ‘nmcli’.
  11. Restart network service.
  12. Check wireless network details.
  13. Connect to a Wi-Fi network using command line.
  14. Set up a simple HTTP server using ‘python3 -m http.server’.
  15. Download a file using ‘curl’.
  16. Upload a file using ‘scp’.
  17. Check latency to a server.
  18. Check packet loss using ‘mtr’.
  19. Configure DNS server manually.
  20. Check VPN connection status.

Advanced Questions

  1. Set up port forwarding using iptables.
  2. Create a firewall rule using ufw.
  3. Monitor network usage per process.
  4. Automate network monitoring with a script.
  5. Configure a network bridge.
  6. Set up a proxy server.
  7. Configure VLAN on a network interface.
  8. Set up SSH tunneling.
  9. Monitor remote server network stats via SSH.
  10. Create a script to log network activity hourly.