NAT and backup default route

Dec 29, 2008 1 Replies
NAT and backup default route open original image

I want to accomplish the following: when traffic is routed over primary route (int fa1) then packets must be NATed onto fa1 address, but when traffic is routed over secondary route (int dialer 0) then it should be NATed onto dialer 0 address (dynamically assigned by ISP). Above is sample configuration which gives me undesirable result since all packets are translated onto dialer 0 interface address even if primary route trough fa1 interface is still active and it's the only default route. Now, I know that NAT occurs on the first match principle, but can I somehow tie it with active default route or something similar?



access-list 1 permit ip any access-list 2 permit ip any



ip nat inside source list 1 interface dialer 0 overload ip nat inside source list 2 interface fa1 overload


IOS NAT Load-Balancing for Two ISP Connections

formatting link
Configuring dynamic NAT with route-maps
formatting link

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required