Skip to main content

About this free course

Download this course

Share this free course

Discovering computer networks: hands on in the Open Networking Lab
Discovering computer networks: hands on in the Open Networking Lab

Start this free course now. Just create an account and sign in. Enrol and complete the course for a free statement of participation or digital badge if available.

4.1 Revision of IP addresses

In the last session you looked at how switches deliver data across a local area network. In this session you will look at routing. Routers operate at the Internet layer of the TCP/IP model and use IP addresses to deliver data across networks. Whereas switches worked with data frames, at the Internet layer data units become packets.

Now watch the following video, which is about 2 minutes long.

Revision of IP addresses

Download this video clip.Video player: 21_revision_of_ip_addresses.mp4
Copy this transcript to the clipboard
Print this transcript
Show transcript|Hide transcript
 
Interactive feature not available in single page view (see it in standard view).

Activity 1 Think about

5 minutes

Identify the network and host portions of the following IP addresses. The first has been done for you.

IP addressSubnet maskNetwork addressHost ID
192.168.1.105255.255.255.0192.168.1.0105
192.168.10.6255.255.255.0  
172.16.32.25255.255.0.0  
10.80.1.10255.0.0.0  

Answer

IP addressSubnet maskNetwork addressHost ID
192.168.1.105255.255.255.0192.168.1.0105
192.168.10.6255.255.255.0192.168.10.06
172.16.32.25255.255.0.0172.16.0.032.25
10.80.1.10255.0.0.010.0.0.080.1.10

It can also be useful to determine whether two devices are on the same local network or on different networks. Two devices on the same local network will have the same network address.

Activity 2 Test yourself

5 minutes

In which of the following are the source and destination devices on the same local network, and which are on different networks? The first has been done for you.

Source: IP address and subnet maskDestination: IP address and subnet maskSame local network or different networks?

192.168.1.105

255.255.255.0

192.168.1.250

255.255.255.0

Same: both have network address 192.168.1.0

192.168.10.6

255.255.255.0

192.168.10.252

255.255.255.0

 

192.16.32.25

255.255.0.0

192.168.31.32

255.255.255.0

 

10.80.1.10

255.255.0.0

10.80.2.26

255.255.0.0

 

Answer

Source: IP address and subnet maskDestination: IP address and subnet maskSame local network or different networks?

192.168.1.10

255.255.255.0

192.168.1.250

255.255.255.0

Same: both have network address 192.168.1.0

192.168.10.6

255.255.255.0

192.168.10.252

255.255.255.0

Same: both have network address 192.168.10.0

192.16.32.25

255.255.0.0

192.168.31.32

255.255.255.0

Different: source has network address 192.16.0.0 but destination has 192.168.31.0

10.80.1.10

255.255.0.0

10.80.2.26

255.255.0.0

Same: both have network address 10.80.0.0