Two machines with the same network part are on the same network: they talk to each other directly, over the same cable or switch.
A machine on another network is reached through a router: a machine set up to pass packets from one network to another (Chapter 3).
ops decides with its own address and prefix: is the destination inside my network?
ops has a card on each of two networks:
text
learner@ops:~$ ip addr
…
inet 10.0.0.5/24 brd 10.0.0.255 scope global eth0
…
inet 192.168.50.5/24 scope global eth1
…| Address | Network part | From ops |
|---|---|---|
10.0.0.77 | 10.0.0 | directly, on eth0 |
192.168.50.9 | 192.168.50 | directly, on eth1 |
10.0.1.5 | 10.0.1 | through a router: 10.0.1 isn't 10.0.0 |
Compare every number of the network part: 10.0.1 and 10.0.0 differ in the third.
Objectives
- Which address is on the office network?
- Which of
ops's interfaces shares a network with the scanner?