Beruflich Dokumente
Kultur Dokumente
Addressing Table
Device/Interface IP Address Subnet Mask Default Gateway
Router - fa0/0.10 192.168.10.254 255.255.255.0 N/A
Router - fa0/0.20 192.168.20.254 255.255.255.0 N/A
Router - fa0/0.30 192.168.30.254 255.255.255.0 N/A
Router - fa0/0.40 192.168.40.254 255.255.255.0 N/A
PC0 192.168.10.1 255.255.255.0 192.168.10.254
PC1 192.168.20.1 255.255.255.0 192.168.20.254
PC2 192.168.30.1 255.255.255.0 192.168.30.254
PC3 192.168.10.2 255.255.255.0 192.168.10.254
PC4 192.168.20.2 255.255.255.0 192.168.20.254
PC5 192.168.30.2 255.255.255.0 192.168.30.254
Laptop 192.168.40.1 255.255.255.0 192.168.40.254
Server 192.168.40.2 255.255.255.0 192.168.40.254
Page 1 of 6
VLAN Table 1
Device Interface Interface mode
All Switches fa0/1 to fa0/4 VLAN Trunk
S1 and S2 fa0/5 to fa0/10 VLAN 10
S1 and S2 fa0/11 to fa0/15 VLAN 10
S1 and S2 fa0/16 to fa0/20 VLAN 30
S3 and S4 fa0/5 to fa0/20 VLAN 40
VLAN Table 2
VLAN ID Name
VLAN 10 Engineering
VLAN 20 Marketing
VLAN 30 Production
VLAN 40 Finance
Examine the topology above and the tables shown. Use the information to configure VTP and Inter-VLAN
routing in the steps below
Page 2 of 6
Note: the interface status will change to down then back to up once the interface of the connecting
switch is configured to trunking mode as well. The native VLAN should appear as one of the
VLANs on the trunk and the VLAN ID should be VLAN 1
ii. On S2, S3 and S4 show vtp status and check for whether the following has changed:
• Number of VLANS configured and
• The configuration revision number
• Note it down
iii. On VTP server (S1):
• Assign VLAN 10 to the interfaces fa0/5 to fa0/10
• Assign VLAN 20 to the interfaces fa0/11 to fa0/15
• Assign VLAN 30 to the interfaces fa0/16 to fa0/20
• Shut down all the remaining ports since they will be unused. (Ensure that you do not shut
down ports fa0/1-fa0/4 since they are for trunking)
Page 3 of 6
Note:
• On S1 and S4 (you should have the same configuration revision number and the same
number of VLANs configured)
• On S2 and S3 (vtp transparent switches) the status information should remain as it was
since VLANs information shared will not be processed by this switch
Note:
• All nodes in the same VLAN should have a successful ping
• All nodes in different VLANs need inter-vlan routing to communicate
Page 4 of 6
Step 10: On the router configure inter-vlan routing (you may need to refer to the last lab for the router
commands. Remember to modify the commands where necessary for them to have them fit into this scenario)
i. Configure a sub-interface for VLAN 10
On the router’s fa0/0
• Configure a sub-interface for VLAN 10
• Enable the dot1q encapsulation on the sub-interface configured above
• Assign the required IP address and mask on the sub sub-interface (refer to the corrected
addressing table on page 1)
ii. Configure a sub-interface for VLAN 20
On the router’s fa0/0
• Configure a sub-interface for VLAN 20
• Enable the dot1q encapsulation on the sub-interface configured above
• Assign the required IP address and mask on the sub sub-interface (refer to the corrected
addressing table on page 1)
iii. Configure a sub-interface for VLAN 30
On the router’s fa0/0
• Configure a sub-interface for VLAN 30
• Enable the dot1q encapsulation on the sub-interface configured above
• Assign the required IP address and mask on the sub sub-interface (refer to the corrected
addressing table on page 1)
iv. Configure a sub-interface for VLAN 40
On the router’s fa0/0
• Configure a sub-interface for VLAN 40
• Enable the dot1q encapsulation on the sub-interface configured above
• Assign the required IP address and mask on the sub sub-interface (refer to the corrected
addressing table on page 1)
v. Activate the sub-interfaces by switching on the physical interface. Here are the steps:
• Exit from the last sub-interface in (iv) above
• Go to interface fa0/0
• Add the no shut down command to this interface (the router port should turn green)
Page 5 of 6
xii. From PC2 to PC5. Does the ping work?
xiii. From PC3 to PC4. Does the ping work?
xiv. From PC3 to PC5. Does the ping work?
xv. From PC4 to PC5. Does the ping work?
xvi. From any PC to laptop. Does the ping work?
xvii. From any PC to server. Does the ping work?
Note:
• All nodes in vlans 10, 20 and 30 should be able to ping each other and their default
gateways (i.e. router sub-interfaces) but cannot ping the nodes in VLAN 40
• All nodes on VLAN 40 can ping each other but cannot ping any other nodes including their
default gateway
Page 6 of 6