6.4.2 Packet Tracer – Challenge Inter-VLAN Routing Answers

6.4.2 Packet Tracer – Challenge Inter-VLAN Routing Answers


6.4.2 Packet Tracer - Challenge Inter-VLAN Routing Answers 2

Addressing Table

Device Interface IP Address Subnet Mask Default Gateway
S1 VLAN 99
S2 VLAN 99
S3 VLAN 99
R1 Fa0/0 N/A
Fa0/1 See Subinterface Configuration Table N/A
Server NIC

Port Assignments – S2

Ports Assignment Network
Fa0/1-0/5 802.1q Trunks (Native VLAN 99) /24
Fa0/6-0/10 VLAN 30 – Sales /24
Fa0/11 – 0/17 VLAN 10 – R&D /24
Fa0/18 – 0/24 VLAN 20 – Engineering /24

Subinterface Configuration Table – R1

Router Interface Assignment IP Address
F0/0.1 VLAN 1
Fa0/0.10 VLAN 10
Fa0/0.20 VLAN 20
Fa0/0.30 VLAN 30
Fa0/0.99 VLAN 99

Learning Objectives

  • Perform basic switch configurations
  • Configure the Ethernet interfaces on the server and host PCs
  • Configure VTP on the switches
  • Configure the router


In this activity, you will perform basic switch configurations, configure VTP, trunking, configure subinterfaces, and demonstrate inter-VLAN routing.

Task 1: Perform Basic Switch Configurations

Configure the S1, S2, and S3 switches according to the following guidelines and save all your configurations:

  • Configure the switch hostname.
  • Disable DNS lookup.
  • Configure an EXEC mode password of class.
  • Configure a password of cisco for console and vty connections.
  • Configure the default gateway on each switch.

Task 2: Configure the Ethernet Interfaces on the Server and Host PCs

Configure the Ethernet interfaces of PC1, PC2, PC3 and the remote TFTP/Web Server with the IP addresses from the addressing table. Connect these devices using the correct cables and interfaces.

Task 3: Configure VTP on the Switches

Step 1. Configure VTP on the three switches.

Use the following table to configure the switches. Remember that VTP domain names and passwords are case-sensitive.

Switch Name VTP Operating Mode VTP Domain VTP Password
S1 Server Lab6 cisco
S2 Client Lab6 cisco
S3 Client Lab6 cisco

Step 2. Configure trunking ports and designate the native VLAN for the trunks.

Configure Fa0/1 through Fa0/5 as trunking ports, and designate VLAN 99 as the native VLAN for these trunks.

Step 3. Configure VLANs on the VTP server.

Configure the following VLANs on the VTP server.

VLAN 99 Management
VLAN 20 Engineering
VLAN 30 Sales

Verify that the VLANs have been created on S1 with the show vlan brief command.

Step 4. Verify that the VLANs created on S1 have been distributed to S2 and S3.

Use the show vlan brief command on S2 and S3 to verify that the four VLANs have been distributed to the client switches.

Step 5. Configure the Management interface address on all three switches.

Refer to the addressing table and assign IP addressing to the three switches.

Verify that the switches are correctly configured by pinging between them. From S1, ping the Management interface on S2 and S3. From S2, ping the Management interface on S3.

Were the pings successful?

If not, troubleshoot the switch configurations and resolve.

Step 6. Assign switch ports to VLANs on S2.

Refer to the port assignment table to assign ports to VLANs on S2.

Step 7. Check connectivity between VLANs.

Open command windows on the three hosts connected to S2. Ping from PC1 ( to PC2 ( Ping from PC2 to PC3 (

Are the pings successful?

If not, why do these pings fail?

Task 4: Configure the Router

Step 1. Create a basic configuration on the router.

  • Configure the router with hostname R1.
  • Disable DNS lookup.
  • Configure an EXEC mode secret of class.
  • Configure a password of cisco for console connections.
  • Configure a password of cisco for vty connections.

Step 2. Configure the trunking interface on R1.

Configure the Fa0/1 interface on R1 with five subinterfaces, one for each VLAN identified in the Subinterface Configuration Table at the beginning of the activity. Configure these subinterfaces with dot1q encapsulation, and use the first address in each VLAN subnet on the router subinterface. Specify VLAN 99 as the native VLAN on its subinterface. Do not assign an IP address to the physical interface, but be sure to enable it. Document your subinterfaces and their respective IP addresses in the subinterface table.

Step 3. Configure the server LAN interface on R1.

Refer to the addressing table and configure Fa0/0 with the correct IP address and mask. Describe the interface as server interface.

Step 4. Verify the routing configuration.

At this point, there should be six networks configured on R1. Verify that you can route packets to all six by checking the routing table on R1.

If your routing table does not show all six networks, troubleshoot your configuration and resolve the problem before proceeding.

Step 5. Verify inter-VLAN routing

From PC1, verify that you can ping the remote server ( and the other two hosts ( and It may take a couple of pings before the end-to-end path is established.

Are the pings successful?

If not, troubleshoot your configuration. Check to make sure the default gateways have been set on all PCs and all switches. If any of the hosts have gone into hibernation, the connected interface may go down.

At this point, you should be able to ping any node on any of the six networks configured on your LAN, including the switch management interfaces.

Download Packet Tracer (.pka) file:

Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x