12-11-2003 07:39 PM - edited 03-02-2019 12:18 PM
hi,all
I use route-map to make my interesting packet 22.0.0.0 next hop different the static route,but why it is not work?
config is below,
#show version
IOS (tm) 7200 Software (C7200-JS-M), Version 12.1(20)E
#show route-map OA-access
route-map OA-access, permit, sequence 10
Match clauses:
ip address (access-lists): 122
Set clauses:
ip next-hop 22.52.124.25
ip next-hop verify-availability
Policy routing matches: 46863 packets, 4590378 bytes
#show access-lists 122
Extended IP access list 122
permit ip 22.0.0.0 0.255.255.255 22.0.0.0 0.255.255.255 (10942 matches)
#show running-config interface serial 5/3
interface Serial5/3
ip address 21.52.127.10 255.255.255.252
encapsulation ppp
ip route-cache flow
ip policy route-map OA-access
#show ip policy
Interface Route map
Serial5/3 OA-access
#debug ip policy 122
15:16:13: IP: s=22.52.68.186 (Serial5/3), d=22.100.67.47, len 40, FIB PR flow-accelerated!
15:16:13: CEF-IP-POLICY: fib for address 21.52.124.10 is with flag 0
15:16:13: CEF-IP-POLICY: fib for address 22.52.124.25 is with flag 0
15:16:13: IP: s=22.52.68.186 (Serial5/3), d=22.100.67.47, len 40, FIB policy rejected - normal forwarding
15:16:13: IP: s=22.52.68.186 (Serial5/3), d=22.100.67.47, len 40, FIB PR flow-accelerated!
#show ip cache flow
SrcIf SrcIPaddress DstIf DstIPaddress Pr SrcP DstP Pkts
Se5/3 22.52.68.186 Se4/0 22.100.67.47 06 129E 1F90 3
Se5/3 22.52.68.178 Se4/0 22.59.1.30 11 0BBE 0035 1
Se5/3 22.52.68.178 Se4/0 22.59.1.30 11 0BBF 0035 1
any suggest is thankful!!
DAVID
12-11-2003 09:13 PM
I notice you use the "ip next-hop verify-availability" command in your route-map. This is not really meant for point-to-point links but for broadcast links. Can you remove that statement and see if it makes a difference.
Thanks,
12-11-2003 11:36 PM
thanks,but it is did not work before I add this "ip next-hope verify-availability" command,so it is not the reason,i think.
12-11-2003 11:50 PM
sorry, I couldnt understand your config. How can occur this kind of traffic ; source and destination is same network. Doesn't it stays in LAN?
12-11-2003 11:54 PM
Hello david,
We need to see a routing table to figure out what happens. Is the next hop available?
It is good practice to specify a next-hop that is on the same subnet as the sourcing adress. It helps to prevent routing loops.
Regards,
Leo
12-12-2003 12:18 AM
Hi,
what are you trying to with that access-list . As I see, both source and destination address are in same network. So this traffic doesn't reach to the router's Serial interface. If you are trying to establish communication between overlapping networks on different sites, you have to use NAT.
12-14-2003 06:06 PM
thanks,all friends!
i want use this router whitch had this route-map was to manage some packets from 22.0.0.0 (such as 22.52.68.0/24) to 22.0.0.0 (such as 22.49.0.0/16),the source and destination address is so many subnets,so i want use the 22.0.0.0/22 match all. so i can use this map on all my wan interface to manage the 22.52.68.0/24 22.52.69.0 /24 ...and other source subnets packets to 22.1.0.0/24 22.2.3.0/24...des subnets,through next-hop router .it is what i want to do! for so many address and so many interface i only want use one rout-map.
thanks for your help again!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide