cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

308
Views
0
Helpful
2
Replies
Highlighted

Nat out of seperate public IP's depending on destination?

If I setup say 5 NAT POOLs on a router is it possible to use each pool depending on the destination of the traffic?

So for example:

ip nat pool natpool1 8.8.8.8 8.8.8.8 netmask 255.255.255.252

ip nat pool natpool2 9.9.9.9 9.9.9.9 netmask 255.255.255.252

ip nat pool natpool3 7.7.77 7.7.7.7 netmask 255.255.255.252

ip nat pool natpool4 6.6.6.6 6.6.6.6 netmask 255.255.255.252

ip nat pool natpool5 5.5.5.5 5.5.5.5 netmask 255.255.255.252

So if I wanted to go to a website www.cisco.com it would NAT out of natpool1 but if instead I wanted to go to www.google.com it would use natpool2 and so on?

Can anyone advise how this would be achieved?

Thanks


Andrew

Everyone's tags (6)
1 ACCEPTED SOLUTION

Accepted Solutions
Beginner

Nat out of seperate public IP's depending on destination?

Hi,
you must creat an extended access-list for that , for example, let's say cisco IP is 200.200.200.200 and google IP is 201.201.201.201

you'll have:
access-list 101 permit ip any host 200.200.200.200
access-list 102 permit ip any host 201.201.201.201

ip nat inside source list 101 pool natpool1 overload

ip nat inside source list 102 pool natpool1 overload

and so on

View solution in original post

2 REPLIES 2
Beginner

Nat out of seperate public IP's depending on destination?

Hi,
you must creat an extended access-list for that , for example, let's say cisco IP is 200.200.200.200 and google IP is 201.201.201.201

you'll have:
access-list 101 permit ip any host 200.200.200.200
access-list 102 permit ip any host 201.201.201.201

ip nat inside source list 101 pool natpool1 overload

ip nat inside source list 102 pool natpool1 overload

and so on

View solution in original post

Nat out of seperate public IP's depending on destination?

Excellent thanks

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here