Lab Notes
Day 15:
Subnet the 192.168.5.0/24 network to provide sufficient addressing for each LAN.
(Also, the point-to-point connection between R1 and R2).
lan 2 uses /25
network is 192.168.5.0
broadcast is 192.168.5.127
lan 1 uses /26
Network 192.168.5.128
Broadcast 192.168.5.191
lan 3 uses /28
network 192.168.5.192
broadcast 192.168.5.207
lan 4 uses /28
network 192.168.5.208
broadcast 192.168.5.223 (224 is the next network address)
Assign the first usable address to the PC in each LAN.
Assign the last usable address to the router's interface in each LAN.
Configure static routes on each router so that all PCs can ping eachother.
day 16:
Day 16’s Lab
1. Configure the correct IP address/subnet mask on each PC.
Set the gateway address as the LAST USABLE address of the subnet.
10.0.0.62
10.0.0.126
10.0.0.190
2. Make three connections between R1 and SW1.
Configure one interface on R1 for each VLAN.
Make sure the IP addresses are the gateway address you configured on the PCs.
R1 →
int g0/0
ip address 10.0.0.62 255.255.255.192
no shutdown
do sh ip int br
3. Configure SW1's interfaces in the proper VLANs.
Remember the interfaces that connect to R1!
Name the VLANs
(Engeering, HR, Sales)
Sw 1 →
int range g0/1, f3/1,f4/1
switchport mode access
switchport Access vlan 10
vlan 10
Name Engineering
Day 17’s Lab
1. Configure the switch interfaces connected to PCs as access ports in the correct VLAN.
SW1
int range f0/1-2
sw mode access
sw access vlan 10
2. Configure the connection between SW1 and SW2 as a trunk, allowing only the necessary VLANs.
SW1
int g0/1
switchport mode trunk
switchport trunk allowed vlan 10,30
sw trunk native vlan 1001
do show vlan brief
sw2
int g0/1
sw mode trunk
sw trunk allowed vlan 10,30
sw trunk native vlan 1001
do show vlan brief
Configure an unused VLAN as the native VLAN.
Make sure all necessary VLANs exist on each switch
SW2
show interfaces trunk
look for Vlan’s allowed and active in management domain (vlan 30 isn’t allowed yet)
vlan 30
3. Configure the connection between SW2 and R1 using 'router on a stick'.
Assign the last usable address of each subnet to R1's subinterfaces.
SW2
int g0/2
sw mode trunk
sw trunk allowed vlan 10,20,30
sw trunk native vlan 1001
R1
Int g0/0
no shutdown
int g0/0.10
Encapsulation dot1q 10 → 10 is the vlan number
ip address 10.0.0.62 255.255.255.192
Day 18’s Lab
1. Replace the ROAS configuration on R1-SW2 with a point-to-point Layer 3 connection.
Use the IP addresses given in the network diagram.
Configure a default route on SW2, with R1's G0/0 interface as the next hop.
R1
Show running-config →
show ip interface brief → look at subinterfaces and remove them
No int g0/0.10 → repeat for .20 and .30
int g0/0
ip address 10.0.0.194 255.255.255.252
SW2
show run → look at g1/0/2 and see that it requires encapsulation dot1q
default interface g1/0/2
show run → make sure it’s just got ! and all the configurations are removed
int g1/0/2
no switchport
ip address 10.0.0.193 255.255.255.252
exit
back to sw2
ip routing
do show ip route →
ip route 0.0.0.0 0.0.0.0 10.0.0.194
2. Configure SVIs on SW2, one for each VLAN.
Assign the last usable IP address of each subnet to the appropriate SVI.
SW2
Do show vlan brief → make sure Vlan’s exist
interface vlan 10 → ip address 10.0.0.62 255.255.255.192
interface vlan 20 → 10.0.0.126 255.255.255.192
interface vlan 30 → 10.0.0.190 255.255.255.192
Do show ip interface brief → make sure they are all Up/Up
Day 19:
1. Configure the switchports connecting switches as trunk ports.
Disable DTP on the ports.
Confirm the administrative and operational mode of each interface.
SW1
Do show interface g0/1 Switchport → look at administrative mode: static access and negotiation of trunking: on (DTP frames are being sent out)
Switchport mode trunk
switchport nonegotiate → This disables negotiation of trunking/DTP (dynamic desirable)
SW2
int range g0/1-2
switchport mode trunk
switchport nonegotiate
do show interface g0/1 switchport
2. Configure SW1 in VTP domain CCNA.
Create VLANs 10, 20, and 30 on SW1.
Have SW2 and SW3 added VLANs 10, 20, and 30?
SW1
do show VTP status
VTP domain CCNA
vlan 10 → vlan 20 → vlan 30
3. Configure SW2 in VTP transparent mode.
Add VLAN40 to SW2.
Is VLAN40 added to the VLAN database of SW1/SW3?
SW2
vtp mode transparent
vlan 40
do show vtp status (revision number is now 0)
4. Configure SW3 in VTP client mode.
Try to configure VLAN50 on SW3. Is it added?
VTP mode client
vlan 50
5. Configure all switchports connected to hosts in the correct VLAN.
Manually configure them as access ports.
Is DTP still enabled on the switchports?
sw3
int f0/1
do sh int f0/1 switchport
sw mode access
sw access vlan 10
do sh int f0/1 switchport
Day 21
1. Use the CLI to check the current STP topology. What is the current root bridge?
What is the STP role/state of each port on each switch?
SW1
show spanning-tree → see that sw2’s int has the root bridfe
SW2
show spanning-tree → in Root ID it says “This bridge is the root”
all ports are in a designated state on SW2
2. Configure SW1 as the primary root for VLAN1 and the secondary root for VLAN2.
Configure SW2 and the primary root for VLAN2 and the secondary root for VLAN1.
What is the STP role/state of each port on each switch now?
SW1
spanning-tree vlan 1 root primary
spanning-tree vlan 2 root secondary
SW2
spanning-tree vlan 1 root secondary
spanning-tree vlan 2 root primary
Show spanning-tree and look at it on per vlan basis
3. Increase the VLAN1 cost of SW4's F0/2 interface to 100.
Does SW4 select a different root port? Why/why not?
show spanning-tree vlan 1
int f0/2
spanning-tree vlan 1 cost 100
4. Increase the VLAN1 port priority of SW1's F0/1 to 240.
Does SW3 select a different root port? Why/why not?
SW3
show spanning-tree vlan 1
spanning-tree vlan 1 port-priority 240
(it shouldn’t affect it bec
5. Configure PortFast and BPDU Guard on the F0/3 interfaces of SW3/SW4.
int f0/3
spanning-tree portfast
spanning-tree bpduguard enable
Day 22
configure the correct link type
int f0/24 → spanning-tree portfast (edge)
int range f0/1-2 → spanning-tree link-type point-to-point
Day 23
1. Configure Layer 2 EtherChannel between ASW1 and DSW1 using LACP.
Configure it as a trunk.
ASW1
Show spanning-tree
int range g0/1-2
channel-group 1 mode active
int p0/1
switchport mode trunk
show etherchannel summary
DSW1
int range g1/0/3-4
channel-group 1 mode active
int p0/1
switchport mode trunk
switchport trunk encapsulation dot1q
show etherchannel summary
show interface trunk
2. Configure Layer 2 EtherChannel between ASW2 and DSW2 using PAgP.
Configure it as a trunk.
ASW2
int range g0/1-2
channel-group 1 mode desirable
int p0/1
switchport mode trunk
DSW2
int range g1/0/3-4
channel-group 1 mode desirable
int p0/1
switchport trunk encapsulation dot1q
switchport mode trunk
show etherchannel summary
3. Configure Layer 3 EtherChannel between DSW1 and DSW2 using static EtherChannel
DSW2
int range g1/0/1-2
no switchport
channel-group 2 mode on
int p0/2
ip address 10.0.0.2 255.255.255.252
DSW1
int range g1/0/1-2
no switchport
channel-group 2 mode on
int p0/2
ip address 10.0.0.1 255.255.255.252
do show etherchannel summary
4. Configure routes to allow the PCs to reach SRV1.
DSW1
Do show ip route
ip routing
ip route 172.16.2.0 255.255.255.0 10.0.0.2
DSW2
ip routing
ip route 172.16.1.0 255.255.255.0 10.0.0.1
do show ip route
5. What is the default EtherChannel load-balancing method used on each switch?
show etherchannel load-balance
6. Configure the switches to load-balance based on source and destination IP addresses.
ASW1
port-channel load-balance src-dst-ip
do show etherchannel load-balance
day 24:
1. Check the routing tables of R1 and R2.
show ip route
Which dynamic routing protocol is Enterprise A using?
ospf (in routing legend)
2. Configure floating static routes on R1 and R2 that
allow PC1 to reach SRV1 if the link between R1 and R2 fails. → (use isp A)
Do the routes enter the routing tables of R1 and R2? → no
Use ISP A
#R1
ip route 10.0.2.0 255.255.255.0 203.0.113.1 ?
set the distance (which is AD) to 111
R2 needs a return route
ip route 10.0.1.0 255.255.255.0 203.0.113.5 111
3. Shut down the G0/2/0 interface of R1 or R2.
Do the floating static routes enter the routing tables of R1 and R2?
Ping from PC1 to SRV1 to confirm.
day 25:
2. Configure a loopback interface on each router (1.1.1.1/32 for R1, 2.2.2.2/32 for R2, etc.)
Watch the video if you don't know how to do this!
interface loopback 0
ip address 1.1.1.1 255.255.255.255
3. Configure EIGRP on each router.
Disable auto-summary.
Enable EIGRP on each interface (including loopback interfaces).
Configure passive interfaces where appropriate (including loopback interfaces).
R4
Router EIGRP 100 (it’s the AS number)
Network 0.0.0.0 255.255.255.255
No auto-summary
passive-interface g0/0, l0/0
Do sh ip eigrp neighbors
do show ip route eigrp
do show ip eigrp topology
4. Configure R1 to perform unequal-cost load-balancing
when sending network traffic to 192.168.4.0/24
do show ip eigrp topology
variance 2
day 26
1. Configure the appropriate hostnames and IP addresses on each device. Enable router interfaces.
(You don't have to configure ISPR1)
blah blah
2. Configure a loopback interface on each router (1.1.1.1/32 for R1, 2.2.2.2/32 for R2, etc.)
r4
int l0
ip addr 4.4.4.4 255.255.255.255
do show ip int l0
3. Configure OSPF on each router.
Enable OSPF on each interface (including loopback interfaces).
(Do not enable OSPF on R1's Internet link)
Configure passive interfaces where appropriate (including loopback interfaces).
R4#
router ospf 4
network 0.0.0.0 255.255.255.255 area 0
passive-interface g0/0
passive-interface l0
R1#
int l0
ip add 1.1.1.1 255.255.255.255
router ospf 1
network 10.0.12.0 0.0.0.3 area 0
network 10.0.0.13.0 0.0.0.3
network 1.1.1.1 area 0
passive-interface l0
4. Configure R1 as an ASBR that advertises a default route in to the OSPF domain.
default-information orginate
ip route 0.0.0.0 0.0.0.0 203.0.113.2
show ip protocols (router id loopback id + ASBR)
show ip ospf database
5. Check the routing tables of R2, R3, and R4. What default route(s) were added?
day 27
1. Configure the appropriate hostnames and IP addresses on each device. Enable router interfaces.
(You don't have to configure ISPR1)
2. Configure a loopback interface on each router (1.1.1.1/32 for R1, 2.2.2.2/32 for R2, etc.)
int l0
ip addr 1.1.1.1 255.255.255.255
3. Enable OSPF directly on each interface of the routers.
Configure passive interfaces as appropriate.
R1
interface range g0/0, f1/0, l0
ip ospf 1 area 0
do show ip protocols
router ospf 1
passive-interface l0
4. Configure the reference bandwidth on each router so a FastEthernet interface
has a cost of 100.
auto-cost reference-bandwidth 10,000 (reference bandwidth/int bandwidth =cost)
do show ip ospf interface → look for cost
5. Configure R1 as an ASBR that advertises a default route in to the OSPF domain.
default-information orginate
ip route 0.0.0.0 0.0.0.0 203.0.113.2
day 28 (not done)
The network has been pre-configured (IP addresses, OSPF)
1. The connection between R1 and R2 has been newly added.
-Configure the serial connection between R1 and R2 (clock rate of 128000).
-Configure OSPF on R1 and R2.
2. Only R3 has a route to 10.0.2.0/24. Why? Fix the problem.
3. R2 and R4 won't become OSPF neighbors with R5. Why? Fix the problem.
4. PC1 and PC2 can't ping the external server 8.8.8.8. Why? Fix the problem.
5. Examine the LSDB. What LSAs are present?