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 074 Solution: Branch Office Connectivity Lab

CCNP Lab 074 Solution: Branch Office Connectivity Lab

Lab Objective:

The focus of this lab is to understand branch office connectivity implementation and configuration. Additional technologies include IP routing, FHRPs, and IPsec VPNs.

Lab Topology:

The lab network topology is illustrated below:

department674

 

 

IMPORTANT NOTE

If you are using the www.howtonetwork.net racks, please bring up the LAN interfaces connected to the routers by issuing the no shutdown command on the connected switches. If you are using a home lab with no
Switches, you can bring up the LAN interfaces using the following configurations on your routers:

interface fastethernet 0/0
no keepalive
loopback
no shutdown

Alternately, you can simply connect the interfaces to a hub or switch if you have one available in your own lab.

 

Task 1

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

Task 2

Configure IP routing as illustrated in the topology. Use AS 65500 for both BGP and EIGRP. Use OSPF process ID 1 for OSPF. Do NOT enable any dynamic routing protocols on the R3-R4 link. However, ensure that R1 and R2 know about this subnet.

Ensure that all routers can each other. Implement the necessary route redistribution so that all routers can ping each other. However, you are NOT allowed to redistribute anything into BGP.
Verify the solution using the appropriate commands on all routers.

Task 3

Configure HSRP on the LAN segment between R1 and R4. Use a VIP of 150.1.1.254. Configure R1 with a priority of 105 and R4 with a priority of 100. Ensure that R4 becomes active gateway when R1s Serial 0/0 interface goes down. When R1s Serial0/0 interface comes up, R1 should wait 30 seconds before it assumes the role of active gateway. Verify your HSRP configuration.

Task 4

Assume that the link between R1 and R2 is secure; however, the link between R3 and R4 is not. Management requests that you configure an IPsec tunnel so that when the R1-R2 link is down, traffic between the 150.1.1.0/24 and 150.2.2.0/24 subnets is encrypted and sent across the R3-R4 link. Do NOT configure a GRE Tunnel. Configure the IPsec solution as follows:

  1. Use Advanced Encryption Standard (AES) as the encryption algorithm
  2. Use a 256-bit AES encryption key
  3. Use pre-shared key authentication with a shared key of CCNP2011
  4. Use Diffie-Hellman group 5

Test your solution and verify that R1 and R2 can ping each other from their LAN interfaces.

Lab Validation

Task 1

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

Task 2

The requirements of this task are straightforward. OSPF, EIGRP and BGP configuration as well as redistribution have been illustrated in previous labs. This task is completed as follows:

R1(config)#router eigrp 65500
R1(config-router)#no auto-summary
R1(config-router)#network 150.1.1.1 0.0.0.0
R1(config-router)#redistribute connected
R1(config-router)#redistribute bgp 65500
R1(config-router)#default-metric 1544 2000 255 1 1500
R1(config-router)#exit
R1(config)#router bgp 65500
R1(config-router)#bgp router-id 1.1.1.1
R1(config-router)#neighbor 10.0.0.2 remote-as 65500
R1(config-router)#network 150.1.1.0 mask 255.255.255.0
R1(config-router)#bgp redistribute-internal
R1(config-router)#exit
R2(config)#router ospf 1
R2(config-router)#router-id 2.2.2.2
R2(config-router)#network 150.2.2.2 0.0.0.0 area 0
R2(config-router)#redistribute connected subnets
R2(config-router)#redistribute bgp 65500 subnets
R2(config-router)#exit 
R2(config)#router bgp 65500
R2(config-router)#bgp router-id 2.2.2.2
R2(config-router)#neighbor 10.0.0.1 remote-as 65500
R2(config-router)#bgp redistribute-internal
R2(config-router)#network 150.2.2.0 mask 255.255.255.0
R2(config-router)#exit
R3(config)#router ospf 1
R3(config-router)#router-id 3.3.3.3
R3(config-router)#network 150.2.2.3 0.0.0.0 area 0
R3(config-router)#redistribute connected subnets
R3(config-router)#exit
R4(config)#router eigrp 65500
R4(config-router)#no auto-summary
R4(config-router)#network 150.1.1.4 0.0.0.0
R4(config-router)#redistribute connected
R4(config-router)#exit

Following this, verify IP routing using the show ip route command on all routers:

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

