Ghamura

Networking essentialsLesson 1 of 8

Addresses and networks

Find a machine's IP address, tell which addresses share its network, and test whether a machine answers.

0 of 6 tasks · about 12 min

  1. Step 1

    Your address

    Every machine on a network has an IP address: four numbers from 0 to 255, separated by dots, like 192.0.2.14. Other machines use it to reach this one, the way a letter uses a street address.

    Ask Linux for this machine's addresses:

    ip addr
    

    You get one block per network interface (a connection to a network). lo is the loopback: 127.0.0.1 always means "this machine itself", on every computer. The real connection is eth0. Its address is on the line starting with inet.

    What is lab's IP address on eth0?

5 more steps after this one

What is lab's IP address on eth0?
Practice lab for "Addresses and networks". Type commands here and press Enter. Run help to list them.