Lab Test 1 Documentation
Lab Test 1 Documentation
1
1.0 Network Topologies
1.1 Logical Topology
2
1.2 Physical Topology
3
2.0 Addressing Table
Device/ Interface IP Address Subnet Mask Default Gateway Switch
VLAN/ Port
Area
R0 G0/0 74.33.21.19 255.255.255.0 - -
2001:138:F::19/64 - - -
G0/1 138.19.0.1 255.255.255.252 - -
2001:138:19::/127 - - -
G0/2 138.19.0.5 255.255.255.252 - -
2001:138:19::2/127 - - -
S0/0/0 138.19.0.9 255.255.255.252 - -
2001:138:19::4/127 - - -
Lo0 138.19.0.12 255.255.255.255 - -
2001:138:19::FFFF/128 - - -
R1 G0/0 138.19.0.2 255.255.255.252 - -
2001:138::19:1/127 - - -
G0/1.191 138.19.11.1 255.255.255.0 - -
2001:138:19:11::1/64 - - -
G0/1.192 138.19.12.1 255.255.255.0 - -
2001:138:19:12::1/64 - - -
G0/1.193 138.19.13.1 255.255.255.0 - -
2001:138:19:13::1/64 - - -
Lo0 138.19.0.13 255.255.255.255 - -
2001:138:19::AAAA/128 - - -
R2 G0/0 138.19.0.6 255.255.255.252 - -
2001:138::19:3/127 - - -
G0/1.191 138.19.11.2 255.255.255.0 - -
2001:138:19:11::2/64 - - -
G0/1.192 138.19.12.2 255.255.255.0 - -
2001:138:19:12::2/64 - - -
G0/1.193 138.19.13.2 255.255.255.0 - -
2001:138:19:13::2/64 - - -
2001:138:19::BBBB/128 - - -
Lo0 138.19.0.14 255.255.255.255 - -
R3 G0/0 138.19.0.10 255.255.255.252 - -
2001:138::19:3/127 - - -
G0/1.191 138.19.11.3 255.255.255.0 - -
2001:138:19:11::3/64 - - -
G0/1.192 138.19.12.3 255.255.255.0 - -
2001:138:19:12::3/64 - - -
G0/1.193 138.19.13.3 255.255.255.0 - -
2001:138:19:13::3/64 - - -
Lo0 138.19.0.15 255.255.255.255 - -
2001:138:19::CCCC/128 - - -
4
Sw-1 G0/1 - - - Trunk
F0/1-2 - - - Trunk
F0/24 - - - Access –
VLAN191
Sw-2 G0/1 - - - Trunk
F0/1-4 - - - Trunk
F0/24 - - - Access –
VLAN192
Sw-3 G0/1 - - - Trunk
F0/3-4 - - - Trunk
F0/24 - - - Access –
VLAN193
PC1 FE 138.19.11.11 255.255.255.0 138.19.11.254 -
2001:138:19:11::11/64 - 2001:138:19:11::1/64 -
PC2 FE 138.19.12.12 255.255.255.0 138.19.12.254 -
2001:138:19:12::12/64 - 2001:138:19:12::2/64 -
PC3 FE 138.19.13.13 255.255.255.0 138.19.13.254 -
2001:138:19:13::13/64 - 2001:138:19:13::3/64 -
5
3.0 Lab Test Evaluation Criteria
3.1 Configure OSPF (process ID=19)
router-id is not discussed here as the Loopback interfaces are already configured with IPv4
addresses.
3.1.1 IPv4
For all routers, R0, R1, R2 and R3, the following statement should be observed in
the running-config, under router ospf 19.
router ospf 19
log-adjacency-changes
network 138.19.0.0 0.0.15.255 area 0
3.1.2 IPv6
For IPv6 routing protocols to work, ipv6 unicast-routing must be configured in the
global configuration mode. The following should be observed on all the routers.
!
!
ip cef
ipv6 unicast-routing
!
no ipv6 cef
!
In order to start OSPFv3 for IPv6, the process must be declared and started in all
routers. The statement ipv6 router ospf 19 should be observed in all routers.
!
ipv6 router ospf 19
log-adjacency-changes
!
6
For all router interfaces that will take part in the OSPFv3 routing information
exchange process, the following statements must be configured in those interfaces.
An example for R0’s G0/0 interface is shown.
interface GigabitEthernet0/0
ip address 138.19.0.2 255.255.255.252
duplex auto
speed auto
ipv6 address 2001:138:19::1/127
ipv6 enable
ipv6 ospf 19 area 0
The internal network is advertised in EIGRP in order for the summarized address to
work (at least one active EIGRP interface in that IP address range) in the following
step. Hence, as a good practice, a Loopback interface configured within the IP
address range must be present. The summary address is configured at the interface
facing the backbone area in order to advertise the summary address into backbone
area.
interface GigabitEthernet0/0
ip address 74.33.21.19 255.255.255.0
ip summary-address eigrp 2001 138.19.0.0 255.255.240.0 5
7
Upon completion, our network 138.19.0.0/20 should be observable from routers of
other networks in their routing table.
Gateway of last resort is not set
3.2.2 IPv6
As discussed in OSPFv3, in order for routing protocols to work in IPv6, ipv6
unicast-routing must be enabled to allow the forward of IPv6 unicast datagrams.
In EIGRP IPv6, an EIGRP IPv6 routing process with the given AS number (2001)
must be created and brought to active. The following statements should be observed
in the running-config.
Subsequently, for G0/0 that will participate in the IPv6 EIGRP routing process, it
should be configured explicitly stating that it belongs to EIGRP 2001. After that, the
summary address should be configured on this interface as well as it is facing the
backbone network.
interface GigabitEthernet0/0
ipv6 address FE80::19 link-local
ipv6 address 2001:138:F::19/64
ipv6 eigrp 2001
ipv6 summary-address eigrp 2001 2001:138:19::/48 5
ipv6 enable
In order for the summary address to be published into EIGRP, another active
interface running on EIGRP 2001 must be present for IPv6. Hence, the Loopback
interface should be included in the EIGRP 2001 process.
8
interface Loopback0
ipv6 eigrp 2001
ipv6 enable
ipv6 address 2001:138:19::FFFF/128
Upon completion, our summarized network will be visible from other networks in
their routing tables.
D 2001:138:1::/48 [5/128256]
via ::, Null0
C 2001:138:1::FFFF/128 [0/0]
via Loopback0, directly connected
C 2001:138:F::/64 [0/0]
via GigabitEthernet0/0, directly connected
L 2001:138:F::1/128 [0/0]
via GigabitEthernet0/0, receive
D 2001:138:19::/48 [90/5376]
via FE80::19, GigabitEthernet0/0
L FF00::/8 [0/0]
via Null0, receive
9
Metric 10 is specified as the OSPF cost of Ethernet is 10, while metric-type defined
the type of external route in the routing table shown later, E1/ E2. Upon completion,
networks from the backbone can be observed by all the internal routers of our
network as shown below.
3.3.2 IPv6
Similar to IPv6, the redistribution of EIGRP into OSPF steps are similar as shown
below.
ipv6 router ospf 19
log-adjacency-changes
redistribute eigrp 2001 metric 10 metric-type 1
Upon completion, networks from the backbone can be observed by all the internal
routers of our network as shown below.
10
3.4 Configure EtherChannel
As stated, Sw-1 and Sw-2’s EtherChannel will be running on LACP while Sw-2 and
Sw-3’s EtherChannel will be running on PAgP. The etherchannel summary of Sw-
2 is shown below.
VTP Version : 2
Configuration Revision : 4
Maximum VLANs supported locally : 255
Number of existing VLANs : 9
VTP Operating Mode : Server
VTP Domain Name : khooi.com
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x42 0xD0 0x73 0x6B 0x99 0x71 0x07 0x57
Configuration last modified by 0.0.0.0 at 3-1-93 03:03:16
Local updater ID is 0.0.0.0 (no valid interface found)
11
Sw-2 and Sw-3’s operating mode will be as VTP clients.
VTP Version : 2
Configuration Revision : 4
Maximum VLANs supported locally : 255
Number of existing VLANs : 9
VTP Operating Mode : Client
VTP Domain Name : khooi.com
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x42 0xD0 0x73 0x6B 0x99 0x71 0x07 0x57
Configuration last modified by 0.0.0.0 at 3-1-93 03:03:16
Further verification on the VTP configuration will be done by adding new VLANs
on Sw-1, and check for their presence in Sw-2 and Sw-3. However, the above
shown is theoretically sufficient.
3.5.1 PVST+
As required, the spanning tree mode on all the switches will be PVST+ and each of
the switches will be acting as the root bridge for a designated VLAN, Sw-1 for
VLAN 191, Sw-2 for VLAN 192 and Sw-3 for VLAN 193.
To verify the spanning tree mode running of the switches, it can be verified in the
running-config.
!
spanning-tree mode pvst
!
12
For all the VLANs, then we will verify the root status of the bridge for each VLANs.
Part of the output show spanning tree command for Sw-2 is shown. For Sw-1 and
Sw-3, kindly refer to their respective VLANs under the same command.
As shown in the above, Sw-2 is the root bridge for VLAN 192, which complies to
the requirements. Similar steps can be done for VLAN191 and VLAN193 to verify
their root bridges.
VLAN0191
Spanning tree enabled protocol ieee
Root ID Priority 24767
Address 0009.7C82.B68A
Cost 9
Port 27(Port-channel 1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
**Output Ommitted**
VLAN0192
Spanning tree enabled protocol ieee
Root ID Priority 24768
Address 0000.0CEB.5479
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
**Output Ommitted**
VLAN0193
Spanning tree enabled protocol ieee
Root ID Priority 24769
Address 0050.0F4D.30EE
Cost 9
Port 28(Port-channel 2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
**Output Ommitted**
13
3.6 Configure HSRP
HSRP for IPv4 is discussed only as HSRPv2 for IPv6 is not supported by Packet Tracer.
For HSRP, each of the routers will be their active routers for each one of the VLANs
nearest to the VLAN’s root bridge, for e.g. R1 for VLAN 191 in Sw-1. Hence, for
VLAN 191, the active router will be R1, while standby/ listening router will be R2
and R3. A virtual IP address will be configured for each VLAN. Tracking is enabled.
We can verify the configuration through the output of show standby command for
R1 for VLAN 191, Group 1 HSRP.
GigabitEthernet0/1.191 - Group 1
State is Active
7 state changes, last state change 00:03:04
Virtual IP address is 138.19.11.254
Active virtual MAC address is 0000.0C07.AC01
Local virtual MAC address is 0000.0C07.AC01 (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 1.849 secs
Preemption enabled
Active router is local
Standby router is 138.19.11.3, priority 100 (expires in 7 sec)
Priority 150 (configured 150)
Track interface GigabitEthernet0/0 state Up decrement 10
Group name is hsrp-Gig-1 (default)
**Output for other groups omitted**
14
Now, we will look at Group 1 standby router’s show standby output in R3.
GigabitEthernet0/1.191 - Group 1
State is Standby
11 state changes, last state change 00:03:13
Virtual IP address is 138.19.11.254
Active virtual MAC address is 0000.0C07.AC01
Local virtual MAC address is 0000.0C07.AC01 (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 0.374 secs
Preemption disabled
Active router is 138.19.11.1, priority 150 (expires in 7 sec)
MAC address is 0000.0C07.AC01
Standby router is local
Priority 100 (default 100)
Track interface Serial0/0/0 state Up decrement 10
Group name is hsrp-Gig-1 (default)
**Output for other groups omitted**
Hence, for Group 1, R1 is the active router and R3 is the standby router while R2
will be in listening mode not shown here but can be verified with the method above.
For VLAN 192 and 193, their active/ standby/ listening router can be checked via
the same method as discussed above where R2 will be active for VLAN 192 and R3
will be active for VLAN 193.
Further verification can be done by doing a tracert using any of the PCs. PC1
(VLAN 191) will be used as the example shown.
15
The IP Configuration for PC1 are as follow:
16