1 00:00:00,06 --> 00:00:04,03 - Now, let's test if our Ubuntu router host 2 00:00:04,03 --> 00:00:07,00 is forwarding the packets properly. 3 00:00:07,00 --> 00:00:10,02 I'm back to our Ubuntu host. 4 00:00:10,02 --> 00:00:13,05 Type nslookup, 5 00:00:13,05 --> 00:00:16,06 space and a well-known domain name 6 00:00:16,06 --> 00:00:18,06 such as 7 00:00:18,06 --> 00:00:25,00 worldwideweb.microsoft.com. 8 00:00:25,00 --> 00:00:26,08 Press enter. 9 00:00:26,08 --> 00:00:29,05 Issuing an nslookup command 10 00:00:29,05 --> 00:00:31,05 and getting a response like this 11 00:00:31,05 --> 00:00:34,07 means that you have the internet connection. 12 00:00:34,07 --> 00:00:37,06 Another surefire way to check 13 00:00:37,06 --> 00:00:39,06 is through pinging 14 00:00:39,06 --> 00:00:42,01 the network interfaces. 15 00:00:42,01 --> 00:00:46,03 The ultimate test is to ping the external network interface 16 00:00:46,03 --> 00:00:48,02 of the Ubuntu router host, 17 00:00:48,02 --> 00:00:52,05 whose IP is 10.0.0.6 18 00:00:52,05 --> 00:00:55,02 from the Ubuntu host network interface, 19 00:00:55,02 --> 00:00:59,07 whose IP is 10.0.1.4. 20 00:00:59,07 --> 00:01:01,08 Type ping, 21 00:01:01,08 --> 00:01:08,04 10.0.0.6. 22 00:01:08,04 --> 00:01:11,06 Press enter. 23 00:01:11,06 --> 00:01:13,04 The ping command works, 24 00:01:13,04 --> 00:01:16,03 which means that the Ubuntu router host 25 00:01:16,03 --> 00:01:19,02 is forwarding the packets properly. 26 00:01:19,02 --> 00:01:21,00 Congratulations.