Cisco Lab 6 2 7 With Answers Cisco Lab 627 with Answers Configuring VLANs and InterVLAN Routing This document provides a comprehensive guide to Cisco Lab 627 focusing on the configuration of VLANs and interVLAN routing The lab utilizes a simulated network environment to demonstrate the practical application of these essential networking concepts Lab Objectives Understand and configure VLANs Learn how to segment a network into logical groups for improved security and performance Configure a router for interVLAN routing Understand the role of a router in connecting different VLANs and enabling communication between them Implement a basic network design with VLANs and interVLAN routing Gain handson experience with a practical network design that utilizes VLANs and interVLAN routing Lab Environment The lab uses a simulated network consisting of the following devices Two Cisco routers R1 and R2 These routers act as the core of the network connecting different VLANs and enabling interVLAN communication Three switches S1 S2 and S3 These switches connect various network devices to the VLANs Multiple workstations PC1 PC2 PC3 PC4 These represent the end devices connected to the network Lab Setup 1 Network Topology R1 connects to S1 and S2 creating a path for interVLAN communication S1 connects PC1 and PC2 to VLAN 10 S2 connects PC3 and PC4 to VLAN 20 S3 connects to R2 allowing communication between R1 and R2 2 Device Configuration Configure VLANs on the switches S1 and S2 2 Assign ports on the switches to the corresponding VLANs Configure the router R1 as a router for interVLAN communication Configure static routes on the router to allow communication between VLANs Lab Instructions 1 VLAN Configuration Access the configuration mode of each switch S1 and S2 Create VLANs 10 and 20 on each switch Assign the appropriate ports to each VLAN S1 Ports connected to PC1 and PC2 should be in VLAN 10 S2 Ports connected to PC3 and PC4 should be in VLAN 20 Verify VLAN configurations by using the show vlan command 2 Router Configuration Access the configuration mode of the router R1 Configure an interface for each VLAN VLAN 10 and VLAN 20 on the router Assign IP addresses to each VLAN interface Configure static routes on the router to enable communication between the VLANs For example configure a route from VLAN 10 to VLAN 20 and vice versa 3 Verification Use the ping command to test communication between workstations in different VLANs Verify routing tables on the router using the show ip route command Lab Answers S1 Configuration switch configure terminal switchconfig vlan 10 switchconfigvlan name VLAN10 switchconfigvlan exit switchconfig vlan 20 switchconfigvlan name VLAN20 switchconfigvlan exit switchconfig interface GigabitEthernet01 switchconfigif switchport mode access switchconfigif switchport access vlan 10 3 switchconfigif exit switchconfig interface GigabitEthernet02 switchconfigif switchport mode access switchconfigif switchport access vlan 10 switchconfigif exit switchconfig interface GigabitEthernet03 switchconfigif switchport mode trunk switchconfigif exit switchconfig interface GigabitEthernet04 switchconfigif switchport mode trunk switchconfigif exit S2 Configuration switch configure terminal switchconfig vlan 10 switchconfigvlan name VLAN10 switchconfigvlan exit switchconfig vlan 20 switchconfigvlan name VLAN20 switchconfigvlan exit switchconfig interface GigabitEthernet01 switchconfigif switchport mode access switchconfigif switchport access vlan 20 switchconfigif exit switchconfig interface GigabitEthernet02 switchconfigif switchport mode access switchconfigif switchport access vlan 20 switchconfigif exit switchconfig interface GigabitEthernet03 switchconfigif switchport mode trunk switchconfigif exit switchconfig interface GigabitEthernet04 switchconfigif switchport mode trunk switchconfigif exit 4 R1 Configuration router configure terminal routerconfig interface GigabitEthernet00 routerconfigif ip address 192168101 2552552550 routerconfigif no shutdown routerconfig interface GigabitEthernet01 routerconfigif ip address 192168201 2552552550 routerconfigif no shutdown routerconfig interface Vlan10 routerconfigif ip address 1010101 2552552550 routerconfigif no shutdown routerconfig interface Vlan20 routerconfigif ip address 1010201 2552552550 routerconfigif no shutdown routerconfig ip route 1010200 2552552550 192168201 routerconfig ip route 1010100 2552552550 192168101 Note These are just sample configurations You may need to adjust the IP addresses and network settings according to your specific lab environment Lab Conclusion By completing this lab you will have gained practical experience in configuring VLANs and interVLAN routing You will have learned how to segment a network into logical groups for improved security and performance and how to use a router to connect different VLANs and enable communication between them This knowledge is crucial for building secure and efficient network environments