From: zhang-meng (meng_zhang@call-center.com.cn)
Date: Mon Aug 04 2003 - 02:42:09 GMT-3
Hi: all
2. Configure policy routes for routerA in Figure 14.23 so that packets from
subnets 172.16.1.64/28 through 172.16.1.112 are forwarded to routerD if they
are received from router C. If packets from the same subnets are received
from routerB, forward them to router E. All other packet should be forward
normally.
routerA(config)# int s0
routerA(config-if)# ip add 172.16.14.6 255.255.255.252
routerA(config-if)# ip policy route-map exercise2A
routerA(config-if)# no shut
router A(config-if)# int s1
routerA(config-if)# ip add 172.16.14.10 255.255.255.252
routerA(config-if)# ip policy route-map exercise 2B
routerA(config-if)# no shut
routerA(config)# access-list 1 permit 172.16.1.64 0.0.0.63
routerA(config)# route-map exercise 2A permit 10
routerA(config)# match ip address 1
routerA(config)# set ip next-hop 172.16.14.13
routerA(config)# route-map exercise 2B permit 10
routerA(config)# matc ip address 1
routerA(config)# set ip next-hop 172.16.14.17
Could you help me make sure whether or not our configuration is ok.
This archive was generated by hypermail 2.1.4 : Tue Sep 02 2003 - 18:53:52 GMT-3