This project was the second of two introducing networking. I continued to learn about IP addresses while practicing manipulating them with Bash scripts.
- ifconfig
- telnet
- nc
- cut
-
Localhost
- 0-localhost: Text file that answers the following question:
- What is
localhost
?- A hostname that means this IP
- A hostname that means this computer
- An IP attached to a computer
-
1. All IPs
- 1-wildcard: Text file that answers the following question:
- What is
0.0.0.0
?- All IPv4 addresses on the local machine
- All the IPs
- It means null in networking
-
2. Change your home IP
- 2-change_your_home_IP: Bash script that configures an Ubuntu server as follows:
localhost
resolves to127.0.0.2
facebook.com
resolves to8.8.8.8
-
3. Show attached IPs
- 3-show_attached_IPs: Bash script that displays all active IPv4 IP's on the machine.
-
4. Port listening on localhost
- 4-port_listening_on_localhost: Bash script that
listens on port
98
onlocalhost
.