06-01-2006 12:40 AM - edited 03-03-2019 12:51 PM
Hi guys,
I would like to ask if i can do a route-map instead of a static route.
Example:
ip route 10.10.10.0 255.255.255.0 10.10.10.190
How can i translate this to route-map? Is it possible ?
Thanks.
jeff
06-01-2006 02:53 AM
hi Jeff,,,
yes you can translate this static route by route-map.
you can do it by permitting the perticular network 10.10.10.0 in accesslist and then by configuring routmap you just need to set the next hop for that accesslist to 10.10.10.190...
but i think routmap will creat the complexity...
thank you
rate this post if it helps
regards
devang
06-01-2006 03:09 AM
1)
First you need create ACL (source is you network destination is remote network 10.10.10.0 in this case)
let we say x.x.x.x is your network
router(config)#access-list 101 permit ip x.x.x.x 255.255.255.0 10.10.10.0 255.255.255.0
2)
Than create route map with set ip next-hop 10.10.10.190
router(config)#route-map MAP_for_routing
router(config-route-map)#match ip address 101
router(config-route-map)# set ip next-hop 10.10.10.190
3)
Apply router map to "inside" Interface fastEthernet 0 in my example
interface fastEthernet 0
ip policy route-map MAP_for_routing
M.
Hope that helps rate if it does
06-01-2006 05:19 PM
Hi guys,
Got it workin now.
tnx
jeff
06-01-2006 10:27 PM
hi guys,
After making my network go to the desired interface, somehow the router itself cannot reach other network.
othernetwork--RA--RB(route-map)-- mynetwork
1.mynetwork can ping to other network
2.RB cannot
I doesnt replace totally static routing.Is route map only applied inbound to the interface ?
jeff
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