实验指南:控制网络传播和网络访问

实验指南
 
 
Configure the GameNetworks.com IP network as depicted in Figure 2-11. Use EIGRP as the routing protocol and 2002 as the autonomous system ID on the wisconsin_x, unreal, and halo routers. Use EIGRP as the routing protocol on the california_x router and the gamenet router; the autonomous system of this router will be 65001

Join the EIGRP routing domains with OSPF on the gamenet and wisconsin_x routers.
 
Configure the Frame Relay network as depicted in Figure 2-11.
 
Configure all IP addresses as depicted in Figure 2-11.
 

Gamenet
conf t
host Gamenet
int l 0
ip ad 1.1.1.1 255.255.255.255
int f0/0
ip ad 192.168.5.7 255.255.255.0
no shut
int s 2/0
encap f
no arp f
no frame inver
no shut
int s 2/0.1 point-to-point
description LINK_WISCONSIN_X
ip ad 192.168.1.5 255.255.255.252
frame interface-dlci 102
int s 2/0.2 point-to-point
description LINK_CALIFOMIA_X
ip ad 192.168.1.9  255.255.255.252
frame interface-dlci 103
exit
access-list 2 deny 172.16.11.0 0.0.0.255
access-list 2 permit any
route-map PING permit 10
match ip ad 2

router ospf 1
nei 192.168.1.6
net 192.168.5.7 0.0.0.0 a 0
net 192.168.1.5 0.0.0.0 a 2
redistribute eigrp 65001 metric 100 metric-type 1 subnets route-map PING
router eigrp 65001
no au
net 192.168.1.9 0.0.0.0
redistribute ospf 1 metric 10000 100 255 1 1500
end

Wisconsin_x
conf t
host Wisconsin_x
int l 0
ip ad 2.2.2.2 255.255.255.255
int f 0/0
ip ad 192.168.64.3 255.255.255.0
no shut
int s2/0
encap f
no arp f
no frame inver
no shut
int s 2/0.1 point-to-point
ip ad 192.168.1.6 255.255.255.252
frame interface-dlci 201
exit
access-list 1 deny 10.0.101.0 0.0.0.255
access-list 1 permit any

route-map DENY permit 10
match ip ad 1
router ospf 1
nei 192.168.1.5
net 192.168.1.6 0.0.0.0 a 2
redistribute eigrp 2002 metric 100 metric-type 1 subnets route-map DENY
router eigrp 2002
no au
net 192.168.64.3 0.0.0.0
redistribute ospf 1 metric 10000 100 255 1 1500
passive-interface s2/0
end

Califomia_x
conf t
host Califomia_x
int l 0
ip ad 3.3.3.3 255.255.255.255
int l 1
ip ad 10.0.100.4 255.255.255.0
int l 2
ip ad 10.0.101.4 255.255.255.0
int s 2/0
encap f
no arp f
no frame inver
no shut
int s2/0.1 point-to-point
ip ad 192.168.1.10 255.255.255.252
frame interface-dlci 301
exit
router eigrp 65001
no au
net 192.168.1.10 0.0.0.0
net 10.0.100.4 0.0.0.0
net 10.0.101.4 0.0.0.0
end

Unreal
conf t
host Unreal
int l 0
ip ad 172.16.11.11 255.255.255.0
int f 0/0
ip ad 192.168.64.11 255.255.255.0
no shut
router eigrp 2002
no au
net 172.16.11.11 0.0.0.0
net 192.168.64.11 0.0.0.0
end

Halo
conf t
host Halo
int l 0
ip ad 172.16.6.6 255.255.255.0
int f 0/0
ip ad 192.168.64.6 255.255.255.0
no shut
router eigrp 2002
no au
net 172.16.6.6 0.0.0.0
net 192.168.64.6 0.0.0.0
end
 

校验
Wisconsin_x#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
     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2 is directly connected, Loopback0
     172.16.0.0/24 is subnetted, 2 subnets
D       172.16.11.0 [90/156160] via 192.168.64.11, 00:48:25, FastEthernet0/0
D       172.16.6.0 [90/156160] via 192.168.64.6, 00:23:22, FastEthernet0/0
C    192.168.64.0/24 is directly connected, FastEthernet0/0
O IA 192.168.5.0/24 [110/65] via 192.168.1.5, 00:24:33, Serial2/0.1
     10.0.0.0/24 is subnetted, 1 subnets
O E1    10.0.100.0 [110/164] via 192.168.1.5, 00:24:33, Serial2/0.1
     192.168.1.0/30 is subnetted, 2 subnets
O E1    192.168.1.8 [110/164] via 192.168.1.5, 00:24:33, Serial2/0.1
C       192.168.1.4 is directly connected, Serial2/0.1
 
 
Califomia_x#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
     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3 is directly connected, Loopback0
     172.16.0.0/24 is subnetted, 1 subnets
D EX    172.16.6.0 [170/2195456] via 192.168.1.9, 00:23:54, Serial2/0.1
D EX 192.168.64.0/24 [170/2195456] via 192.168.1.9, 00:25:05, Serial2/0.1
D EX 192.168.5.0/24 [170/2195456] via 192.168.1.9, 00:25:29, Serial2/0.1
     10.0.0.0/24 is subnetted, 2 subnets
C       10.0.100.0 is directly connected, Loopback1
C       10.0.101.0 is directly connected, Loopback2
     192.168.1.0/30 is subnetted, 2 subnets
C       192.168.1.8 is directly connected, Serial2/0.1
D EX    192.168.1.4 [170/2195456] via 192.168.1.9, 00:25:29, Serial2/0.1

本文出自 “穿过地狱去看海” 博客,谢绝转载!

你可能感兴趣的:(职场,acl,休闲,实验指南,route-map)