troubleshooting Question

Nating on a secondary's interface address

Avatar of . .
. .Flag for Canada asked on
RoutersNetwork Architecture
6 Comments1 Solution556 ViewsLast Modified:
Hi All

Here's my simple configuration
Interface Ethernet1
 description WAN
 ip address 20.20.20.20 255.255.255.0
 ip address 20.20.20.21 255.255.255.0 secondary
 ip nat outside

Interface Ethernet0
 description LAN
 ip address 10.10.10.1 255.255.255.0
 ip nat inside

I want to Nat directly connected LAN subnet and a few other ones (10.10.11.0/24, 10.10.12.0/24) throught my secondary address only (20.20.20.21 overload).

How can I do that.  I try with route-map but it doesn't work.  I also try with like this :
ip nat pool NAT_Pool 20.20.20.21 20.20.20.21 prefix-length 32
ip nat inside source list 2 pool NAT_Pool overload
!
access-list 2 permit 10.10.10.0 0.0.0.255
access-list 2 permit 10.10.11.0 0.0.0.255
access-list 2 permit 10.10.12.0 0.0.0.255

But it's still doesn't work.

Thank you very much !
ASKER CERTIFIED SOLUTION
logic2

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros