RSS
 

NAT Static Vs NAT Dynamic

05 Sep

NAT STATIC

NAT Static digunakan untuk menerjemahkan 1 IP lokal ke 1 IP global ataupun sebaliknya, biasanya disebut one to one mapping. Misalnya di kantor ada FTP Server dengan IP 192.168.2.100 yang tentunya IP Address tersebut hanya bisa diakses dari LAN saja karena IP nya private. Tetapi bila kita berada di luar kantor ingin tetap bisa mengakses FTP Server tersebut, maka dibuatlah NAT Static dengan mengalokasikan suatu IP Public untuk FTP Server tersebut, misalnya IP 27.50.25.200, maka template konfigurasinya sebagai berikut ini:

conf t
ip nat inside source static [ip lokal] [ip global]
int [interface ke arah internet/global]
ip nat outside
int [interface ke arah private/lokal]
ip nat inside

contoh konfigurasi:
conf t
ip nat inside source static 192.168.2.100 27.50.25.200
int s0/0/0
<——- misal s0/0/0 interface router ke arah internet
ip nat outside
int fao/o
<——- misal fa0/0 interface router ke arah lokal
ip nat inside

Bila ada server lain yang juga ingin bisa diakses dari internet, maka tambahkan baris NAT Static-nya lagi.

NAT DYNAMIC & DYNAMIC OVERLOAD (PAT)

NAT Dynamic digunakan untuk menerjemahkan beberapa IP lokal ke beberapa IP global ataupun sebaliknya. Proses penerjemahannya secara dynamic, jadi pada translasi IP nya tidak selalu sama seperti NAT Static. Ketidakefektifan pada NAT Dynamic adalah jumlah IP global yang dibutuhkan untuk mentranslasikan IP lokal harus sama (n to n mapping), misalnya kita ingin mentranslasikan 10 IP lokal ke global maka dibutuhkan 10 IP global/publik. Jika kita punya 11 IP Private, tapi hanya punya 10 IP Publik sudah dapat dipastikan bahwa ada 1 IP Private yang tidak dapat ditranslasikan pada saat yang bersamaan.

Untuk menanggulangi ketidakefektifan NAT dynamic, muncullah solusi baru yakni NAT Dynamic Overload atau yang biasa dikenal dengan nama Port Address Translation (PAT). Pada NAT Overload jumlah IP publik yang dibutuhkan tidak harus sama dengan jumlah IP Private yang mau ditranslasikan (n to m mapping), bahkan hanya dengan menggunakan 1 IP publik kita dapat mentranlasikan banyak IP Private.

Untuk konfigurasi di router cisco antara NAT dynamic dan dynamic overload tidak ada perbedaan, hanya perlu menampahkan kata kunci ” overload “ untuk mengaktifkan fungsi NAT dynamic overload.

Template konfigurasinya sebagai berikut:

a. Buat ACL untuk IP private yang akan ditranslasikan
access-list [nomor acl] permit [network address lokal] [wildcard mask lokal]

b. Buat NAT Pool untuk ip global/publik yang akan digunakan untuk mentranslasi IP private
ip nat pool [nama pool] [ip global terendah] [ip global tertinggi] netmask [subnet mask ip global]

c. Terapkan translasi dynamic menggunakan access list dan IP pool yg telah kita buat
ip nat inside source list [nomor/nama acl] pool [nama nat pool] overload

d. Tentukan interface NAT outside dan inside nya
int [interface ke arah internet/global]
ip nat outside
int [interface ke arah private/lokal]
ip nat inside

Sebagai contoh, misal kita punya ip publik 200.200.200.2 –  6 /29 yang ingin digunakan untuk mentranslasikan ip publik 192.168.100.0/24, maka konfigurasinya sebagai berikut:

conf t
access-list 1 permit 192.168.100.0 0.0.0.255
ip nat pool coba 200.200.200.2 200.200.200.6 netmask 255.255.255.248
ip nat inside source list 1 pool coba overload
int s0/0/0 <——- misal s0/0/0 interface router ke arah internet
ip nat outside
int fao/o <——- misal fa0/0 interface router ke arah lokal
ip nat inside

Catatan

