Connecting and troubleshooting networks