cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
830
Views
0
Helpful
1
Replies

ip nat inside command

mialbert
Level 1
Level 1

i notice that when i specify the interface on the ip nat inside command it will not allow the extendable keyword.  If i use the ip address then it will allow it. 

am i losing any functionality with the interface specified instead of ip address and extendable. 

ip nat inside source static tcp 192.168.2.201 22 65.210.175.177 22 extendable

ip nat inside source static tcp 10.10.10.91 1811 interface GigabitEthernet0/0 1811

1 Reply 1

Amit Aneja
Level 3
Level 3

Normally you're not allowed to have multiple static translations with the same local address.

One of the uses of "extendable" is to allow two inside global addresses for a single inside local address

Like,

ip nat inside source static x.x.x.x y.y.y.y extendable

ip nat inside source static x.x.x.x z.z.z.z extendable.

When a packet is coming from outside to insde with destination address y.y.y.y or z.z.z.z, it will be sent to x.x.x.x

When a pkt is going out, it will have src address as y.y.y.y

The reason why you don't see "extendable" when using interface option is because you are just using one IP then.