10.0.0.0/30 is subnetted, 2 subnets
D EX 10.0.0.12 [170/2172416] via 150.1.1.4, 00:01:28, FastEthernet0/0
C 10.0.0.0 is directly connected, Serial0/0
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
B 150.2.2.0 [200/0] via 10.0.0.2, 00:04:33

R2#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

10.0.0.0/30 is subnetted, 2 subnets
O E2 10.0.0.12 [110/20] via 150.2.2.3, 00:02:41, FastEthernet0/0
C 10.0.0.0 is directly connected, Serial0/0
150.1.0.0/24 is subnetted, 1 subnets
B 150.1.1.0 [200/0] via 10.0.0.1, 00:04:36
150.2.0.0/24 is subnetted, 1 subnets
C 150.2.2.0 is directly connected, FastEthernet0/0

R3#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

10.0.0.0/30 is subnetted, 2 subnets
C 10.0.0.12 is directly connected, Serial1/2
O E2 10.0.0.0 [110/20] via 150.2.2.2, 00:02:43, FastEthernet0/0
150.1.0.0/24 is subnetted, 1 subnets
O E2 150.1.1.0 [110/1] via 150.2.2.2, 00:02:43, FastEthernet0/0
150.2.0.0/24 is subnetted, 1 subnets
C 150.2.2.0 is directly connected, FastEthernet0/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 not set

10.0.0.0/30 is subnetted, 2 subnets
C 10.0.0.12 is directly connected, Serial0/0
D EX 10.0.0.0 [170/2172416] via 150.1.1.1, 00:01:38, FastEthernet0/0
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
D EX 150.2.2.0 [170/2172416] via 150.1.1.1, 00:01:38, FastEthernet0/0

Finally, ping from all routers to every other router to verify your solution. For brevity, the solution will show pings from R4 to every other router in the network:

R4#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 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

R4#ping 10.0.0.2

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

 

R4#ping 150.2.2.3

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

Task 3

The core requirements of this task are straightforward. To ensure that R1 re-assumes its role as the primary gateway after its Serial0/0 link comes up, you can specify this parameter in the Enhanced Object Tracking configuration or using HSRP commands. This lab solution shows the delay value being specified using HSRP commands:

R1(config)#track 1 interface serial 0/0 line-protocol 
R1(config-track)#exit 
R1(config)#interface fastethernet 0/0
R1(config-if)#standby 1 ip 150.1.1.254
R1(config-if)#standby 1 priority 105
R1(config-if)#standby 1 preempt
R1(config-if)#standby 1 preempt delay minimum 30
R1(config-if)#standby 1 track 1 decrement 10
R1(config-if)#exit

If you wanted to use EOT, you could also complete this section as follows:

R1(config)#track 1 interface serial 0/0 line-protocol
R1(config-track)#delay up 30
R1(config-track)#exit

Complete this task on R4 as follows:

R4(config)#interface fastethernet 0/0
R4(config-if)#standby 1 ip 150.1.1.254
R4(config-if)#standby 1 preempt
R4(config-if)#exit

Verify your HSRP configuration using the show standby commands:

R1#show standby fastethernet 0/0
FastEthernet0/0 – Group 1
State is Active
2 state changes, last state change 00:03:08
Virtual IP address is 150.1.1.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.820 secs
Preemption enabled, delay min 30 secs
Active router is local
Standby router is 150.1.1.4, priority 100 (expires in 9.916 sec)
Priority 105 (configured 105)
Track object 1 state Up decrement 10
IP redundancy name is “hsrp-Fa0/0-1” (default)
R4#show standby fastethernet 0/0
FastEthernet0/0 – Group 1
State is Standby
1 state change, last state change 00:00:34
Virtual IP address is 150.1.1.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.484 secs
Preemption enabled
Active router is 150.1.1.1, priority 105 (expires in 9.384 sec)
Standby router is local
Priority 100 (default 100)
IP redundancy name is “hsrp-Fa0/0-1” (default)

Task 4

The requirements of this task are two-fold. First, you need to configure a site-to-site IPsec VPN between R3 and R4. Second, you need to ensure that traffic is sent across this tunnel when the WAN link between R1 and R2 is down. Additionally, because the subnets are advertised by internal BGP, they will have an administrative distance of 200. To ensure that this path is only used as a backup, you need to modify the default administrative distance values on R1 and R2 as well. This task is completed as follows:

