Task 1:
For reference information on configuring hostnames, please refer to:
Lab 1 Configuration and Verification Task 1
Lab 3 Configuration and Verification Task 1
Task 2:
For reference information on configuring verifying VLANs, please refer to:
Lab 1 Configuration and Verification Task 3
Lab 2 Configuration and Verification Task 3
Task 3:
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#interface fastethernet0/0
R1(config-if)#ip address 192.168.1.1 255.255.255.252
R1(config-if)#exit
R1(config)#ip route 0.0.0.0 0.0.0.0 fastethernet0/0
R1(config)#^Z
R1#
R1#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.1.1 YES manual up up
R2(config)#interface fastethernet 0/0
R2(config-if)#description “Connected To Switch Trunk Fa0/3”
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface fastethernet 0/0.10
R2(config-subif)#description Subinterface For VLAN 10
R2(config-subif)#encapsulation dot1Q 10
R2(config-subif)#ip address 192.168.1.2 255.255.255.252
R2(config-subif)#exit
R2(config)#interface fastethernet 0/0.20
R2(config-subif)#description Subinterface For VLAN 20
R2(config-subif)#encapsulation dot1Q 20 native
R2(config-subif)#ip address 192.168.1.5 255.255.255.252
R2(config-subif)#end
R2#
R2#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES manual up up
FastEthernet0/0.10 192.168.1.2 YES manual up up
FastEthernet0/0.20 192.168.1.5 YES manual up up
Sw1(config)#interface vlan1
Sw1(config-if)#shutdown
Sw1(config)#interface vlan 20
Sw1(config-if)#ip address 192.168.1.6 255.255.255.252
Sw1(config-if)#no shutdown
Sw1(config-if)#interface fastethernet 0/3
Sw1(config-if)# exit
Sw1(config)# ip default-gateway 192.168.1.5
Sw1(config)# ^Z
Sw1#
Sw1#show ip interface brief
Interface IP-Address OK? Method Status Protocol
Vlan1 unassigned YES NVRAM administratively down down
Vlan20 192.168.1.6 YES manual up up
Sw1#
Sw1#show ip redirects
Default gateway is 192.168.1.5
Host Gateway Last Use Total Uses Interface
ICMP redirect cache is empty
Task 4:
Sw1#ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1, timeout is 2 seconds:
..!!!
Success rate is 60 percent (3/5), round-trip min/avg/max = 1/3/4 ms
Notes — on some models of 2950 the ping would only work after this command was added to fastethernet 0/3 on Sw1:
Sw1(config-if)#switchport trunk native vlan 20