Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

can you please explain this?

ip nat inside source list 199

interface fastethernet4

overload

ip route 0.0.0.0 0.0.0.0

92.208.96.206

ip route 0.0.0.0 0.0.0.0

fastethernet4

!

access-list 199 permit ip any any

no cdp run

!

please, explain each command line.thanks

1 REPLY
VIP Purple

Re: can you please explain this?

HI Qamer,

This is the example to configure NAT.

Step1: The first step is to define the addresses that will need to be NAT’d.  This is done using a standard access-list:

Example:  access-list 199 permit ip any any

Step2:Now that you have defined the addresses that are allowed to use the NAT address, you will enable the actual NAT:

Example: ip nat inside source list 199 interface fa0/4 overload

ip route 0.0.0.0 0.0.0.0 xx

(

Hi,

is there something in particular you want to know?

Static  routes, in your case the default route, can be configured to point to a  numerical next hop (IP address), an exit-interface, or -like your  example shows- both:

ip route

ip route

ip route

)

means

The ip route 0.0.0.0 0.0.0.0 xx is a command that is statically  assigned. This is called a default network because the all-zeros syntax  means to catch all routes. The ip route command is not automatically  carried in routing updates like the ip default-network command is in  some routing protocols. You must redistribute the static command into a  routing protocol for it to be carried.

Your default route points to 92.208.96.206 and other default route points to fa0/4 interface.

no cdp enable :

this commands :  To enable Cisco Discovery Protocol (CDP) on an interface, use the  cdp enable interface configuration command. To disable CDP on an interface, use the  no form of this command.

Regards

HOPE IT HELPS:

93
Views
0
Helpful
1
Replies
CreatePlease to create content