R1(config)#router eigrp 65500
R1(config-router)#distance eigrp 90 210
R1(config-router)#exit
R2(config)#router ospf 1
R2(config-router)#distance ospf external 210
R2(config-router)#exit
R3(config)#ip route 150.1.1.0 255.255.255.0 10.0.0.14 254
R3(config)#router ospf 1
R3(config-router)#redistribute static subnets
R3(config-router)#exit
R3(config)#ip access-list extended SECURE-TRAFFIC
R3(config-ext-nacl)#permit ip 150.2.2.0 0.0.0.255 150.1.1.0 0.0.0.255
R3(config-ext-nacl)#exit
R3(config)#crypto isakmp policy 1
R3(config-isakmp)#encryption aes 256
R3(config-isakmp)#authentication pre-share
R3(config-isakmp)#group 5
R3(config-isakmp)#exit
R3(config)#crypto isakmp key CCNP2011 address 10.0.0.14
R3(config)#crypto ipsec transform-set AES-SECURE esp-aes 256
R3(cfg-crypto-trans)#exit
R3(config)#crypto map BACKUP-SOLUTION 1 ipsec-isakmp
% NOTE: This new crypto map will remain disabled until a peer
and a valid access list have been configured.
R3(config-crypto-map)#set peer 10.0.0.14
R3(config-crypto-map)#set transform-set AES-SECURE
R3(config-crypto-map)#match address SECURE-TRAFFIC
R3(config-crypto-map)#exit
R3(config)#interface serial 1/2
R3(config-if)#crypto map BACKUP-SOLUTION
R3(config-if)#exit
R4(config)#ip route 150.2.2.0 255.255.255.0 10.0.0.13 254
R4(config)#router eigrp 65500
R4(config-router)#redistribute static
R4(config-router)#exit
R4(config)#ip access-list extended SECURE-TRAFFIC
R4(config-ext-nacl)#permit ip 150.1.1.0 0.0.0.255 150.2.2.0 0.0.0.255
R4(config-ext-nacl)#exit
R4(config)#crypto isakmp policy 1
R4(config-isakmp)#encryption aes 256
R4(config-isakmp)#authentication pre-share
R4(config-isakmp)#group 5
R4(config-isakmp)#exit
R4(config)#crypto isakmp key CCNP2011 address 10.0.0.13
R4(config)#crypto ipsec transform-set AES-SECURE esp-aes 256
R4(cfg-crypto-trans)#exit
R4(config)#crypto map BACKUP-SOLUTION 1 ipsec-isakmp
% NOTE: This new crypto map will remain disabled until a peer
and a valid access list have been configured.
R4(config-crypto-map)#set peer 10.0.0.13
R4(config-crypto-map)#set transform-set AES-SECURE
R4(config-crypto-map)#match address SECURE-TRAFFIC
R4(config-crypto-map)#exit
R4(config)#interface serial 0/0
R4(config-if)#crypto map BACKUP-SOLUTION
R4(config-if)#exit

Next, verify your configuration using the show crypto commands:

R4#show crypto isakmp policy

Global IKE policy
Protection suite of priority 1
encryption algorithm: AES – Advanced Encryption Standard (256 bit keys).
hash algorithm: Secure Hash Standard
authentication method: Pre-Shared Key
Diffie-Hellman group: #5 (1536 bit)
lifetime: 86400 seconds, no volume limit
Default protection suite
encryption algorithm: DES – Data Encryption Standard (56 bit keys).
hash algorithm: Secure Hash Standard
authentication method: Rivest-Shamir-Adleman Signature
Diffie-Hellman group: #1 (768 bit)
lifetime: 86400 seconds, no volume limit

 

R4#show crypto map
Crypto Map “BACKUP-SOLUTION” 1 ipsec-isakmp
Peer = 10.0.0.13
Extended IP access list SECURE-TRAFFIC
access-list SECURE-TRAFFIC permit ip 150.1.1.0 0.0.0.255 150.2.2.0 0.0.0.255
Current peer: 10.0.0.13
Security association lifetime: 4608000 kilobytes/3600 seconds
PFS (Y/N): N
Transform sets={ 
AES-SECURE, 
}
Interfaces using crypto map BACKUP-SOLUTION:
Serial0/0

Finally, test your solution by disabling the R1-R2 link and checking routing on R1 and R2 for the 150.2.2.0/24 and 150.1.1.0/24 subnets. Prior to this, the routing for the subnets is as follows:

