Options

Nat

nangananga Member Posts: 201
Ok...very innocent doubt..bt needed to clear it.

Static Nat

1) you specify which private ip needs to be mapped to which public ip

config# ip nat inside source static pvt ip public ip

2) you go to the interface which is the inside source

config# int e0
config-if# ip nat inside

3)you go to the interface which is the outside source
config# int s0
config-if# ip nat outside.



so my question is...in all the examples that i have seen....they mention the ip address and subnet mask when we do the step 2 and 3. Is it nescessary ?

So if my interface is already having a ip address do i have to mention it again on step 2 and 3

Comments

  • Options
    eleguaelegua Member Posts: 282
    nanga wrote: »
    So if my interface is already having a ip address do i have to mention it again on step 2 and 3


    No, you only have to add ip nat inside (LAN interface) and ip nat outside (WAN Interface).

    Hope this help. icon_thumright.gif
  • Options
    nangananga Member Posts: 201
  • Options
    billscott92787billscott92787 Member Posts: 933
    Yeah, just remember that you are going to do that no matter if you are using static nat, nat, or even PAT. Make sure you check into doing those as well. Where you configure that NAT pools and access list that are allowed to use the NAT. Also, PAT which translates based on ports, so that a pool isn't used and multiple users can use the NAT translation simultaneously.
Sign In or Register to comment.