cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
476
Views
0
Helpful
2
Replies

can I use my interface Ip address for a nat pool?

patricianet
Level 1
Level 1

can I use my interface Ip address as the source ip for nat?

interface f0/1.40

ip address 192.0.40.10 255.255.255.192

ip nat outside

interface f0/1.70

ip address 192.0.70.10 255.255.255.192

ip nat outside

ip nat pool Data 192.0.40.10  192.0.40.10  prefix-length 26
ip nat pool VoIP 192.0.70.10 192.0.70.10 prefix-length 26

2 Replies 2

Nagaraja Thanthry
Cisco Employee
Cisco Employee

Hello,

Yes, you can use the interface IP for NAT overloading. Instead of using a pool, you can also use "interface" keyword if you are just using the interface.

ip nat source list interface overload

Hope this helps.

Regards,

NT

Ganesh Hariharan
VIP Alumni
VIP Alumni

can I use my interface Ip address as the source ip for nat?

interface f0/1.40

ip address 192.0.40.10 255.255.255.192

ip nat outside

interface f0/1.70

ip address 192.0.70.10 255.255.255.192

ip nat outside

ip nat pool Data 192.0.40.10  192.0.40.10  prefix-length 26
ip nat pool VoIP 192.0.70.10 192.0.70.10 prefix-length 26

Hi,

yes you can do the same check out the below sampole configuration on the above case.

http://www.firewall.cx/downloads/articles/sample%20config%20using%20ip%20nat.pdf

Hope to Help !!

Ganesh.H

Remember to rate the helpful post

Review Cisco Networking products for a $25 gift card