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

Extendable

r-lemaster
Level 1
Level 1

What does "extendable" mean? I had to use it to get static nat working on my router, but I don't know why or what it does..(?)

ip nat inside source static tcp [inside ip] 80 [outside ip] 80 extendable

1 Accepted Solution

Accepted Solutions

umedryk
Level 5
Level 5

The extendable keyword allows the user to configure several ambiguous static translations,

where an ambiguous translations are translations with the same local or global address.

ip nat inside source static extendable

Some folks want to use more than one service provider and translate into each provider's

address space. You can use route-maps to base the selection of global address pool on

output interface as well as an access-list match. Following is an example:

ip nat pool provider1-space ...

ip nat pool provider2-space ...

ip nat inside source route-map provider1-map pool provider1-space

ip nat inside source route-map provider2-map pool provider2-space

route-map provider1-map permit 10

match ip address 1

match interface Serial0/0

route-map provider2-map permit 10

match ip address 1

match interface Serial0/1

Once that is working, folks might also want to define static mappings for a particular

host using each provider's address space. The software does not allow two static

translations with the same local address, though, because it is ambiguous from the

inside. The router will accept these static translations and resolve the ambiguity by

creating full translations (all addresses and ports) if the static translations are

marked as "extendable". For a new outside-to-inside flow, the appropriate static

entry will act as a template for a full translation. For a new inside-to-outside flow,

the dynamic route-map rules will be used to create a full translation.

View solution in original post

1 Reply 1

umedryk
Level 5
Level 5

The extendable keyword allows the user to configure several ambiguous static translations,

where an ambiguous translations are translations with the same local or global address.

ip nat inside source static extendable

Some folks want to use more than one service provider and translate into each provider's

address space. You can use route-maps to base the selection of global address pool on

output interface as well as an access-list match. Following is an example:

ip nat pool provider1-space ...

ip nat pool provider2-space ...

ip nat inside source route-map provider1-map pool provider1-space

ip nat inside source route-map provider2-map pool provider2-space

route-map provider1-map permit 10

match ip address 1

match interface Serial0/0

route-map provider2-map permit 10

match ip address 1

match interface Serial0/1

Once that is working, folks might also want to define static mappings for a particular

host using each provider's address space. The software does not allow two static

translations with the same local address, though, because it is ambiguous from the

inside. The router will accept these static translations and resolve the ambiguity by

creating full translations (all addresses and ports) if the static translations are

marked as "extendable". For a new outside-to-inside flow, the appropriate static

entry will act as a template for a full translation. For a new inside-to-outside flow,

the dynamic route-map rules will be used to create a full translation.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: