Nat command

paul325ipaul325i Member Posts: 15 ■□□□□□□□□□
Hi any of you guys know where the

"ip nat inside source static (ipaddress inside) (ipaddress outside)"

command is entered? After defining the two interfaces involved and their in and out would you simply exit to global config and enter it there?

Thanks.

Comments

  • keenonkeenon Member Posts: 1,922 ■■■■□□□□□□
    paul325i wrote:
    Hi any of you guys know where the

    "ip nat inside source static (ipaddress inside) (ipaddress outside)"

    command is entered? After defining the two interfaces involved and their in and out would you simply exit to global config and enter it there?

    Thanks.


    your not exactly defining the 2 interfaces but the addresses the first is the internal address... you should set a standard ACL for your inside network ex. 192.168.1.0 ... the second the the outside address but to make it work you must define an outside address pool from ex. 65.182.20.2 - 65-182.20.14 mask 255.?.?.?

    HERE IS A REAL WOLRD CONFIG WITH IT

    ip nat pool InsideOut 67.105.55.162 67.105.55.170 netmask
    255.255.255.224
    ip nat inside source list 1 pool InsideOut overload
    ip nat inside source static 192.168.5.20 67.105.55.190
    ip nat inside source static 192.168.5.9 67.105.55.189
    Become the stainless steel sharp knife in a drawer full of rusty spoons
  • rossonieri#1rossonieri#1 Member Posts: 799 ■■■□□□□□□□
    paul325i wrote:
    Hi any of you guys know where the

    "ip nat inside source static (ipaddress inside) (ipaddress outside)"

    command is entered? After defining the two interfaces involved and their in and out would you simply exit to global config and enter it there?

    Thanks.

    yes, you r correct - but you should define the IP permission first or ACL.
    the More I know, that is more and More I dont know.
Sign In or Register to comment.