www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / 101 CCNP Labs Solutions / CCNP Lab 084 Solution: CCNP Multi-Technology Lab

CCNP Lab 084 Solution: CCNP Multi-Technology Lab

Lab Objective:

The objective of this lab is to cover all relevant CCNP ROUTE and SWITCH theory. These labs will include topics from each of these guides. It should be noted that not all topics will be included in all labs. Additionally, not all solutions will be illustrated in detail. You can refer to previous labs for assistance with some basic configurations.

Lab Topology:

The lab network topology is illustrated below:

department684

 

IMPORTANT NOTE

If you are using the www.howtonetwork.net racks, please implement the following pre-lab configurations. This is required because of the manner in which the routers and switches are physically cabled to each other. The following configuration should be applied to switch ALS1:

!
hostname ALS1
!
vtp mode transparent
!
!
! 
!
vlan 100
name R1-VLAN
!
vlan 300
name R3-VLAN
!
vlan 400
name R4-VLAN
!
interface fastethernet 0/1
switchport access vlan 100
switchport mode access
!
interface fastethernet 0/2
shutdown
!
interface fastethernet 0/3
switchport access vlan 300
switchport mode access
!
interface fastethernet 0/4
switchport access vlan 400
switchport mode access
!
interface range fastethernet 0/5 – 6
shutdown
!
interface fastethernet0/7
switchport mode trunk
!
interface fastethernet 0/8
switchport mode trunk
!
interface range fastethernet 0/9 – 10
shutdown
!
interface range fastethernet 0/11 – 12
switchport mode trunk
!
!
interface vlan 400
ip address 10.4.4.254 255.255.255.0
no shutdown
!
ip default-gateway 10.4.4.4
!
line vty 0 4
privilege level 15
password cisco
login
!
end
!
hostname ALS2
!
vtp mode transparent
!
!
!
! 
!
!
vlan 300
name R3-VLAN
!
interface range fastethernet 0/1 – 10
shutdown
!
interface fastethernet 0/11
switchport mode trunk
!
interface fastethernet 0/12
switchport mode trunk
!
interface vlan 300
ip address 10.3.3.254 255.255.255.0
no shutdown
!
ip default-gateway 10.3.3.3
!
line vty 0 4

privilege level 15
password cisco
login
!
end
!
hostname DLS1
!
ip routing
!
vtp mode transparent
!
!
!
!
vlan 100
name R1-VLAN
!
!
! 
!
!
!
interface range fastethernet 0/1 – 6
shutdown
!
interface range fastethernet 0/7 – 8
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface range fastethernet 0/9 – 10
shutdown
!
interface fastethernet 0/11
switchport mode dynamic desirable
!
interface fastethernet 0/12
switchport mode dynamic desirable
!
interface range fastethernet 0/13 – 48
shutdown
!
!
interface vlan 100
ip address 150.1.1.254 255.255.255.0
no shutdown
!
line vty 0 4
privilege level 15
password cisco
login
!
end
!
hostname DLS2
!
ip routing
!
vtp mode transparent
!
!
!
!
vlan 100
name R1-VLAN
!
!
! 
interface vlan 100
ip address 150.1.1.253 255.255.255.0
no shutdown
!
!
!
interface range fastethernet 0/1 – 10
shutdown
!
interface fastethernet 0/11
switchport mode dynamic desirable
!
interface fastethernet 0/12
switchport mode dynamic desirable
!
interface range fastethernet 0/13 – 48
shutdown
!
!
!
line vty 0 4
privilege level 15
password cisco
login
!
end

If you are using the www.howtonetwork.net racks, please bring up the LAN interface connected to R2 by the following configuration:

interface fastethernet 0/0
ip address 150.2.2.2 255.255.255.0
no keepalive
loopback
no shutdown

 

Alternatively, you can simply connect the interface to a hub or one of the switches and bring up the interface in the standard manner.

 

Task 1

Configure hostnames, IP addressing on all routers as illustrated in the network topology.

Task 2

Configure an EtherChannel between DLS1 and DLS2. This should be a Layer 2 trunk link that uses PAgP. Assign IP address 150.1.1.253/24 to switch DLS2. Finally, verify that all devices on the 150.1.1.0/24 subnet can ping each other.

Task 3

To ensure a consistent Spanning Tree topology, ensure that ALS1 will be the root for all of the configured VLANs. Should a superior BPDU be received, the port should be disabled. Verify your configuration using the appropriate commands.

Task 4

Configure the EtherChannel between DLS1 and DLS2 to load distribution based on the destination MAC address. Verify your configuration.

Next, management has requested that all ports on ALS1 that are connected to the routers be configured in such a manner that if a BPDU is received, the ports are disabled. These ports should be re-enabled after 10 minutes. Implement this solution and verify your configuration.

Task 5

Configure BGP using AS 1 on R1, DLS1 and DLS2. Ensure that Non-Stop Forwarding (NSF) for BGP is enabled and all routers are peered with each other. Verify your configuration using the appropriate commands.
Task 6

Configure OSPF between R1, R2, and R3 as illustrated in the topology. Ensure that OSPF Hellos are not sent out the LAN interfaces of R2. Do NOT enable OSPF for the LAN segments connected to R1 or R3. Verify your OSPF configuration using the appropriate commands.

Task 7

Configure BGP on router R4. This router should peer with R1. Use Loopback interfaces that are comprised of the router numbers, i.e. 1.1.1.1/32 on R1 and 4.4.4.4/32 on R4. Verify your configuration using the appropriate commands. When completing this task, you MUST adhere to these restrictions and guidelines:

  1. You are allowed only ONE static route on R3 – this route can NOT be a default route
  2. You are allowed only ONE static route on R4 – this route can NOT be a default route
  3. You are NOT allowed any static routes on R1 – you can NOT originate a default route

 

Ensure that the Loopback interfaces are advertised as EXTERNAL routes. Do NOT redistribute any other connected subnets into OSPF when completing this task. Verify your configuration using the appropriate commands.

Task 8

Configure and then advertise the following prefixes via BGP on switches DLS1 and DLS2:

  1. DLS1: Loopback 0 – IP Address 100.1.1.1/24
  2. DLS2: Loopback 0 – IP Address 200.2.2.2/24

 

Next, advertise the 10.4.4.4/24 subnet connected to router R4 via BGP. Do NOT advertise the 150.1.1.0/24 prefix via OSPF or BGP. Verify that the prefixes are received by all BGP speakers.

Task 9

Configure your network so that the 150.1.1.0/24 , 100.1.1.0/24, and 200.2.2.0/24 subnets can ping the 10.4.4.0/24 subnet and vice-versa. Complete this task while adhering to the following:

  1. You are allowed to use only ONE static route . This can either be on R1 or R3
  2. You are NOT allowed to use any static or default routes on R4
  3. You are NOT allowed to advertise the 150.1.1.0/24 subnet via OSPF or BGP

 

Next, test your configuration by pinging from the 150.1.1.0/24 , 100.1.1.0/24, and 200.2.2.0/24 subnets to the 10.4.4.0/24 subnet and vice-versa. All pings should be successful.