R1#show ip route 150.2.2.0 255.255.255.0
Routing entry for 150.2.2.0/24
Known via “bgp 65500”, distance 200, metric 0, type internal
Redistributing via eigrp 65500
Advertised by eigrp 65500
Last update from 10.0.0.2 00:02:10 ago
Routing Descriptor Blocks:
* 10.0.0.2, from 10.0.0.2, 00:02:10 ago
Route metric is 0, traffic share count is 1
AS Hops 0
R2#show ip route 150.1.1.0 255.255.255.0
Routing entry for 150.1.1.0/24
Known via “bgp 65500”, distance 200, metric 0, type internal
Redistributing via ospf 1
Advertised by ospf 1 subnets
Last update from 10.0.0.1 00:01:30 ago
Routing Descriptor Blocks:
* 10.0.0.1, from 10.0.0.1, 00:01:30 ago
Route metric is 0, traffic share count is 1
AS Hops 0
R3#show ip route 150.1.1.0 255.255.255.0
Routing entry for 150.1.1.0/24
Known via “ospf 1”, distance 110, metric 1, type extern 2, forward metric 1
Last update from 150.2.2.2 on FastEthernet0/0, 00:01:45 ago
Routing Descriptor Blocks:
* 150.2.2.2, from 2.2.2.2, 00:01:45 ago, via FastEthernet0/0
Route metric is 1, traffic share count is 1
R4#show ip route 150.2.2.0 255.255.255.0
Routing entry for 150.2.2.0/24
Known via “eigrp 65500”, distance 170, metric 2172416, type external
Redistributing via eigrp 65500
Last update from 150.1.1.1 on FastEthernet0/0, 00:03:48 ago
Routing Descriptor Blocks:
* 150.1.1.1, from 150.1.1.1, 00:03:48 ago, via FastEthernet0/0
Route metric is 2172416, traffic share count is 1
Total delay is 20100 microseconds, minimum bandwidth is 1544 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 1

Next, shut down the WAN link that connects routers R1 and R2:

R1(config)#interface serial 0/0
R1(config-if)#shutdown

After this, verify that routing information is correct:

R1#show ip route 150.2.2.0 255.255.255.0
Routing entry for 150.2.2.0/24
Known via “eigrp 65500”, distance 170, metric 2172416, type external
Redistributing via eigrp 65500
Last update from 150.1.1.4 on FastEthernet0/0, 00:00:09 ago
Routing Descriptor Blocks:
* 150.1.1.4, from 150.1.1.4, 00:00:09 ago, via FastEthernet0/0
Route metric is 2172416, traffic share count is 1
Total delay is 20100 microseconds, minimum bandwidth is 1544 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 1
R2#show ip route 150.1.1.0 255.255.255.0
Routing entry for 150.1.1.0/24
Known via “ospf 1”, distance 110, metric 20, type extern 2, forward metric 1
Last update from 150.2.2.3 on FastEthernet0/0, 00:00:56 ago
Routing Descriptor Blocks:
* 150.2.2.3, from 3.3.3.3, 00:00:56 ago, via FastEthernet0/0
Route metric is 20, traffic share count is 1

Next, ping between R1 and R2:

R1#ping 150.2.2.2 repeat 20 size 1500

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

R2#ping 150.1.1.1 repeat 20 size 1500

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

 

 

Finally, view encryption status and statistics using the show crypto commands:

R3#show crypto ipsec sa

interface: Serial1/2
Crypto map tag: BACKUP-SOLUTION, local addr 10.0.0.13

protected vrf: (none)
local ident (addr/mask/prot/port): (150.2.2.0/255.255.255.0/0/0)
remote ident (addr/mask/prot/port): (150.1.1.0/255.255.255.0/0/0)
current_peer 10.0.0.14 port 500
PERMIT, flags={origin_is_acl,}
#pkts encaps: 80, #pkts encrypt: 80, #pkts digest: 80
#pkts decaps: 80, #pkts decrypt: 80, #pkts verify: 80
#pkts compressed: 0, #pkts decompressed: 0
#pkts not compressed: 0, #pkts compr. failed: 0
#pkts not decompressed: 0, #pkts decompress failed: 0
#send errors 0, #recv errors 0

local crypto endpt.: 10.0.0.13, remote crypto endpt.: 10.0.0.14
path mtu 1500, ip mtu 1500, ip mtu idb Serial1/2
current outbound spi: 0x8E8C5624(2391561764)

