I?m implementing this to get connection through a NAT statement to a network partner using the floting route shown

as desa, this route is not in the routing table and I have found that using policy routing and route-map there are two

commands:

1.- set default interface "type number"

2.- set ip default next-hop "ip address"

tha I can use in order to get connection if in the routing table has no explicit route for the destination network.

In this case I have 2 differents ISP?s and only one of them with nat. Can anyone tell me if this can work?, I tried but I couldn?t see in the nat table the translation 10.0.44.50 -> 172.20.10.64. there is something wrong??

Re: NAT route-map and floating routes

Hi,

Thanks for your answer, I put the set default interface command because I read this is used when there is no entry in the routing table, and this is the case for the floating route pointing to the same destination but different ISP and also to do nat. I?ll be testing this thursday in the morning but I?m not sure if it will work. There is another command for testing: set ip default next-hop, but I never have tested this commands, and I don?t know if they will work for my case.

Re: NAT route-map and floating routes

My understanding is that the set default interface command is supported only over point-to-point links, unless a route-cache entry exists using the same interface specified in the set interface command in the route map.

The set ip default next-hop will only check for default routing information. If the route is on the routing table, it will use it. Is that what you want ?

Re: NAT route-map and floating routes

Hi Edison,

I want to use the connection through the ISP_02, the interface is configured as point-to-point, and for this connection there is a floating static route to the destinnation 192.168.10.4, the same for the another ISP.

Re: NAT route-map and floating routes

This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
"Th...
view more

Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
1. commandoversms.tcl
2. PDF with instructions on how to load and use the .tcl file.