Task 10

Configure Loopback interfaces with the IP addresses 2.2.2.2/32 and 3.3.3.3/32 respectively on R2 and R3. Next, configure 6to4 prefixes on the LAN interfaces of all routers. Use the Loopback addresses to complete the 48-bit global prefix. The router number should complete the next 16-bits, for a complete site prefix. Verify your configuration using the appropriate commands.

Finally, configure 6to4 tunnels on R2 and R3. Ensure that these two routers can ping each other LAN-to-LAN across the 6to4 tunnels. Use the extended ping function for verification.

Task 11

At this point, the 10.3.3.0/24 subnet connected to R3s LAN interface should not be known to any other router, i.e. should not be advertised by OSPF. Management has requested that this subnet remain anonymous. However, they would like devices residing on this subnet to be able to reach the LAN subnets on R2 and R3 only. These devices should appear to be coming from the 150.3.3.0/24 subnet. When completing this task, you MUST adhere to the following restrictions:

  1. You are NOT allowed to configure any additional interfaces on R3, i.e. Loopbacks
  2. There should be a one-to-one translation for the 10.3.3.0/24 subnet
  3. Your configuration should NOT ‘break’ the current OSPF or BGP routing in place

 

Verify your configuration by pinging the 150.1.1.0/24 and 150.2.2.0/24 subnets from ALS2

Lab Validation

Task 1

Please refer to previous labs for basic IPv4 addressing and hostname configuration. This will not be included in this section to avoid being redundant.

Task 2

Please refer to previous labs for EtherChannel configuration. This will not be included in this section to avoid being redundant. Verify your solution using the show etherchannel commands on both switches:

 

DLS1#show etherchannel summary
Flags: D – down P – bundled in port-channel
I – stand-alone s – suspended
H – Hot-standby (LACP only)
R – Layer3 S – Layer2
U – in use f – failed to allocate aggregator

M – not in use, minimum links not met
u – unsuitable for bundling
w – waiting to be aggregated
d – default port

 

Number of channel-groups in use: 1
Number of aggregators: 1

Group Port-channel Protocol Ports
——+————-+———–+——————————————
10 Po10(SU) PAgP Fa0/11(P) Fa0/12(P)

DLS2#show etherchannel summary
Flags: D – down P – bundled in port-channel
I – stand-alone s – suspended
H – Hot-standby (LACP only)
R – Layer3 S – Layer2
U – in use f – failed to allocate aggregator

M – not in use, minimum links not met
u – unsuitable for bundling
w – waiting to be aggregated
d – default port

 

Number of channel-groups in use: 1
Number of aggregators: 1

Group Port-channel Protocol Ports
——+————-+———–+———————————————–
10 Po10(SU) PAgP Fa0/11(P) Fa0/12(P)

After configuring the SVI on switch DLS2, verify reachability on the 150.1.1.0/24 subnet:

LS2#ping 150.1.1.0

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 150.1.1.0, timeout is 2 seconds:
.
Reply to request 1 from 150.1.1.254, 1 ms
Reply to request 1 from 150.1.1.1, 1 ms
Reply to request 2 from 150.1.1.254, 1 ms
Reply to request 2 from 150.1.1.1, 1 ms
Reply to request 3 from 150.1.1.254, 1 ms
Reply to request 3 from 150.1.1.1, 1 ms
Reply to request 4 from 150.1.1.254, 1 ms
Reply to request 4 from 150.1.1.1, 1 ms

Task 3

To complete this task you need to configure the Root Guard feature on the switch. The Root Guard feature prevents a Designated Port from becoming a Root Port. If a port on which the Root Guard feature receives a superior BPDU, it moves the port into a root-inconsistent state, thus maintaining the current Root Bridge status quo.

Unlike other STP enhancements, which can also be enabled on a global basis, Root Guard must be manually enabled on all ports where the Root Bridge should not appear. To complete this task successfully, first ensure that switch ALS1 is the root for all VLANs and then enable Root Guard on all designated ports. The first part of this task is completed as follows:

ALS1(config)#spanning-tree vlan 1 priority 0
ALS1(config)#spanning-tree vlan 100 priority 0
ALS1(config)#spanning-tree vlan 300 priority 0
ALS1(config)#spanning-tree vlan 400 priority 0
ALS1#show spanning-tree summary
Switch is in pvst mode
Root bridge for: VLAN0001, VLAN0100, VLAN0300, VLAN0400

[Truncated Output]

 

