Linux Assignment– 8
Networking
Basic Questions
- Check your IP address using ‘ip a’.
- Display network interfaces using ‘ifconfig’.
- Check connectivity to a website using ‘ping’.
- Trace route to a server using ‘traceroute’.
- Display DNS information using ‘nslookup’.
- Check open ports using ‘netstat’.
- Display routing table using ‘route’.
- Check hostname using ‘hostname’.
- Display active connections using ‘ss’.
- Check MAC address of your system.
- Check default gateway.
- Display network statistics using ‘ip -s’.
- Check firewall status using ‘ufw status’.
- Enable or disable network interface.
- Check system’s public IP using ‘curl’.
- Check network speed using ‘speedtest-cli’.
- Display ARP table using ‘arp’.
- Check DNS resolution using ‘dig’.
- Check internet connectivity using ‘wget’.
- Display interface details using ‘ethtool’.
Intermediate Questions
- Configure a static IP address.
- Change hostname of the system.
- Add a new route to the routing table.
- Flush DNS cache.
- Monitor network traffic using ‘iftop’.
- Capture packets using ‘tcpdump’.
- Analyze packets using ‘wireshark’.
- Check port status using ‘nmap’.
- Test bandwidth using ‘iperf’.
- Configure network interface using ‘nmcli’.
- Restart network service.
- Check wireless network details.
- Connect to a Wi-Fi network using command line.
- Set up a simple HTTP server using ‘python3 -m http.server’.
- Download a file using ‘curl’.
- Upload a file using ‘scp’.
- Check latency to a server.
- Check packet loss using ‘mtr’.
- Configure DNS server manually.
- Check VPN connection status.
Advanced Questions
- Set up port forwarding using iptables.
- Create a firewall rule using ufw.
- Monitor network usage per process.
- Automate network monitoring with a script.
- Configure a network bridge.
- Set up a proxy server.
- Configure VLAN on a network interface.
- Set up SSH tunneling.
- Monitor remote server network stats via SSH.
- Create a script to log network activity hourly.