ip nat inside command

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2011 06:59 PM - edited 03-07-2019 01:13 AM
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
- Labels:
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2011 01:53 PM
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.