inbound esp sas:
spi: 0x127922C2(309928642)
transform: esp-256-aes ,
in use settings ={Tunnel, }
conn id: 2001, flow_id: SW:1, crypto map: BACKUP-SOLUTION
sa timing: remaining key lifetime (k/sec): (4607493/3273)
IV size: 16 bytes
replay detection support: N
Status: ACTIVE

inbound ah sas:

inbound pcp sas:

outbound esp sas:
spi: 0x8E8C5624(2391561764)
transform: esp-256-aes ,
in use settings ={Tunnel, }
conn id: 2002, flow_id: SW:2, crypto map: BACKUP-SOLUTION
sa timing: remaining key lifetime (k/sec): (4607495/3265)
IV size: 16 bytes
replay detection support: N
Status: ACTIVE

outbound ah sas:

outbound pcp sas:

R4#show crypto ipsec sa

interface: Serial0/0
Crypto map tag: BACKUP-SOLUTION, local addr 10.0.0.14

protected vrf: (none)
local ident (addr/mask/prot/port): (150.1.1.0/255.255.255.0/0/0)
remote ident (addr/mask/prot/port): (150.2.2.0/255.255.255.0/0/0)
current_peer 10.0.0.13 port 500
PERMIT, flags={origin_is_acl,}
#pkts encaps: 80, #pkts encrypt: 80, #pkts digest: 80
#pkts decaps: 80, #pkts decrypt: 80, #pkts verify: 80
#pkts compressed: 0, #pkts decompressed: 0
#pkts not compressed: 0, #pkts compr. failed: 0
#pkts not decompressed: 0, #pkts decompress failed: 0
#send errors 0, #recv errors 0

local crypto endpt.: 10.0.0.14, remote crypto endpt.: 10.0.0.13
path mtu 1500, ip mtu 1500, ip mtu idb Serial0/0
current outbound spi: 0x127922C2(309928642)

inbound esp sas:
spi: 0x8E8C5624(2391561764)
transform: esp-256-aes ,
in use settings ={Tunnel, }
conn id: 2001, flow_id: SW:1, crypto map: BACKUP-SOLUTION
sa timing: remaining key lifetime (k/sec): (4482975/3270)
IV size: 16 bytes
replay detection support: N
Status: ACTIVE

inbound ah sas:

inbound pcp sas:

outbound esp sas:
spi: 0x127922C2(309928642)
transform: esp-256-aes ,
in use settings ={Tunnel, }
conn id: 2002, flow_id: SW:2, crypto map: BACKUP-SOLUTION
sa timing: remaining key lifetime (k/sec): (4482973/3269)
IV size: 16 bytes
replay detection support: N
Status: ACTIVE

outbound ah sas:

outbound pcp sas:

R3#show crypto session detail
Crypto session current status

Code: C – IKE Configuration mode, D – Dead Peer Detection
K – Keepalives, N – NAT-traversal, X – IKE Extended Authentication

Interface: Serial1/2
Session status: UP-ACTIVE
Peer: 10.0.0.14 port 500 fvrf: (none) ivrf: (none)
Phase1_id: 10.0.0.14
Desc: (none)
IKE SA: local 10.0.0.13/500 remote 10.0.0.14/500 Active
Capabilities:(none) connid:1 lifetime:23:53:37
IPSEC FLOW: permit ip 150.2.2.0/255.255.255.0 150.1.1.0/255.255.255.0
Active SAs: 2, origin: crypto map
Inbound: #pkts dec’ed 80 drop 0 life (KB/Sec) 4607493/3219
Outbound: #pkts enc’ed 80 drop 0 life (KB/Sec) 4607495/3219

R4#show crypto session detail
Crypto session current status

Code: C – IKE Configuration mode, D – Dead Peer Detection
K – Keepalives, N – NAT-traversal, X – IKE Extended Authentication

Interface: Serial0/0
Session status: UP-ACTIVE
Peer: 10.0.0.13 port 500 fvrf: (none) ivrf: (none)
Phase1_id: 10.0.0.13
Desc: (none)
IKE SA: local 10.0.0.14/500 remote 10.0.0.13/500 Active
Capabilities:(none) connid:1 lifetime:23:53:49
IPSEC FLOW: permit ip 150.1.1.0/255.255.255.0 150.2.2.0/255.255.255.0
Active SAs: 2, origin: crypto map
Inbound: #pkts dec’ed 80 drop 0 life (KB/Sec) 4482975/3230
Outbound: #pkts enc’ed 80 drop 0 life (KB/Sec) 4482973/3230

