
————————————————————————————————————————————–
Instructions
Configure the routers according to the above diagram and the requirements
below.
Requirements
• Configure the interfaces with the IP addresses shown in the diagram.
• Configure R2 and R3 to be in EIGRP AS 65100. Add the entire class B network
and disable automatic summarization.
2 – 2 CCNP: Building Scalable Internetworks v5.0 – Skills-Based Assessment 2 Copyright © 2006, Cisco Systems, Inc
• Configure OSPF area 0 on the link between R1 and R2. Also add the loopback
interfaces on R1 into area 0.
• Have R3 redistribute its connected routes into EIGRP.
• Make sure all loopback interfaces are advertised with the correct mask.
• Have R2 originate a default route into the OSPF domain.
• Redistribute OSPF into EIGRP.
• Filter out 172.16.120.0 and 172.16.121.0 from being advertised to R3.
• Configure R2 and R3 in BGP AS 65100. Configure R4 in BGP AS 65400.
• Peer R2 and R3 in BGP on their loopback interfaces.
• Peer R3 and R4 in BGP.
• Have R4 advertise its loopback interfaces into BGP.
• Configure R3 to filter out 172.31.8.0 and 172.31.12.0 on the inbound updates
from R4.
• Configure R4 with a static route to the 172.16.0.0/16 network via R3.
这是今天在网上看到的一道题。
前面的问题都比较简单。但后面的BGP我还搞不定。特留在这待我把路由卷看完了再解后面几问》
1.配IP就不说了
2.在R2和R3之间启用EIGRP,并以B类地址宣告这几个网段,并取消掉autosummary
3. 在R1和R2之间启用OSPF Area 0 。并宣告R1的Loopback端口。
4. 检查各Loopback端口的地址配置是否正确。
5.在R3上面重发布直连路由进EIGRP
6.将R2以默认路由方式插入OSPF域。
7.重发布OSPF进EIGRP。
8.过滤掉这两个段的宣告到R3.
9.配置两个BGP。
10.Peer R2 and R3 in BGP on their loopback interfaces.这个问题我没弄懂意思,也没有操作成功。
11.R3和R4的BGP
12.将R4的LOOPBACK接口宣告进BGP
13.过滤掉172.31.8.0 /172.31.12.0的更新包。
14.配置R4到172.16.0.0/16的静态路由。
R1 Configure:
R1#show run
Building configuration…
Current configuration : 1319 bytes
!
! Last configuration change at 11:40:24 UTC Tue Sep 1 2009
!
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 aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback120
ip address 172.16.120.1 255.255.255.0
!
interface Loopback121
ip address 172.16.121.1 255.255.255.0
!
interface Loopback122
ip address 172.16.122.1 255.255.255.0
!
interface Loopback123
ip address 172.16.123.1 255.255.255.0
!
interface Serial0/0
ip address 172.16.12.1 255.255.255.0
serial restart-delay 0
clock rate 19200
!
interface Serial0/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
network 172.16.12.0 0.0.0.255 area 0
network 172.16.120.0 0.0.0.255 area 0
network 172.16.121.0 0.0.0.255 area 0
network 172.16.122.0 0.0.0.255 area 0
network 172.16.123.0 0.0.0.255 area 0
!
ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end
R1#show run
Building configuration…
Current configuration : 1319 bytes
!
! Last configuration change at 11:40:24 UTC Tue Sep 1 2009
!
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 aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback120
ip address 172.16.120.1 255.255.255.0
!
interface Loopback121
ip address 172.16.121.1 255.255.255.0
!
interface Loopback122
ip address 172.16.122.1 255.255.255.0
!
interface Loopback123
ip address 172.16.123.1 255.255.255.0
!
interface Serial0/0
ip address 172.16.12.1 255.255.255.0
serial restart-delay 0
clock rate 19200
!
interface Serial0/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
network 172.16.12.0 0.0.0.255 area 0
network 172.16.120.0 0.0.0.255 area 0
network 172.16.121.0 0.0.0.255 area 0
network 172.16.122.0 0.0.0.255 area 0
network 172.16.123.0 0.0.0.255 area 0
!
ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end
R2 Configure:
R2#show run
Building configuration…
Current configuration : 1498 bytes
!
! Last configuration change at 14:49:04 UTC Tue Sep 1 2009
!
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 aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 172.16.2.1 255.255.255.0
!
interface Serial0/0
ip address 172.16.12.2 255.255.255.0
serial restart-delay 0
!
interface Serial0/1
ip address 172.16.23.2 255.255.255.0
serial restart-delay 0
clock rate 19200
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
router eigrp 65100
redistribute ospf 1 metric 100000 10 0 1 1500
network 172.16.0.0
distribute-list 1 out
no auto-summary
!
router ospf 1
log-adjacency-changes
redistribute eigrp 65100
network 172.16.12.0 0.0.0.255 area 0
default-information originate always
!
router bgp 65100
no synchronization
bgp log-neighbor-changes
network 172.16.2.0 mask 255.255.255.0
network 172.16.23.0 mask 255.255.255.0
neighbor 172.16.3.1 remote-as 65100
no auto-summary
!
ip http server
no ip http secure-server
!
!
!
access-list 1 deny 172.16.120.0 0.0.0.255 log
access-list 1 deny 172.16.121.0 0.0.0.255 log
access-list 1 permit any log
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end
R3 Configure:
R3#show run
Building configuration…
Current configuration : 1662 bytes
!
! Last configuration change at 16:30:45 UTC Tue Sep 1 2009
!
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 aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 172.16.3.1 255.255.255.0
!
interface Serial0/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/1
ip address 172.16.23.3 255.255.255.0
serial restart-delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
ip address 192.168.34.3 255.255.255.0
serial restart-delay 0
clock rate 19200
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router eigrp 65100
redistribute connected
network 172.16.0.0
no auto-summary
!
router bgp 65100
no synchronization
bgp log-neighbor-changes
network 172.16.3.0 mask 255.255.255.0
network 172.16.23.0 mask 255.255.255.0
neighbor 172.16.2.1 remote-as 65100
neighbor 192.168.34.4 remote-as 65400
neighbor 192.168.34.4 prefix-list filterout in
no auto-summary
!
ip http server
no ip http secure-server
!
!
!
!
ip prefix-list filterout seq 5 deny 172.31.8.0/24
ip prefix-list filterout seq 10 deny 172.31.12.0/24
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end
R4 Configure:
R4#show run
Building configuration…
Current configuration : 1382 bytes
!
! Last configuration change at 14:46:06 UTC Tue Sep 1 2009
!
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 aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback200
ip address 172.31.0.1 255.255.255.0
!
interface Loopback204
ip address 172.31.4.1 255.255.255.0
!
interface Loopback208
ip address 172.31.8.1 255.255.255.0
!
interface Loopback212
ip address 172.31.12.1 255.255.255.0
!
interface Serial0/0
ip address 192.168.34.4 255.255.255.0
serial restart-delay 0
!
interface Serial0/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
router bgp 65400
no synchronization
bgp log-neighbor-changes
network 172.31.0.0 mask 255.255.255.0
network 172.31.4.0 mask 255.255.255.0
network 172.31.8.0 mask 255.255.255.0
network 172.31.12.0 mask 255.255.255.0
neighbor 192.168.34.3 remote-as 65100
no auto-summary
!
ip http server
no ip http secure-server
!
ip route 172.16.0.0 255.255.0.0 Serial0/0
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
!
!
end
以上配置并不表示完全正确。因BGP部分还末系统学习。
以下为部分信息输出:
on R1:
R1#show ip ospf 1 database
OSPF Router with ID (172.16.123.1) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
172.16.2.1 172.16.2.1 1545 0x8000000C 0x0078D2 2
172.16.123.1 172.16.123.1 1738 0x8000000E 0x00139C 6
Type-5 AS External Link States
Link ID ADV Router Age Seq# Checksum Tag
0.0.0.0 172.16.2.1 1282 0x8000000C 0x007E69 1
192.168.34.0 172.16.2.1 212 0×80000003 0x00143F 0
R1#show ip route
Gateway of last resort is 172.16.12.2 to network 0.0.0.0
172.16.0.0/24 is subnetted, 5 subnets
C 172.16.12.0 is directly connected, Serial0/0
C 172.16.120.0 is directly connected, Loopback120
C 172.16.121.0 is directly connected, Loopback121
C 172.16.122.0 is directly connected, Loopback122
C 172.16.123.0 is directly connected, Loopback123
O E2 192.168.34.0/24 [110/20] via 172.16.12.2, 00:03:59, Serial0/0
O*E2 0.0.0.0/0 [110/1] via 172.16.12.2, 02:04:43, Serial0/0
R1#show ip ospf 1 border-routers
OSPF Process 1 internal Routing Table
Codes: i – Intra-area route, I – Inter-area route
i 172.16.2.1 [64] via 172.16.12.2, Serial0/0, ASBR, Area 0, SPF 9
On R2:
R2#show ip ospf 1 neighbor
Neighbor ID Pri State Dead Time Address Interface
172.16.123.1 0 FULL/ - 00:00:31 172.16.12.1 Serial0/0
R2#show ip ospf 1 database router
OSPF Router with ID (172.16.2.1) (Process ID 1)
Router Link States (Area 0)
LS age: 1699
Options: (No TOS-capability, DC)
LS Type: Router Links
Link State ID: 172.16.2.1
Advertising Router: 172.16.2.1
LS Seq Number: 8000000C
Checksum: 0x78D2
Length: 48
AS Boundary Router
Number of Links: 2
Link connected to: another Router (point-to-point)
(Link ID) Neighboring Router ID: 172.16.123.1
(Link Data) Router Interface address: 172.16.12.2
Number of TOS metrics: 0
TOS 0 Metrics: 64
Link connected to: a Stub Network
(Link ID) Network/subnet number: 172.16.12.0
(Link Data) Network Mask: 255.255.255.0
Number of TOS metrics: 0
TOS 0 Metrics: 64
LS age: 1895
Options: (No TOS-capability, DC)
LS Type: Router Links
Link State ID: 172.16.123.1
Advertising Router: 172.16.123.1
LS Seq Number: 8000000E
Checksum: 0x139C
Length: 96
Number of Links: 6
Link connected to: a Stub Network
(Link ID) Network/subnet number: 172.16.123.1
(Link Data) Network Mask: 255.255.255.255
Number of TOS metrics: 0
TOS 0 Metrics: 1
Link connected to: a Stub Network
(Link ID) Network/subnet number: 172.16.122.1
(Link Data) Network Mask: 255.255.255.255
Number of TOS metrics: 0
TOS 0 Metrics: 1
Link connected to: a Stub Network
(Link ID) Network/subnet number: 172.16.121.1
(Link Data) Network Mask: 255.255.255.255
Number of TOS metrics: 0
TOS 0 Metrics: 1
Link connected to: a Stub Network
(Link ID) Network/subnet number: 172.16.120.1
(Link Data) Network Mask: 255.255.255.255
Number of TOS metrics: 0
TOS 0 Metrics: 1
Link connected to: another Router (point-to-point)
(Link ID) Neighboring Router ID: 172.16.2.1
(Link Data) Router Interface address: 172.16.12.1
Number of TOS metrics: 0
TOS 0 Metrics: 64
Link connected to: a Stub Network
(Link ID) Network/subnet number: 172.16.12.0
(Link Data) Network Mask: 255.255.255.0
Number of TOS metrics: 0
TOS 0 Metrics: 64
R2# show ip ospf 1 database
OSPF Router with ID (172.16.2.1) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
172.16.2.1 172.16.2.1 1717 0x8000000C 0x0078D2 2
172.16.123.1 172.16.123.1 1912 0x8000000E 0x00139C 6
Type-5 AS External Link States
Link ID ADV Router Age Seq# Checksum Tag
0.0.0.0 172.16.2.1 1454 0x8000000C 0x007E69 1
192.168.34.0 172.16.2.1 384 0×80000003 0x00143F 0
R2#show ip eigrp 65100 interfaces
IP-EIGRP interfaces for process 65100
Xmit Queue Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable SRTT Un/Reliable Flow Timer Routes
Se0/0 0 0/0 0 0/1 0 0
Se0/1 1 0/0 118 0/15 531 0
Lo0 0 0/0 0 0/1 0 0
R2#show ip eigrp 65100 topology
IP-EIGRP Topology Table for AS(65100)/ID(172.16.2.1)
Codes: P – Passive, A – Active, U – Update, Q – Query, R – Reply,
r – reply Status, s – sia Status
P 192.168.34.0/24, 1 successors, FD is 2681856
via 172.16.23.3 (2681856/2169856), Serial0/1
P 172.16.23.0/24, 1 successors, FD is 2169856
via Connected, Serial0/1
P 172.16.12.0/24, 1 successors, FD is 2169856
via Connected, Serial0/0
P 172.16.2.0/24, 1 successors, FD is 128256
via Connected, Loopback0
P 172.16.3.0/24, 1 successors, FD is 2297856
via 172.16.23.3 (2297856/128256), Serial0/1
P 172.16.123.1/32, 1 successors, FD is 28160
via Redistributed (28160/0)
P 172.16.122.1/32, 1 successors, FD is 28160
via Redistributed (28160/0)
R2#
R2#show ip bgp
BGP table version is 3, local router ID is 172.16.2.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
*> 172.16.2.0/24 0.0.0.0 0 32768 i
*> 172.16.23.0/24 0.0.0.0 0 32768 i
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 8 subnets, 2 masks
C 172.16.23.0/24 is directly connected, Serial0/1
C 172.16.12.0/24 is directly connected, Serial0/0
C 172.16.2.0/24 is directly connected, Loopback0
D 172.16.3.0/24 [90/2297856] via 172.16.23.3, 00:08:00, Serial0/1
O 172.16.121.1/32 [110/65] via 172.16.12.1, 02:08:45, Serial0/0
O 172.16.120.1/32 [110/65] via 172.16.12.1, 02:08:45, Serial0/0
O 172.16.123.1/32 [110/65] via 172.16.12.1, 02:08:45, Serial0/0
O 172.16.122.1/32 [110/65] via 172.16.12.1, 02:08:45, Serial0/0
D EX 192.168.34.0/24 [170/2681856] via 172.16.23.3, 00:08:00, Serial0/1
on R3:
R3# show ip route
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 6 subnets, 2 masks
C 172.16.23.0/24 is directly connected, Serial0/1
D 172.16.12.0/24 [90/2681856] via 172.16.23.2, 00:08:17, Serial0/1
D 172.16.2.0/24 [90/2297856] via 172.16.23.2, 00:08:17, Serial0/1
C 172.16.3.0/24 is directly connected, Loopback0
D EX 172.16.123.1/32 [170/2172416] via 172.16.23.2, 00:08:17, Serial0/1
D EX 172.16.122.1/32 [170/2172416] via 172.16.23.2, 00:08:17, Serial0/1
C 192.168.34.0/24 is directly connected, Serial1/1
R3#
R4#sh 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
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
B 172.16.23.0/24 [20/0] via 192.168.34.3, 01:27:12
S 172.16.0.0/16 is directly connected, Serial0/0
B 172.16.3.0/24 [20/0] via 192.168.34.3, 01:27:12
172.31.0.0/24 is subnetted, 4 subnets
C 172.31.0.0 is directly connected, Loopback200
C 172.31.4.0 is directly connected, Loopback204
C 172.31.8.0 is directly connected, Loopback208
C 172.31.12.0 is directly connected, Loopback212
C 192.168.34.0/24 is directly connected, Serial0/0
十一月 30th, 2009 at 10:11 上午
What are the steps and processes to develop and submit an iPhone app to App store? I want to become a developer. Is it all about hardcore software programming like Java, or is there any software out there that can create apps by using a design view perhaps? Becuase I see 10’000′s of apps and a lot of pointless ones, and am pretty sure people wouldnt have wasted weeks making a pointless app in hard java code? Cheers
________________
unlock iphone 3g
十一月 30th, 2009 at 10:22 上午
Dear Author blog.ghitr.com !
It is cleared
七月 17th, 2010 at 9:04 上午
so
admin 回复:
八月 3rd, 2010 at 10:24 下午
@Xixo, what ?
七月 17th, 2010 at 9:27 上午
images?
admin 回复:
八月 3rd, 2010 at 10:24 下午
@jopo, y
七月 27th, 2010 at 2:46 上午
很好的文章!