Lab Three:
- Connect all PC's to their Switches
- Setup Trunking between SW1 & SW2 on Fa2/11 – 12
- Configure management Vlan (Vlan 1) on SW1 & SW2

Connecting PC's to their Switches
Note: I am simulating PC's on dynamips using Routers. All you need to do is assign them a hostname, disable IP routing and setup a default gateway on each point to their respective switches.
I will show how this is done on PC6SW1 (I have configured the hostnames already).
PC6SW1#
conf t Enter configuration commands, one per line. End with CNTL/Z.
PC6SW1(config)#no ip routing
PC6SW1(config)#no ip domain lookup
PC6SW1(config)#ip default-gateway 172.12.200.11
PC6SW1(config)#int fa2/0
PC6SW1(config-if)#ip address 172.12.200.61 255.255.255.0
PC6SW1(config-if)#no shut
PC6SW1(config-if)#
Configure PC7SW1, PC6SW2 & PC7SW2
Setup Trunking between SW1 & SW2 on Fa2/11 – 12

Dynamips only supports 802.Iq encapsulation. To practice ISL you will need to access real Switches or you can rent racks online.
I will show you how to configure SW1 for Trunking and leave SW2 for you to setup.
SW1>en
SW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#interface range Fa2/11 -12
SW1(config-if-range)#switchport trunk encapsulation dot1q
SW1(config-if-range)#switchport mode trunk
SW1(config-if-range)#
*Mar 1 00:55:31.807: %DTP-5-TRUNKPORTON: Port Fa2/11 has become dot1q trunk
*Mar 1 00:55:32.955: %DTP-5-TRUNKPORTON: Port Fa2/12 has become dot1q trunk
You will notice I used the interface range command to save a bit of time. 

Configure management Vlan (Vlan 1) on SW1 & SW2
All you need to do to configure Vlan 1 on both Switches with an ip address. Vlan 1 is the default management Vlan.
SW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#interface vlan 1
SW1(config-if)#ip address 172.12.200.11 255.255.255.0
SW1(config-if)#no shut
SW2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#interface vlan 1
SW1(config-if)#ip address 172.12.200.22 255.255.255.0
SW1(config-if)#no shut

Verification:
Verifying Trunking:
SW1#sh int trunk
Port Mode Encapsulation Status Native vlan
Fa2/11 on 802.1q trunking 1
Fa2/12 on 802.1q trunking 1
SW2#sh int trunk
Port Mode Encapsulation Status Native vlan
Fa2/11 on 802.1q trunking 1
Fa2/12 on 802.1q trunking 1
We will also see if PC7SW1 can connect to PC6SW2

PC7SW1>
PC7SW1>ping 172.12.200.62
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.12.200.62, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 28/39/48 ms
Success! But why does the output show .!!!! not !!!!!
Test to ensure all PC's can speak to each other. |