Final Router Configurations

R1

 

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

Current configuration : 1339 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
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
track 1 interface Serial0/0 line-protocol
!
!
!
!
!
interface FastEthernet0/0
ip address 150.1.1.1 255.255.255.0
duplex auto
speed auto
standby 1 ip 150.1.1.254
standby 1 priority 105
standby 1 preempt delay minimum 30
standby 1 track 1
!
interface Serial0/0
ip address 10.0.0.1 255.255.255.252
clock rate 2000000
!
interface Serial0/1
no ip address
shutdown
!
router eigrp 65500
redistribute connected
redistribute bgp 65500
network 150.1.1.1 0.0.0.0
default-metric 1544 2000 255 1 1500
distance eigrp 90 210
no auto-summary
!
router bgp 65500
no synchronization
bgp router-id 1.1.1.1
bgp log-neighbor-changes
bgp redistribute-internal
network 150.1.1.0 mask 255.255.255.0
neighbor 10.0.0.2 remote-as 65500
no auto-summary
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
!
end

R1#

R2

 

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

Current configuration : 1181 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
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 150.2.2.2 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0
ip address 10.0.0.2 255.255.255.252
!
interface Serial0/1
no ip address
shutdown
!
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
redistribute connected subnets
redistribute bgp 65500 subnets
network 150.2.2.2 0.0.0.0 area 0
distance ospf external 210
!
router bgp 65500
no synchronization
bgp router-id 2.2.2.2
bgp log-neighbor-changes
bgp redistribute-internal
network 150.2.2.0 mask 255.255.255.0
neighbor 10.0.0.1 remote-as 65500
no auto-summary
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
!
end

R2#

R3

 

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

Current configuration : 1752 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
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
crypto isakmp policy 1
encr aes 256
authentication pre-share
group 5
crypto isakmp key CCNP2011 address 10.0.0.14
!
!
crypto ipsec transform-set AES-SECURE esp-aes 256
!
crypto map BACKUP-SOLUTION 1 ipsec-isakmp
set peer 10.0.0.14
set transform-set AES-SECURE
match address SECURE-TRAFFIC
!
!
!
!
interface FastEthernet0/0
ip address 150.2.2.3 255.255.255.0
duplex auto
speed auto
!
interface Serial1/0
no ip address
shutdown
clock rate 128000
!
interface Serial1/1
no ip address
shutdown
clock rate 128000
!
interface Serial1/2
ip address 10.0.0.13 255.255.255.252
clock rate 128000
crypto map BACKUP-SOLUTION
!
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 1
router-id 3.3.3.3
log-adjacency-changes
redistribute connected subnets
redistribute static subnets
network 150.2.2.3 0.0.0.0 area 0
!
ip forward-protocol nd
ip route 150.1.1.0 255.255.255.0 10.0.0.14 254
!
!
no ip http server
no ip http secure-server
!
ip access-list extended SECURE-TRAFFIC
permit ip 150.2.2.0 0.0.0.255 150.1.1.0 0.0.0.255
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
!
end

R3#

R4

 

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

Current configuration : 1415 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
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
crypto isakmp policy 1
encr aes 256
authentication pre-share
group 5
crypto isakmp key CCNP2011 address 10.0.0.13
!
!
crypto ipsec transform-set AES-SECURE esp-aes 256
!
crypto map BACKUP-SOLUTION 1 ipsec-isakmp
set peer 10.0.0.13
set transform-set AES-SECURE
match address SECURE-TRAFFIC
!
!
!
!
interface FastEthernet0/0
ip address 150.1.1.4 255.255.255.0
duplex auto
speed auto
standby 1 ip 150.1.1.254
standby 1 preempt
!
interface Serial0/0
ip address 10.0.0.14 255.255.255.252
crypto map BACKUP-SOLUTION
!
interface Serial0/1
no ip address
shutdown
!
router eigrp 65500
redistribute connected
redistribute static
network 150.1.1.4 0.0.0.0
no auto-summary
!
ip forward-protocol nd
ip route 150.2.2.0 255.255.255.0 10.0.0.13 254
!
!
no ip http server
no ip http secure-server
!
ip access-list extended SECURE-TRAFFIC
permit ip 150.1.1.0 0.0.0.255 150.2.2.0 0.0.0.255
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
!
end

R4#

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.