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

Using Static NAT for network and host

ROD FRANKLIN
Level 1
Level 1

Is it possible to use a static NAT for a network and then a different one for a host within that network.

Example:

static (inside,outside) 10.10.10.0 10.10.10.0 netmask 255.255.255.0

<---so that all 10.10.10.0 address are seen on outside as themselves---->

static (inside,outside) 10.10.10.5 11.11.11.5 netmask 255.255.255.255

<---so that 10.10.10.5 host is NAT'ed to different address--->

1 Accepted Solution

Accepted Solutions

varrao
Level 10
Level 10

Hi Rod,

Yes it is very much possible, the more specific one will take the precedence over the other static nat for the network,  , to verify it you can also run a packet tracer for it.

Packet-tracer input outside tcp 4.2.2.2 23456 11.11.11.5 80 detailed

and your static nat is not correct, it shoudl be:

static (inside,outside)  11.11.11.5 10.10.10.5 netmask 255.255.255.255

Thanks,

Varun

Thanks,
Varun Rao

View solution in original post

2 Replies 2

varrao
Level 10
Level 10

Hi Rod,

Yes it is very much possible, the more specific one will take the precedence over the other static nat for the network,  , to verify it you can also run a packet tracer for it.

Packet-tracer input outside tcp 4.2.2.2 23456 11.11.11.5 80 detailed

and your static nat is not correct, it shoudl be:

static (inside,outside)  11.11.11.5 10.10.10.5 netmask 255.255.255.255

Thanks,

Varun

Thanks,
Varun Rao

ROD FRANKLIN
Level 1
Level 1

Thanks for the help!

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:

Review Cisco Networking products for a $25 gift card