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.

11.3 Configuring a network

In this section you will configure and test a simple network using Packet Tracer Anywhere.

First watch the video below, which is about 5 minutes long. This video reminds you of the need for IP addresses and demonstrates how to configure a simple network using Packet Tracer Anywhere.

Configuring a network

Download this video clip.Video player: 65_configuring_a_network.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 4 Sort it out

15 minutes

1. Open PT Anywhere [Tip: hold Ctrl and click a link to open it in a new tab. (Hide tip)] in a new tab or window so you can read these instructions.

In this scenario, two networks – each comprising a switch and two PCs – are joined by a router. PC0, PC1 and the router interface G0/0 are already configured. A ‘spare’ PC is provided at the bottom for use in step 6 of this activity.

2. Configure PC2, PC3 and the router interface G0/1 with the following:

DeviceIP addressSubnet mask
PC2192.168.2.2255.255.255.0
PC3192.168.2.10255.255.255.0
Router G0/1192.168.2.1255.255.255.0

(Hint: don’t forget to configure the default gateway on each PC.)

3. Can you ping PC0 from PC3? (Hint: you will need to find out the IP address of PC0.)

4. Check the configuration of PC0. Is the default gateway configured? Is it correct? (Hint: check the IP address of the network’s router interface.)

5. Can you ping PC0 from PC3 now?

6. Add another PC to the network 192.168.2.0 and configure it with the IP address 192.168.2.15/255.255.255.0. For this step of the activity, use the ‘spare’ PC provided at the bottom.

7. Can you ping each of the other four PCs from this PC?

Answer

In step 3 the ping from PC0 to PC3 would have failed. When you checked the configuration of PC0 you should have discovered that its default gateway was incorrectly set to 192.168.1.0. PC0 is connected via a switch to router interface G0/0 which has an IP address of 192.168.1.1 so PC0 was unable to send a reply to the ping. Once you corrected PC0’s default gateway to 192.168.1.1, the ping should have been successful. When you added the additional PC you should have set its default gateway to 192.168.2.1 to match the IP address of router interface G0/1. You should have found that you could then ping each of the other PCs with the exception of PC1, which also has an incorrect default gateway set.