From Fedora Project Wiki

Description

The simplest possible network test case.


How to test

  1. Configure the network interfaces on the system
    • NOTE: Complete directions for this step are outside the scope of this document. But here is a simple method:
      1. Connect the machine to a wired network with a DHCP server
      2. Install NetworkManager
      3. Reboot
  2. Attempt to contact a host elsewhere on the network/internet. Examples:
    • Ping your gateway: ping -c3 $(ip route show | awk '/^default via / {print $3}')
    • Ping a known host: ping -c3 redhat.com
    • yum upgrade
    • Run firefox and browse any web page
    • etc.

Expected Results

Results depend on the method used.

  • Ping: expect responses that look like this:
PING 10.11.231.254 (10.11.231.254) 56(84) bytes of data.
64 bytes from 10.11.231.254: icmp_seq=1 ttl=255 time=0.328 ms
64 bytes from 10.11.231.254: icmp_seq=2 ttl=255 time=0.373 ms
64 bytes from 10.11.231.254: icmp_seq=3 ttl=255 time=0.347 ms

--- 10.11.231.254 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.328/0.349/0.373/0.023 ms
  • firefox: Expect the given website to appear
  • etc.