The first step to test basic connectivity on a server is to use the ping command.

ping [insert hostname or ip]

ping sends a simple ICMP packet to the system you name until you stop with a Control+C key combo. The number of tests can be limited with a -c(#) option.

Example: ping -c 5 hostname

The next step is to use the traceroute command, which sends a series of 3 test packets to each computer, between your system and a specified target system. Like so:

traceroute -n 10.1.0.4

If you are able to receive a connection from the system you're testing, it's good to go. If not, preform your standard troublshooting protocols.