I am having difficulties with the following:
- Using the same format that you did in Part 4 of the Guided Exercise, configure Linux-2 as follows:
eth0: 172.16.17.100/24 (use the Router as the gateway);
when I configure Linux-2 and use 192.168.1.100 (Router) as the gateway, the gateway does not appear on my Kernel IP routing table for Linux-2.
- Configure Linux-1 to use DHCP.
I can’t seem to configure Linux-1 to use DHCP even though I followed the DHCP steps from the Guided Exercise.
Please can anyone help?
Remember that the Router has 2 IP addresses: 192.168.1.100 AND 172.16.17.1.
Before Linux-2 can reach any other network it has to reach its local router on the local router interface (172.16.17.1).
As to DHCP, can you show a screen shot of the Linux-1 network configuration? A common mistake is to forget to remove a comment (#).
I tried it but it is still not working. Attached are some screenshots.
Sorted the DHCP configuration.
I tried it but it is still not working. Attached are some screenshots.
As you can see the Gateway issue persists.
The gateway should be 172.16.17.1.
My Linux-2 pings 172.16.17.1 successfully
Linux-2 does not ping 192.168.1.100 (failed ping)
Linux-2 does not ping the WEB host (failed ping)
I got it sorted now, thanks a lot.
1 Like
Please, how do I change the current directory to the Desktop?
Capitalization matters in Linux
1 Like