Automate lab reachability checks with Python Run the same reachability check from a simulated Linux PC whenever your lab changes. Open the PC's Text Editor to create a Python script inside the lab. List the two lab routers and use one ping per address to check for replies. Save the script in the Linux PC's home folder. Run the saved script from the Linux terminal. Both routers reply on the first run. Power off the second lab router and run the same script again. Router one still replies, and router two shows no reply. Read the JSON report to see the latest results from both routers. Power the router back on and run the check again to confirm both replies.