Next, to determine which ports are designated and actively forwarding, use the show spanning-tree [vlan <number> active [detail] command:

ALS1#show spanning-tree vlan 100 active

VLAN0100
Spanning tree enabled protocol ieee
Root ID Priority 100
Address 0007.8432.dd00
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 100 (priority 0 sys-id-ext 100)
Address 0007.8432.dd00
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
—————- —- — ——— ——– ——————————–
Fa0/1 Desg FWD 19 128.1 P2p
Fa0/7 Desg FWD 19 128.7 P2p
Fa0/8 Desg FWD 19 128.8 P2p
Fa0/11 Desg FWD 19 128.11 P2p
Fa0/12 Desg FWD 19 128.12 P2p

Port Fa0/1 is irrelevent because it is connected to R1. To complete this task, simply enable the Root Guard feature on the remaining trunk ports:

ALS1(config)#interface range fastethernet 0/7 – 8 , fastethernet 0/11 – 12 
ALS1(config-if-range)#spanning-tree guard root 
ALS1(config-if-range)#exit

To test Root Guard, you can increase the priority on ALS1 to 4096, for example, and configure a priority of 0 on either DLS1 or ALS2. This will result in the following error message:

06:00:49: %SPANTREE-2-ROOTGUARD_BLOCK: Root guard blocking port FastEthernet0/7 on VLAN0100.

Also, use the show spanning-tree inconsistentports to determine which switch the ports have been placed into an inconsistent state (Root Guard or Loop Guard) by the switch:

ALS1#show spanning-tree inconsistentports

Name Interface Inconsistency
——————– ———————- ——————
VLAN0100 FastEthernet0/7 Root Inconsistent
VLAN0100 FastEthernet0/8 Root Inconsistent

Number of inconsistent ports (segments) in the system : 2

Task 4

To complete this task, you need to use the port-channel load-balance command on switches DLS1 and DLS2. Next, implement BPDU Guard on the ports that routers are connected to switch ALS1. Finally, enable the err-disable recovery for BPDU Guard and specify the timer. Complete the first part of this task by configuring switches DLS1 and DLS2 as follows:

DLS1(config)#port-channel load-balance dst-mac
DLS2(config)#port-channel load-balance dst-mac

Verify load balancing using the show etherchannel load-balance command:

DLS1#show etherchannel load-balance 
EtherChannel Load-Balancing Configuration:
dst-mac

EtherChannel Load-Balancing Addresses Used Per-Protocol:
Non-IP: Destination MAC address
IPv4: Destination MAC address

 

Complete the second part of this task by configuring switch ALS1 as follows:

ALS1(config)#interface range fastethernet 0/1 , fastethernet 0/3 – 4
ALS1(config-if-range)#spanning-tree bpduguard enable
ALS1(config-if-range)#exit
ALS1(config)#errdisable recovery cause bpduguard
ALS1(config)#errdisable recovery interval 600

Verify BPDU Guard configuration using the show spanning-tree interface <name> detail command on switch ALS1:

ALS1#show spanning-tree interface fastethernet 0/1 detail
Port 1 (FastEthernet0/1) of VLAN0100 is forwarding
Port path cost 19, Port priority 128, Port Identifier 128.1.
Designated root has priority 100, address 0007.8432.dd00
Designated bridge has priority 100, address 0007.8432.dd00
Designated port id is 128.1, designated path cost 0
Timers: message age 0, forward delay 0, hold 0
Number of transitions to forwarding state: 1
Link type is point-to-point by default
Bpdu guard is enabled
BPDU: sent 3148, received 0

Use the show errdisable commands to verify the errdisable recovery reasons and intervals:

ALS1#show errdisable recovery
ErrDisable Reason Timer Status
—————– ————–
udld Disabled
bpduguard Enabled
security-violatio Disabled
channel-misconfig Disabled
vmps Disabled
pagp-flap Disabled
dtp-flap Disabled
link-flap Disabled
psecure-violation Disabled
gbic-invalid Disabled
dhcp-rate-limit Disabled
unicast-flood Disabled
loopback Disabled

Timer interval: 600 seconds

Interfaces that will be enabled at the next timeout:

 

 

Task 5

The requirements of this task are straightforward. To enable NSF for BGP, you need to enable the bgp graceful-restart command on all devices under BGP configuration:

R1(config)#router bgp 1
R1(config-router)#bgp router-id 1.1.1.1
R1(config-router)#neighbor 150.1.1.253 remote-as 1
R1(config-router)#neighbor 150.1.1.254 remote-as 1
R1(config-router)#bgp graceful-restart
R1(config-router)#exit
DLS1(config)#router bgp 1
DLS1(config-router)#bgp router-id 150.1.1.254
DLS1(config-router)#neighbor 150.1.1.1 remote-as 1
DLS1(config-router)#neighbor 150.1.1.253 remote-as 1
DLS1(config-router)#bgp graceful-restart
DLS1(config-router)#exit
DLS2(config)#router bgp 1
DLS2(config-router)#bgp router-id 150.1.1.253
DLS2(config-router)#neighbor 150.1.1.1 remote-as 1
DLS2(config-router)#neighbor 150.1.1.254 remote-as 1
DLS2(config-router)#bgp graceful-restart
DLS2(config-router)#exit

Verify the BGP peering configuration using the show ip bgp summary command:

R1#show ip bgp summary
BGP router identifier 1.1.1.1, local AS number 1
BGP table version is 1, main routing table version 1

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
150.1.1.253 4 1 4 5 1 0 0 00:01:24 0
150.1.1.254 4 1 5 6 1 0 0 00:03:04 0

DLS1#show ip bgp summary
BGP router identifier 150.1.1.254, local AS number 1
BGP table version is 1, main routing table version 1

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
150.1.1.1 4 1 5 4 1 0 0 00:02:45 0
150.1.1.253 4 1 3 3 1 0 0 00:00:47 0

DLS2#show ip bgp summary
BGP router identifier 150.1.1.253, local AS number 1
BGP table version is 1, main routing table version 1

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
150.1.1.1 4 1 4 3 1 0 0 00:00:34 0
150.1.1.254 4 1 3 3 1 0 0 00:00:17 0

Verify BGP NSF configuration using the show ip bgp neighbors <address> command:

R1#show ip bgp neighbors
BGP neighbor is 150.1.1.253, remote AS 1, internal link
BGP version 4, remote router ID 150.1.1.253
BGP state = Established, up for 00:02:26
Last read 00:00:23, last write 00:00:26, hold time is 180, keepalive interval is 60 seconds
Neighbor capabilities:
Route refresh: advertised and received(old & new)
Address family IPv4 Unicast: advertised and received
Graceful Restart Capability: advertised
Message statistics:
InQ depth is 0
OutQ depth is 0
Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 0 0
Keepalives: 5 4
Route Refresh: 0 0
Total: 6 5
Default minimum time between advertisement runs is 0 seconds

[Truncated Output]

 

Task 6

Please refer to previous tasks for basic OSPF configuration. Following this, use the show ip ospf neighbor command to verify adjacencies:

R1#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
3.3.3.3 0 FULL/ – 00:00:36 150.0.0.6 Serial0/1
2.2.2.2 0 FULL/ – 00:00:38 150.0.0.2 Serial0/0

R2#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
3.3.3.3 0 FULL/ – 00:00:31 150.0.0.10 Serial0/1
1.1.1.1 0 FULL/ – 00:00:33 150.0.0.1 Serial0/0

R3#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 0 FULL/ – 00:00:37 150.0.0.9 Serial1/1
1.1.1.1 0 FULL/ – 00:00:34 150.0.0.5 Serial1/0

 

Next, verify routing using the show ip route command on all three routers:

R1#show ip route ospf
150.0.0.0/30 is subnetted, 3 subnets
O 150.0.0.8 [110/845] via 150.0.0.6, 00:00:11, Serial0/1
150.2.0.0/24 is subnetted, 1 subnets
O 150.2.2.0 [110/65] via 150.0.0.2, 00:00:11, Serial0/0
R2#show ip route ospf
150.0.0.0/30 is subnetted, 3 subnets
O 150.0.0.4 [110/845] via 150.0.0.10, 00:00:23, Serial0/1
R3#show ip route ospf
150.0.0.0/30 is subnetted, 4 subnets
O IA 150.0.0.0 [110/845] via 150.0.0.9, 00:00:34, Serial1/1
[110/845] via 150.0.0.5, 00:00:34, Serial1/0
150.2.0.0/24 is subnetted, 1 subnets
O IA 150.2.2.0 [110/782] via 150.0.0.9, 00:00:34, Serial1/1

Task 7

This task has several requirements. First, you must configure the specified Loopback interfaces and advertise them via BGP. Next, you need to configure BGP between R1 and R4. You must include the neighbor <address> ebgp-multihop command in addition to specifying the Loopback interfaces as update sources. Following that, you need to adhere to the restrictions while ensuring that the BGP session can also be established. This task is completed as follows:

R1(config)#interface loopback 0
R1(config-if)#ip address 1.1.1.1 255.255.255.255
R1(config-if)#exit
R1(config)#router bgp 1
R1(config-router)#neighbor 4.4.4.4 remote-as 4
R1(config-router)#neighbor 4.4.4.4 update-source loopback 0
R1(config-router)#neighbor 4.4.4.4 ebgp-multihop
R1(config-router)#exit
R1(config-router)#route-map LOOPBACK0 permit 10
R1(config-route-map)#match interface loopback 0
R1(config-route-map)#exit
R1(config)#router ospf 1
R1(config-router)#redistribute connected subnets route-map LOOPBACK0
R1(config-router)#exit
R3(config)#ip route 4.4.4.4 255.255.255.255 serial 1/2
R3(config)#router ospf 3
R3(config-router)#redistribute static subnets
R3(config-router)#exit
R4(config)#interface loopback 0
R4(config-if)#ip address 4.4.4.4 255.255.255.255
R4(config-if)#exit
R4(config)#ip route 1.1.1.1 255.255.255.255 serial 0/0
R4(config)#router bgp 4
R4(config-router)#bgp router-id 4.4.4.4
R4(config-router)#neighbor 1.1.1.1 remote-as 1
R4(config-router)#neighbor 1.1.1 update-source loopback 0
R4(config-router)#neighbor 1.1.1.1 ebgp-multihop
R4(config-router)#exit

Following this, verify BGP peering using the show ip bgp summary command:

R1#show ip bgp summary
BGP router identifier 1.1.1.1, local AS number 1
BGP table version is 1, main routing table version 1

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
4.4.4.4 4 4 5 5 1 0 0 00:01:01 0
150.1.1.253 4 1 82 84 1 0 0 01:20:05 0
150.1.1.254 4 1 83 84 1 0 0 01:21:45 0

R4#show ip bgp summary
BGP router identifier 4.4.4.4, local AS number 4
BGP table version is 1, main routing table version 1

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
1.1.1.1 4 1 5 5 1 0 0 00:01:19 0

Task 8

This task is straightforward. Verify your BGP RIBs using the show ip bgp command:

DLS1#show ip bgp
BGP table version is 24, local router ID is 150.1.1.254
Status codes: s suppressed, d damped, h history, * valid, > best, i – internal,
r RIB-failure, S Stale
Origin codes: i – IGP, e – EGP, ? – incomplete

Network Next Hop Metric LocPrf Weight Path
* i10.4.4.0/24 4.4.4.4 0 100 0 4 i
*> 100.1.1.0/24 0.0.0.0 0 32768 i
*>i200.2.2.0 150.1.1.253 0 100 0 i

DLS2#show ip bgp
BGP table version is 8, local router ID is 150.1.1.253
Status codes: s suppressed, d damped, h history, * valid, > best, i – internal,
r RIB-failure, S Stale
Origin codes: i – IGP, e – EGP, ? – incomplete

Network Next Hop Metric LocPrf Weight Path
* i10.4.4.0/24 4.4.4.4 0 100 0 4 i
*>i100.1.1.0/24 150.1.1.254 0 100 0 i
*> 200.2.2.0 0.0.0.0 0 32768 i

R1#show ip bgp
BGP table version is 10, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i – internal,
r RIB-failure, S Stale
Origin codes: i – IGP, e – EGP, ? – incomplete

Network Next Hop Metric LocPrf Weight Path
*> 10.4.4.0/24 4.4.4.4 0 0 4 i
*>i100.1.1.0/24 150.1.1.254 0 100 0 i
*>i200.2.2.0 150.1.1.253 0 100 0 i

R4#show ip bgp
BGP table version is 6, local router ID is 4.4.4.4
Status codes: s suppressed, d damped, h history, * valid, > best, i – internal,
r RIB-failure, S Stale
Origin codes: i – IGP, e – EGP, ? – incomplete

Network Next Hop Metric LocPrf Weight Path
*> 10.4.4.0/24 0.0.0.0 0 32768 i
*> 100.1.1.0/24 1.1.1.1 0 1 i
*> 200.2.2.0 1.1.1.1 0 1 i

 

Task 9

This task is not as complex as it might appear if you have a good understanding of BGP and IP routing in general. First, because switches DLS1 and DLS2 do not know about the 4.4.4.4/32 prefix, they will show the route received from R4 as inaccessible. This can be verified as follows:

DLS1#show ip bgp 10.4.4.0 255.255.255.0
BGP routing table entry for 10.4.4.0/24, version 24
Paths: (1 available, no best path)
Not advertised to any peer
4
4.4.4.4 (inaccessible) from 150.1.1.1 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, internal
DLS2#show ip bgp 10.4.4.0 255.255.255.0
BGP routing table entry for 10.4.4.0/24, version 8
Paths: (1 available, no best path)
Not advertised to any peer
4
4.4.4.4 (inaccessible) from 150.1.1.1 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, internal

 

To resolve this, you will need to modify the BGP NEXT_HOP attribute on R1 so that this field is updated to reflect R1 as the NEXT_HOP instead.

Second, while BOTH the 100.1.1.0/24 and 200.2.2.0/24 prefixes are advertised by R1 to R4, the 150.1.1.0/24 prefix is not. This means that we will instead need to advertise a default route to router R2 and R3 via OSPF. This will allow these routers to forward packets destined to this subnet to R1 – where the subnet resides.

Third, we also need to advertise a default route via BGP to R4. This will allow R4 to reach the 150.1.1.0/24 subnet (via R3). And finally, we are allowed to use a single static route on either R1 or R3. We will choose to use this on R3 and configure a static route for the 10.1.1.0/24 prefix. This prefix will then be redistributed into OSPF, allowing all routers to know about the location of this subnet. This task is therefore completed as follows:

R1(config)#router bgp 1
R1(config-router)#neighbor 150.1.1.253 next-hop-self
R1(config-router)#neighbor 150.1.1.254 next-hop-self
R1(config-router)#neighbor 4.4.4.4 default-originate
R1(config-router)#exit
R1(config)#router ospf 1
R1(config-router)#default-information originate always
R1(config-router)#exit
R3(config)#ip route 10.4.4.0 255.255.255.0 serial 1/2
R3(config)#end 
R3#clear ip ospf redistribution

Following this, verify the routing tables of all devices using the show ip route command:

R1#show ip route
Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2
i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2
ia – IS-IS inter area, * – candidate default, U – per-user static route
o – ODR, P – periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
100.0.0.0/24 is subnetted, 1 subnets
B 100.1.1.0 [200/0] via 150.1.1.254, 00:21:26
4.0.0.0/32 is subnetted, 1 subnets
O E2 4.4.4.4 [110/20] via 150.0.0.6, 00:00:27, Serial0/1
B 200.2.2.0/24 [200/0] via 150.1.1.253, 00:20:59
10.0.0.0/24 is subnetted, 1 subnets
B 10.4.4.0 [20/0] via 4.4.4.4, 00:00:22
150.0.0.0/30 is subnetted, 3 subnets
C 150.0.0.4 is directly connected, Serial0/1
C 150.0.0.0 is directly connected, Serial0/0
O 150.0.0.8 [110/845] via 150.0.0.6, 00:17:23, Serial0/1
150.1.0.0/24 is subnetted, 1 subnets
C 150.1.1.0 is directly connected, FastEthernet0/0
150.2.0.0/24 is subnetted, 1 subnets
O 150.2.2.0 [110/65] via 150.0.0.2, 00:17:25, Serial0/0

R2#show ip route ospf
1.0.0.0/32 is subnetted, 1 subnets
O E2 1.1.1.1 [110/20] via 150.0.0.1, 00:18:22, Serial0/0
4.0.0.0/32 is subnetted, 1 subnets
O E2 4.4.4.4 [110/20] via 150.0.0.10, 00:01:27, Serial0/1
10.0.0.0/24 is subnetted, 1 subnets
O E2 10.4.4.0 [110/20] via 150.0.0.10, 00:01:27, Serial0/1
150.0.0.0/30 is subnetted, 3 subnets
O 150.0.0.4 [110/845] via 150.0.0.10, 00:18:22, Serial0/1
O*E2 0.0.0.0/0 [110/1] via 150.0.0.1, 00:03:20, Serial0/0
R3#show ip route ospf
1.0.0.0/32 is subnetted, 1 subnets
O E2 1.1.1.1 [110/20] via 150.0.0.5, 00:20:38, Serial1/0
150.0.0.0/30 is subnetted, 4 subnets
O IA 150.0.0.0 [110/845] via 150.0.0.9, 00:20:48, Serial1/1
[110/845] via 150.0.0.5, 00:20:48, Serial1/0
150.2.0.0/24 is subnetted, 1 subnets
O IA 150.2.2.0 [110/782] via 150.0.0.9, 00:20:48, Serial1/1
O*E2 0.0.0.0/0 [110/1] via 150.0.0.5, 00:05:46, Serial1/0
R4#show ip route
Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2
i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2
ia – IS-IS inter area, * – candidate default, U – per-user static route
o – ODR, P – periodic downloaded static route

Gateway of last resort is 1.1.1.1 to network 0.0.0.0

1.0.0.0/32 is subnetted, 1 subnets
S 1.1.1.1 is directly connected, Serial0/0
100.0.0.0/24 is subnetted, 1 subnets
B 100.1.1.0 [20/0] via 1.1.1.1, 00:25:01
4.0.0.0/32 is subnetted, 1 subnets
C 4.4.4.4 is directly connected, Loopback0
B 200.2.2.0/24 [20/0] via 1.1.1.1, 00:24:31
10.0.0.0/24 is subnetted, 1 subnets
C 10.4.4.0 is directly connected, FastEthernet0/0
150.0.0.0/30 is subnetted, 1 subnets
C 150.0.0.12 is directly connected, Serial0/0
B* 0.0.0.0/0 [20/0] via 1.1.1.1, 00:06:12

 

Following this, verify end-to-end connectivity using the extended ping function on all devices:

R1#ping 10.4.4.4 source 150.1.1.1 size 1500 repeat 10

Type escape sequence to abort.
Sending 10, 1500-byte ICMP Echos to 10.4.4.4, timeout is 2 seconds:
Packet sent with a source address of 150.1.1.1
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 380/380/384 ms

DLS1#ping 10.4.4.4 source 100.1.1.1 size 1500 repeat 10

Type escape sequence to abort.
Sending 10, 1500-byte ICMP Echos to 10.4.4.4, timeout is 2 seconds:
Packet sent with a source address of 100.1.1.1
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 380/380/384 ms

DLS2#ping 10.4.4.4 source 200.2.2.2 size 1500 repeat 10

Type escape sequence to abort.
Sending 10, 1500-byte ICMP Echos to 10.4.4.4, timeout is 2 seconds:
Packet sent with a source address of 200.2.2.2
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 380/381/384 ms

Task 10

Unlike static tunnel configuration, 6to4 tunneling has three main characteristics, which make it unique from static tunnel implementation. These characteristics are:

  1. Automatic or Dynamic Tunneling
  2. Automatic Prefix Assignment
  3. There is no IPv6 Route Propagation

 

6to4 automatic tunneling provides a dynamic method to deploy tunnels between IPv6 sites over IPv4 networks. Unlike with manually configured tunnels, there is no need to manually configure tunnel source and destination addresses to establish the tunnels. Instead, the tunneling of IPv6 packets between 6to4 sites is performed dynamically based on the destination IPv6 address of the packets originated by IPv6 hosts. These packets are then encapsulated in IPv4 and IPv4 routing protocols are used to transport the packets between the source and destination hosts.

Automatic prefix assignment provides a global aggregate IPv6 prefix to each 6to4 site which is based on the 2002::/16 prefix assigned by IANA for 6to4 sites. As stated earlier in this section, the tunnel endpoint, or destination is determined by the globally unique IPv4 address embedded in a 6to4 address. This address must be an address that is globally routable. In other words, RFC 191 (private IP addresses) cannot be used for 6to4 tunnels because they are not unique. This 32-bit IPv4 address is converted to Hexadecimal and the final representation is a 48-bit prefix. For example, if the IP address 1.1.1.1 was embedded into the IPv6 6to4 prefix, the final representation would be 2002:0101:0101::/48.

And finally, 6to4 tunneling uses special addresses which are a combination of the unique IPv6 routing prefix 2002::/16 and a globally unique 32-bit IPv4 address. With 6to4 tunneling, the tunnel endpoint (destination) is determined by the globally unique IPv4 address embedded in the 6to4 address. Because 6to4 prefixes are based on unique IPv4 address, the 48-bit IPv6 routes do not need to be propagated between 6to4 sites. This task is completed as follows:

R2(config)#interface loopback 0
R2(config-if)#ip address 2.2.2.2 255.255.255.255
R2(config-if)#exit
R2(config)#router ospf 2
R2(config-router)#redistribute connected subnets
R2(config-router)#exit
R2(config)#ipv6 unicast-routing
R2(config)#ip cef
R2(config)#interface fastethernet 0/0
R2(config-if)#ipv6 address 2002:202:202:2::2/64
R2(config-if)#exit
R2(config)#interface tunnel 0
R2(config-if)#ipv6 unnumbered fastethernet 0/0
R2(config-if)#tunnel source loopback 0
R2(config-if)#tunnel mode ipv6ip 6to4
R2(config-if)#exit
R2(config)#ipv6 route 2002::/16 tunnel 0
R2(config)#exit
R3(config)#interface loopback 0
R3(config-if)#ip address 3.3.3.3 255.255.255.255
R3(config-if)#exit
R3(config)#router ospf 3
R3(config-router)#network 3.3.3.3 0.0.0.0 area 0
R3(config-router)#exit
R3(config)#ipv6 unicast-routing
R3(config)#ip cef
R3(config)#interface fastethernet 0/0
R3(config-if)#ipv6 address 2002:303:303:3::3/64
R3(config-if)#exit
R3(config)#interface tunnel 0
R3(config-if)#ipv6 unnumbered fastethernet 0/0
R3(config-if)#tunnel source loopback 0
R3(config-if)#tunnel mode ipv6ip 6to4
R3(config-if)#exit
R3(config)#ipv6 route 2002::/16 tunnel 0
R3(config)#exit

 

 

Verify your IPv6 addressing using the show ipv6 interface command on both routers:

R2#show ipv6 interface fastethernet 0/0
FastEthernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::20D:28FF:FE9E:F940 
Global unicast address(es):
2002:202:202:2::2, subnet is 2002:202:202:2::/64 
Joined group address(es):
FF02::1
FF02::2
FF02::1:FF00:2
FF02::1:FF9E:F940
MTU is 1500 bytes

[Truncated Output]

 

R3#show ipv6 interface fastethernet 0/0
FastEthernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::213:7FFF:FEAF:3E00 
Global unicast address(es):
2002:303:303:3::3, subnet is 2002:303:303:3::/64 
Joined group address(es):
FF02::1
FF02::2
FF02::1:FF00:3
FF02::1:FFAF:3E00
MTU is 1500 bytes

[Truncated Output]

 

R2#show ipv6 interface tunnel 0
Tunnel0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::202:202 
Interface is unnumbered. Using address of FastEthernet0/0
No global unicast address is configured
Joined group address(es):
FF02::1
FF02::2
FF02::1:FF02:202
MTU is 1480 bytes

[Truncated Output]

 

R3#show ipv6 interface tunnel 0
Tunnel0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::303:303 
Interface is unnumbered. Using address of FastEthernet0/0
No global unicast address is configured
Joined group address(es):
FF02::1
FF02::2
FF02::1:FF03:303
MTU is 1480 bytes

[Truncated Output]

 

Next, verify IPv6 routing using the show ipv6 route command on both routers:

R2#show ipv6 route
IPv6 Routing Table – 5 entries
Codes: C – Connected, L – Local, S – Static, R – RIP, B – BGP
U – Per-user Static route
I1 – ISIS L1, I2 – ISIS L2, IA – ISIS interarea, IS – ISIS summary
O – OSPF intra, OI – OSPF inter, OE1 – OSPF ext 1, OE2 – OSPF ext 2
ON1 – OSPF NSSA ext 1, ON2 – OSPF NSSA ext 2
S 2002::/16 [1/0]
via ::, Tunnel0
C 2002:202:202:2::/64 [0/0] via ::, FastEthernet0/0
L 2002:202:202:2::2/128 [0/0] via ::, FastEthernet0/0
L FE80::/10 [0/0] via ::, Null0
L FF00::/8 [0/0] via ::, Null0
R3#show ipv6 route
IPv6 Routing Table – 5 entries
Codes: C – Connected, L – Local, S – Static, R – RIP, B – BGP
U – Per-user Static route
I1 – ISIS L1, I2 – ISIS L2, IA – ISIS interarea, IS – ISIS summary
O – OSPF intra, OI – OSPF inter, OE1 – OSPF ext 1, OE2 – OSPF ext 2
ON1 – OSPF NSSA ext 1, ON2 – OSPF NSSA ext 2
S 2002::/16 [1/0]
via ::, Tunnel0
C 2002:303:303:3::/64 [0/0] via ::, FastEthernet0/0
L 2002:303:303:3::3/128 [0/0] via ::, FastEthernet0/0
L FE80::/10 [0/0] via ::, Null0
L FF00::/8 [0/0] via ::, Null0

Finally, verify LAN-to-LAN connectivity between the IPv6 subnets using an extended ping:

R2#ping 2002:303:303:3::3 source fastethernet 0/0 repeat 10 size 1500

Type escape sequence to abort.
Sending 10, 1500-byte ICMP Echos to 2002:303:303:3::3, timeout is 2 seconds:
Packet sent with a source address of 2002:202:202:2::2
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 204/207/208 ms

 

R3#ping 2002:202:202:2::2 source fastethernet 0/0 repeat 10 size 1500

Type escape sequence to abort.
Sending 10, 1500-byte ICMP Echos to 2002:202:202:2::2, timeout is 2 seconds:
Packet sent with a source address of 2002:303:303:3::3
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 204/207/208 ms

Task 11

To complete this task, you need to configure a NAT pool using the 150.1.1.0/24 subnet. In order to allow reachability to this subnet, without creating an additional interface, you need to configure a static route pointing to Null0 and advertise it via OSPF. Complete this as follows:

R3(config)#ip route 150.3.3.0 255.255.255.0 null 0
R3(config)#$at pool R3-LAN-POOL 150.3.3.1 150.3.3.254 netmask 255.255.255.0
R3(config)#access-list 100 permit ip 10.3.3.0 0.0.0.255 150.1.1.0 0.0.0.255
R3(config)#access-list 100 permit ip 10.3.3.0 0.0.0.255 150.2.2.0 0.0.0.255
R3(config)#ip nat inside source list 100 pool R3-LAN-POOL
R3(config)#interface fastethernet 0/0
R3(config-if)#ip nat inside
R3(config-if)#exit
R3(config)#interface serial 1/0
R3(config-if)#ip nat outside
R3(config-if)#exit
R3(config)#interface serial 1/1
R3(config-if)#ip nat outside
R3(config-if)#exit
R3(config)#end
R3#clear ip ospf redistribution

Following this configuration, ping from R3s LAN subnet to 150.1.1.0/24 and 150.2.2.0/24:

ALS2#ping 150.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 150.1.1.1, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 16/17/20 ms

ALS2#ping 150.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 150.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/16/20 ms

Finally, verify NAT operation using the show ip nat translations command on R3:

R3#show ip nat translations
Pro Inside global Inside local Outside local Outside global
icmp 150.3.3.1:4484 10.3.3.254:4484 150.1.1.1:4484 150.1.1.1:4484
icmp 150.3.3.1:4485 10.3.3.254:4485 150.1.1.1:4485 150.1.1.1:4485
icmp 150.3.3.1:4486 10.3.3.254:4486 150.1.1.1:4486 150.1.1.1:4486
icmp 150.3.3.1:4487 10.3.3.254:4487 150.1.1.1:4487 150.1.1.1:4487
icmp 150.3.3.1:4488 10.3.3.254:4488 150.1.1.1:4488 150.1.1.1:4488
icmp 150.3.3.1:7980 10.3.3.254:7980 150.2.2.2:7980 150.2.2.2:7980
icmp 150.3.3.1:7981 10.3.3.254:7981 150.2.2.2:7981 150.2.2.2:7981
icmp 150.3.3.1:7982 10.3.3.254:7982 150.2.2.2:7982 150.2.2.2:7982
icmp 150.3.3.1:7983 10.3.3.254:7983 150.2.2.2:7983 150.2.2.2:7983
icmp 150.3.3.1:7984 10.3.3.254:7984 150.2.2.2:7984 150.2.2.2:7984

Final Router Configurations

R1

R1#term len 0
R1#sh run
Building configuration…

Current configuration : 1662 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
no network-clock-participate slot 1
no network-clock-participate wic 0
ip cef
!
!
!
!
no ip domain lookup
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
ip address 150.1.1.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0
ip address 150.0.0.1 255.255.255.252
clock rate 2000000
!
interface Serial0/1
ip address 150.0.0.5 255.255.255.252
!
router ospf 1
router-id 1.1.1.1
log-adjacency-changes
redistribute connected subnets route-map LOOPBACK0
network 150.0.0.1 0.0.0.0 area 1
network 150.0.0.5 0.0.0.0 area 0
default-information originate always
!
router bgp 1
no synchronization
bgp router-id 1.1.1.1
bgp log-neighbor-changes
bgp graceful-restart restart-time 120
bgp graceful-restart stalepath-time 360
bgp graceful-restart
neighbor 4.4.4.4 remote-as 4
neighbor 4.4.4.4 ebgp-multihop 255
neighbor 4.4.4.4 update-source Loopback0
neighbor 4.4.4.4 default-originate
neighbor 150.1.1.253 remote-as 1
neighbor 150.1.1.253 next-hop-self
neighbor 150.1.1.254 remote-as 1
neighbor 150.1.1.254 next-hop-self
no auto-summary
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
route-map LOOPBACK0 permit 10
match interface Loopback0
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
password cisco
login
!
!
end

R1#

R2

R2#term len 0
R2#sh run
Building configuration…

Current configuration : 1351 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
no network-clock-participate slot 1
no network-clock-participate wic 0
ip cef
!
!
!
!
no ip domain lookup
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
ipv6 unicast-routing
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface Tunnel0
no ip address
no ip redirects
ipv6 unnumbered FastEthernet0/0
tunnel source Loopback0
tunnel mode ipv6ip 6to4
!
interface FastEthernet0/0
ip address 150.2.2.2 255.255.255.0
loopback
duplex auto
speed auto
ipv6 address 2002:202:202:2::2/64
no keepalive
!
interface Serial0/0
ip address 150.0.0.2 255.255.255.252
!
interface Serial0/1
ip address 150.0.0.9 255.255.255.252
!
router ospf 2
router-id 2.2.2.2
log-adjacency-changes
redistribute connected subnets
passive-interface FastEthernet0/0
network 150.0.0.2 0.0.0.0 area 1
network 150.0.0.9 0.0.0.0 area 0
network 150.2.2.2 0.0.0.0 area 1
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
ipv6 route 2002::/16 Tunnel0
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
password cisco
login
!
!
end

R2#

R3

 

R3#term len 0
R3#sh run
Building configuration…

Current configuration : 2126 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
no network-clock-participate slot 1
no network-clock-participate wic 0
ip cef
!
!
!
!
no ip domain lookup
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
ipv6 unicast-routing
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 3.3.3.3 255.255.255.255
!
interface Tunnel0
no ip address
no ip redirects
ipv6 unnumbered FastEthernet0/0
tunnel source Loopback0
tunnel mode ipv6ip 6to4
!
interface FastEthernet0/0
ip address 10.3.3.3 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
ipv6 address 2002:303:303:3::3/64
!
interface Serial1/0
ip address 150.0.0.6 255.255.255.252
ip nat outside
ip virtual-reassembly
clock rate 128000
!
interface Serial1/1
ip address 150.0.0.10 255.255.255.252
ip nat outside
ip virtual-reassembly
clock rate 128000
!
interface Serial1/2
ip address 150.0.0.13 255.255.255.252
clock rate 128000
!
interface Serial1/3
no ip address
shutdown
!
interface Serial1/4
no ip address
shutdown
!
interface Serial1/5
no ip address
shutdown
!
interface Serial1/6
no ip address
shutdown
!
interface Serial1/7
no ip address
shutdown
!
router ospf 3
router-id 3.3.3.3
log-adjacency-changes
redistribute static subnets
network 3.3.3.3 0.0.0.0 area 0
network 150.0.0.6 0.0.0.0 area 0
network 150.0.0.10 0.0.0.0 area 0
!
ip forward-protocol nd
ip route 4.4.4.4 255.255.255.255 Serial1/2
ip route 10.4.4.0 255.255.255.0 Serial1/2
ip route 150.3.3.0 255.255.255.0 Null0
!
!
no ip http server
no ip http secure-server
ip nat pool R3-LAN-POOL 150.3.3.1 150.3.3.254 netmask 255.255.255.0
ip nat inside source list 100 pool R3-LAN-POOL
!
access-list 100 permit ip 10.3.3.0 0.0.0.255 150.1.1.0 0.0.0.255
access-list 100 permit ip 10.3.3.0 0.0.0.255 150.2.2.0 0.0.0.255
ipv6 route 2002::/16 Tunnel0
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
password cisco
login
!
!
end

R3#

 

R4

 

R4#term len 0
R4#sh run
Building configuration…

Current configuration : 1146 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R4
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
no network-clock-participate slot 1
no network-clock-participate wic 0
ip cef
!
!
!
!
no ip domain lookup
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 4.4.4.4 255.255.255.255
!
interface FastEthernet0/0
ip address 10.4.4.4 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0
ip address 150.0.0.14 255.255.255.252
!
interface Serial0/1
no ip address
!
router bgp 4
no synchronization
bgp router-id 4.4.4.4
bgp log-neighbor-changes
network 10.4.4.0 mask 255.255.255.0
neighbor 1.1.1.1 remote-as 1
neighbor 1.1.1.1 ebgp-multihop 255
neighbor 1.1.1.1 update-source Loopback0
no auto-summary
!
ip forward-protocol nd
ip route 1.1.1.1 255.255.255.255 Serial0/0
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
password cisco
login
!
!
end

R4#

Final Switch Configurations

DLS1

 

DLS1#term len 0
DLS1#sh run
Building configuration…

Current configuration : 4993 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname DLS1
!
no logging console
!
no aaa new-model
ip subnet-zero
ip routing
no ip domain-lookup
!
vtp domain secure
vtp mode transparent
!
!
!
port-channel load-balance dst-mac
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
vlan 100
name R1-VLAN
!
!
!
!
!
!
interface Loopback0
ip address 100.1.1.1 255.255.255.0
!
interface Port-channel10
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/1
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/2
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/3
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/4
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/5
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/6
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/7
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/8
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/9
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/10
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/11
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 10 mode desirable
!
interface FastEthernet0/12
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 10 mode desirable
!
interface FastEthernet0/13
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/14
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/15
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/16
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/17
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/18
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/19
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/20
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/21
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/22
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/23
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/24
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/25
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/26
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/27
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/28
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/29
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/30
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/31
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/32
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/33
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/34
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/35
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/36
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/37
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/38
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/39
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/40
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/41
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/42
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/43
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/44
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/45
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/46
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/47
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/48
switchport mode dynamic desirable
shutdown
!
interface GigabitEthernet0/1
switchport mode dynamic desirable
!
interface GigabitEthernet0/2
switchport mode dynamic desirable
!
interface Vlan1
no ip address
shutdown
!
interface Vlan100
ip address 150.1.1.254 255.255.255.0
!
router bgp 1
no synchronization
bgp router-id 150.1.1.254
bgp log-neighbor-changes
bgp graceful-restart restart-time 120
bgp graceful-restart stalepath-time 360
bgp graceful-restart
network 100.1.1.0 mask 255.255.255.0
neighbor 150.1.1.1 remote-as 1
neighbor 150.1.1.253 remote-as 1
no auto-summary
!
ip classless
ip http server
ip http secure-server
!
!
!
control-plane
!
!
line con 0
line vty 0 4
privilege level 15
password cisco
login
line vty 5 15
login
!
end

DLS1#

DLS2

 

DLS2#term len 0
DLS2#sh run
Building configuration…

Current configuration : 6603 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname DLS2
!
no logging console
!
no aaa new-model
ip subnet-zero
ip routing
no ip domain-lookup
!
vtp domain secure
vtp mode transparent
!
!
crypto pki trustpoint TP-self-signed-4251411712
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-4251411712
revocation-check none
rsakeypair TP-self-signed-4251411712
!
!
crypto pki certificate chain TP-self-signed-4251411712
certificate self-signed 01
3082023D 308201A6 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 34323531 34313137 3132301E 170D3933 30333031 30343531
35395A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D34 32353134
31313731 3230819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100BAAA AC1C8450 0918BF5B 07DDB633 31E10D67 9D935C85 5206A584 FB17895D
465EEC05 DE6CEA88 26147436 C847AA81 2094418D 9EDFC438 64035547 DCA6048C
EA050417 E676476F 7644C154 DA454939 F0309634 8DAA5D54 FABE7282 3E785059
4D05944B 3F9FF266 3F909618 E52F918C 69BE861E CAB5311B D599AD96 82B62A39
CC6D0203 010001A3 65306330 0F060355 1D130101 FF040530 030101FF 30100603
551D1104 09300782 05444C53 322E301F 0603551D 23041830 168014F4 E1F78348
24047B46 3BD162F0 5A28DE61 7C592A30 1D060355 1D0E0416 0414F4E1 F7834824
047B463B D162F05A 28DE617C 592A300D 06092A86 4886F70D 01010405 00038181
00781FE8 D6D94AD9 85DDFAF4 5FEEF04B 7476260C C94EFB39 3FA7A6CB DB38B85F
3F318479 41E7FA4B 457A02D2 CBABB831 992F4A9E E1CDDABF 77BD0B5D D717F924
6C72C7A8 25F84154 A6381F55 90A14F8A 34713CF0 933CB4E5 B4C9E65D 1CB63F9C
696619AC 22D8DB37 6D2A9B56 AA5A4111 0CCB9CBD 62FA571C 6F044F5A 38977D98 E7
quit
port-channel load-balance dst-mac
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
vlan 100
name R1-VLAN
!
vlan 192
name secure-vlan
!
!
!
!
!
!
interface Loopback0
ip address 200.2.2.2 255.255.255.0
!
interface Port-channel10
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/1
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/2
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/3
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/4
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/5
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/6
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/7
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/8
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/9
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/10
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/11
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 10 mode desirable
!
interface FastEthernet0/12
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 10 mode desirable
!
interface FastEthernet0/13
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/14
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/15
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/16
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/17
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/18
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/19
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/20
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/21
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/22
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/23
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/24
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/25
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/26
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/27
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/28
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/29
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/30
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/31
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/32
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/33
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/34
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/35
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/36
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/37
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/38
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/39
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/40
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/41
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/42
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/43
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/44
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/45
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/46
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/47
switchport mode dynamic desirable
shutdown
!
interface FastEthernet0/48
switchport mode dynamic desirable
shutdown
!
interface GigabitEthernet0/1
switchport mode dynamic desirable
!
interface GigabitEthernet0/2
switchport mode dynamic desirable
!
interface Vlan1
no ip address
shutdown
!
interface Vlan100
ip address 150.1.1.253 255.255.255.0
!
router bgp 1
no synchronization
bgp router-id 150.1.1.253
bgp log-neighbor-changes
bgp graceful-restart restart-time 120
bgp graceful-restart stalepath-time 360
bgp graceful-restart
network 200.2.2.0
neighbor 150.1.1.1 remote-as 1
neighbor 150.1.1.254 remote-as 1
no auto-summary
!
ip classless
ip http server
ip http secure-server
!
!
!
control-plane
!
!
line con 0
line vty 0 4
privilege level 15
password cisco
login
line vty 5 15
login
!
end

DLS2#

ALS1

 

 

ALS1#term len 0
ALS1#sh run
Building configuration…

Current configuration : 1654 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname ALS1
!
no logging console
!
errdisable recovery cause bpduguard
errdisable recovery interval 600
ip subnet-zero
!
no ip domain-lookup
vtp domain secure
vtp mode transparent
!
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
spanning-tree vlan 1,100,300,400 priority 0
!
!
!
!
vlan 100
name R1-VLAN
!
vlan 300
name R3-VLAN
!
vlan 400
name R4-VLAN
!
interface FastEthernet0/1
switchport access vlan 100
switchport mode access
spanning-tree bpduguard enable
!
interface FastEthernet0/2
shutdown
!
interface FastEthernet0/3
switchport access vlan 300
switchport mode access
spanning-tree bpduguard enable
!
interface FastEthernet0/4
switchport access vlan 400
switchport mode access
spanning-tree bpduguard enable
!
interface FastEthernet0/5
shutdown
!
interface FastEthernet0/6
shutdown
!
interface FastEthernet0/7
switchport mode trunk
spanning-tree guard root
!
interface FastEthernet0/8
switchport mode trunk
spanning-tree guard root
!
interface FastEthernet0/9
shutdown
!
interface FastEthernet0/10
shutdown
!
interface FastEthernet0/11
switchport mode trunk
spanning-tree guard root
!
interface FastEthernet0/12
switchport mode trunk
spanning-tree guard root
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan400
ip address 10.4.4.254 255.255.255.0
no ip route-cache
!
ip default-gateway 10.4.4.4
ip http server
!
line con 0
line vty 0 4
privilege level 15
password cisco
login
line vty 5 15
login
!
!
end

ALS1#

ALS2

 

ALS2#term len 0
ALS2#sh run
Building configuration…

Current configuration : 1135 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname ALS2
!
no logging console
!
ip subnet-zero
!
no ip domain-lookup
vtp domain fhrp
vtp mode transparent
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
vlan 300
name R3-VLAN
!
interface FastEthernet0/1
shutdown
!
interface FastEthernet0/2
shutdown
!
interface FastEthernet0/3
shutdown
!
interface FastEthernet0/4
shutdown
!
interface FastEthernet0/5
shutdown
!
interface FastEthernet0/6
shutdown
!
interface FastEthernet0/7
shutdown
!
interface FastEthernet0/8
shutdown
!
interface FastEthernet0/9
shutdown
!
interface FastEthernet0/10
shutdown
!
interface FastEthernet0/11
switchport mode trunk
!
interface FastEthernet0/12
switchport mode trunk
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan300
ip address 10.3.3.254 255.255.255.0
no ip route-cache
!
ip default-gateway 10.3.3.3
ip http server
!
line con 0
line vty 0 4
privilege level 15
password cisco
login
line vty 5 15
login
!
!
end

ALS2#

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.