cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
981
Views
5
Helpful
5
Replies

WHAT is being natted here? There is no identity (?). (mis-print?)

From book- "Cisco-ASA" 3rd edition, p355.

"Dynamically translate the internal network 192.168.10.0 when traffic is going out to the internet using the outside interface's address."
"Statically translate all traffic for an internal web server located at 192.168.10.10. The translated address should be 209.165.200.240."

#object network Internal-NETWORK
#subnet 192.168.10.0 255.255.255.0  !! <== Here is the identity of this object. !!
#nat (inside, outside) dynamic interface
#exit
#object network Internal-WEB-SERVER

                                                            !! <== shouldn't a defined object identity live at this point in the config? !!
#nat (inside,outside) static 209.165.200.240

(This is the end of a complete configuration.)

Question: Doesn't the snippet...
#object network internal-web
#nat (inside,outside) static 209.165.200.240
... also require a defining of the identity of this object that is being defined, such as "host 192.168.1.1", or "network 192.168.10.0 255.255.255.0" or other?

Put another way-- WHAT is being natted? There is no identity (?).

Thank you.

1 Accepted Solution

Accepted Solutions

@jmaxwellUSAF yes you need to define the host in the object configuration.

You can detail what is actually configured by running "show nat detail" it will show you all the information related to that NAT object configuration.

 

View solution in original post

5 Replies 5

@jmaxwellUSAF yes you need to define the host in the object configuration.

You can detail what is actually configured by running "show nat detail" it will show you all the information related to that NAT object configuration.

 

So, is that a book typo...

or...

does that config work as is?

@jmaxwellUSAF  I don't have access to the book you are referring to, so I can only guess what you actually mean.

You'd create and object, define the host IP address or subnet and configure NAT.

object network HOST
 host 192.168.10.1
 nat (i,o) dynamic interface

You would need to run show run object which displays the object name and host/subnet and then run show run nat to display the NAT configuration for that same object.

DC-1(config-network-object)# show run object
object network HOST
 host 192.168.10.1

DC-1(config-network-object)# show run nat
o
bject network HOST
nat (INSIDE,OUTSIDE) dynamic interface

 

as I know you can config fist the subnet or host of object-group 
then you can called this object-group for NATing 
or do both steps in same time 
first config the subnet or host then config NATing in second line. 
there is no different. 

Review Cisco Networking products for a $25 gift card