From the course: Protecting Your Network with Open Source Software
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Testing the router
From the course: Protecting Your Network with Open Source Software
Testing the router
- Now, let's test if our Ubuntu router host is forwarding the packets properly. I'm back to our Ubuntu host. Type nslookup, space and a well-known domain name such as worldwideweb.microsoft.com. Press enter. Issuing an nslookup command and getting a response like this means that you have the internet connection. Another surefire way to check is through pinging the network interfaces. The ultimate test is to ping the external network interface of the Ubuntu router host, whose IP is 10.0.0.6 from the Ubuntu host network interface, whose IP is 10.0.1.4. Type ping, 10.0.0.6. Press enter. The ping command works, which means that the Ubuntu router host is forwarding the packets properly. Congratulations.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Netfilter and iptables3m
-
Setting up a host firewall using iptables5m 24s
-
(Locked)
Automating Netfilter configuration5m 17s
-
(Locked)
Understanding hosts as routers2m 30s
-
(Locked)
Adding a network adapter3m 49s
-
(Locked)
Testing the second adapter2m 20s
-
(Locked)
Setting up IP forwarding3m 55s
-
(Locked)
Changing Netfilter settings6m 37s
-
(Locked)
Testing the router1m 21s
-
(Locked)
-
-
-
-
-