– IP Publik yang ingin digunakan untuk NAT harus belum digunakan/terpasang di interface yg terhubung dengan internet
– IP Publik yang ingin digunakan untuk NAT harus terbaca oleh routing dari internet

Sumber:
http://ardisragen.net

 
45 Comments

Posted in Komputer

 

Leave a Reply

 

 
  1. swarovski outlet stores in florida

    September 10, 2013 at 10:05 am

    NAT Static Vs NAT Dynamic « Blog Slamet Ar Rokhim

     
  2. T0L3

    September 13, 2013 at 9:50 am

     
  3. 超安 推薦

    November 1, 2013 at 8:01 am

    Hi there, I log on to your blog regularly.
    Your writing style is awesome, keep doing what you’re doing!

     
  4. gucci 腕時計 心細く制作

    November 2, 2013 at 5:19 pm

    I know this web page offers quality dependent articles or reviews and other information, is there any other site which gives these kinds of information in quality?

     
  5. UGG サンダル 専門店

    November 3, 2013 at 2:59 am

    Its like you read my thoughts! You appear to know
    so much approximately this, like you wrote the ebook in it or
    something. I believe that you can do with a few % to power the message home a little bit, however instead of that, that
    is wonderful blog. An excellent read. I’ll definitely
    be back.

     
  6. 新作 ミュール 最高級

    November 19, 2013 at 7:53 am

    I am curious to find out what blog system you
    are utilizing? I’m experiencing some small security problems with my latest site and I would like to find something more secure.
    Do you have any suggestions?

     
    • Obat Kuat

      July 2, 2014 at 5:39 am

      your comment is good guys

       
  7. Nick

    November 20, 2013 at 1:24 pm

    I needed to thank you for this very good read!! I absolutely
    enjoyed every little bit of it. I have got you bookmarked to check out new stuff you post…

     
  8. 豪華 ジャケット 直営

    November 29, 2013 at 2:29 pm

    Does your blog have a contact page? I’m having problems locating it but,
    I’d like to send you an email. I’ve got some creative ideas for your
    blog you might be interested in hearing. Either way,
    great blog and I look forward to seeing it grow over time.

     
  9. 秋冬 フラットシューズ 超歓迎

    December 17, 2013 at 4:24 pm

    Hi! Someone in my Facebook group shared this site with us so I came to give it a look.
    I’m definitely loving the information. I’m book-marking and will be tweeting this to
    my followers! Great blog and great design and
    style.

     
  10. 心細く制作 ステンカラージャケット 品質

    December 28, 2013 at 7:21 am

    I always spent my half an hour to read this weblog’s content all the
    time along with a cup of coffee.

     
  11. http://www.essaypenguins.com/custom-essays

    March 10, 2014 at 5:42 pm

    The value of discipline is obvious in every walk of life. It regulate human behavior and prevent him from doing whatever he likes. It protects law and order of the society. In order to keep peace and tranquility in the society , discipline is a must. It is the basis of all other virtues.

     
  12. Buyessayordie.com

    March 18, 2014 at 1:25 pm

    Teaching professions is a noble profession and the teachers are the noble man of our society. Only a good teacher can make the society educated. In our life teachers place is after our parents. We should respects our teacher and obey their words in letter.

     
  13. Suntik Putih

    July 2, 2014 at 5:43 am

    terimakasih mas atas artikelnya, dengan membaca diatas saya jadi mengetahui banyak hal mengenaik perbedaan NAT Static dan NAT Dynamic

     
  14. Tasbih kayu Kokka

    January 21, 2015 at 9:09 pm

    Nice blog. I believe that you can do with a few % to power the message home a little bit, however instead of that, that
    is wonderful blog. An excellent read. I’ll definitely

     
  15. bokep indonesia

    January 29, 2015 at 1:25 am

    thanks for sharing

     
  16. Roy Junaidi

    March 20, 2015 at 3:04 pm

    Thanks for sharing. great article

     
  17. Ponsel Favorit

    April 12, 2015 at 10:26 pm

    saya belum mengerti tentang NAT Static Vs NAT Dynamic in.. bingung bacanya..

     
  18. pusat kosmetik

    August 10, 2015 at 5:30 am

    NAT Static Vs NAT Dynamic, baru ngerti setelah membaca artikel ini

     
  19. Bibit Salak Pondoh, Bibit Salak Madu, Bibit Salak Pondoh Super

    September 14, 2015 at 9:04 pm

    BIBIT SALAK PONDOH, BIBIT SALAK MADU, BIBIT SALAK PONDOH SUPER

    Kami melayani permintaan Bibit Salak Pondoh dan Bibit Salak Madu partai sedang maupun besar dan siap kirim ke seluruh wilayah Indonesia maupun luar negeri. Hubungi : 081.328.720.280 (Telkomsel) atau 085.643.998.119 (Indosat)

     
  20. www.7974.com

    December 7, 2015 at 6:19 am

    我们这个世界,从不会给一个伤心的落伍者颁发奖牌。

     
  21. furtdso linopv

    December 10, 2015 at 7:09 pm

    I found your weblog web site on google and test a few of your early posts. Continue to maintain up the very good operate. I simply extra up your RSS feed to my MSN News Reader. Searching for forward to reading more from you afterward!…

     
  22. rifle

    December 16, 2015 at 3:36 pm

    I was reading some of your content on this website and I believe this web site is really instructive! Continue posting.

     
  23. target

    December 20, 2015 at 11:25 pm

    Valuable information. Lucky me I found your website by chance, and I am surprised why this twist of fate did not came about earlier! I bookmarked it.

     
  24. coc cheats

    January 19, 2016 at 4:11 pm

    http://yort.fr/ Ich habe Neu als Folge der Ihre Blog . Eine andere Sache Ich möchte neuere PC Betriebssysteme haben eine Tendenz zu erlaubt weit Speicher , aber sie gleichfalls Speicherplatz einfach Funktion . Wenn your Computer Keine hand extra Speicher und auch die neuesten Anwendungen erfordert dass Speicher Erhöhung, es in der Regel die Zeit , für zu kaufen eine neue Laptop. Vielen Dank

     
  25. obat penyubur sperma semenax

    February 2, 2016 at 8:20 pm

    jual obat penyubur sperma di jamin manjur

    http://noserba.com/obat-penyubur-sperma-semenax/

     
  26. birthday cakes reading

    February 4, 2016 at 4:49 pm

    I am glad to be a visitor of this complete web blog! , appreciate it for this rare info ! .

     
  27. bAdania psychotechniczne

    February 4, 2016 at 6:20 pm

    Hi , I do believe this is an excellent blog. I stumbled upon it on Yahoo , i will come back once again. Money and freedom is the best way to change, may you be rich and help other people.

     
  28. best mmorpg games

    February 8, 2016 at 10:55 pm

    I respect your piece of work, thankyou for all the great articles.

     
  29. Tasbih Kayu Stigi

    June 20, 2016 at 9:31 am

    informasi yang sabgat menarik

     
  30. straight 2 voicemail

    September 23, 2016 at 3:06 pm

    It sounds like a wonderful class. It would be great to join myself.
    Thanks alot for this
    Cheers

     
  31. school of applied science

    October 11, 2016 at 1:14 pm

    Interesting stuff to read NAT Static Vs NAT Dynamic. Keep it up.

     
  32. Bibit Alpukat Super

    October 14, 2016 at 11:42 am

     
  33. Bibit Alpukat Wina

    October 14, 2016 at 11:44 am

    Good article Bibit Alpukat Wina

     
  34. Tasbih Kayu Cendana Hitam

    January 19, 2017 at 11:11 am

    nice post

     
  35. Noris

    January 20, 2017 at 8:58 pm

    konten bermanfaat.

    Kumpulan Toutorial IT

     
  36. Gelang Kokka Kalimantan

    January 26, 2017 at 10:00 am

    very informative

     
  37. Manfaat Gelang Kayu Gaharu

    January 30, 2017 at 9:51 am

    thanks for sharing

     
  38. gelang kayu kalimosodo

    May 19, 2017 at 9:16 am

    nice

     
  39. gelang akar bahar hitam

    May 29, 2017 at 10:30 am

    nice information

     
  40. ciri tasbih dewandaru

    May 30, 2017 at 10:38 am

    ciri tasbih dewandaru apa saja ya?

     
 
Skip to toolbar