Konfigurasi NAT Cisco Router: Perbedaan antara revisi
Loncat ke navigasi
Loncat ke pencarian
(←Membuat halaman berisi '{{DISPLAYTITLE:Konfigurasi NAT Sisco Router}} Ada beberapa metode (dan perintah) yang digunakan untuk mengkonfigurasi NAT. Tiga metode tersebut di antaranya Static NA...') |
|||
Baris 11: | Baris 11: | ||
router(config-if)#ip nat outside | router(config-if)#ip nat outside | ||
router(config-if)#end | router(config-if)#end | ||
[[Berkas:Fig1 wilkins basic-nat-concepts.jpg|jmpl|Topologi Static NAT]] | |||
===Dynamic NAT Configuration=== | ===Dynamic NAT Configuration=== | ||
Baris 22: | Baris 23: | ||
router(config-if)#ip nat outside | router(config-if)#ip nat outside | ||
router(config-if)#end | router(config-if)#end | ||
[[Berkas:Fig2 wilkins basic-nat-concepts.jpg|jmpl|Topologo Dynamic NAT]] | |||
===TCP Load Balancing Configuration=== | ===TCP Load Balancing Configuration=== | ||
Baris 33: | Baris 35: | ||
router(config-if)#ip nat outside | router(config-if)#ip nat outside | ||
router(config-if)#end | router(config-if)#end | ||
[[Berkas:Fig3 wilkins basic-nat-concepts.jpg|jmpl|''Topologi TCP Load Balancing Configuration'']] | |||
{{DEFAULTSORT:Konfigurasi_NAT_Sisco_Router}} | {{DEFAULTSORT:Konfigurasi_NAT_Sisco_Router}} |
Revisi per 27 Agustus 2023 14.49
Ada beberapa metode (dan perintah) yang digunakan untuk mengkonfigurasi NAT. Tiga metode tersebut di antaranya Static NAT , Dynamic NAT, dan satu lagi TCP Load Balancing.
Static NAT Configuration
router#configure terminal router(config)#ip nat inside source static local-ip global-ip [overload] router(config)#interface interface-id router(config-if)#ip nat inside router(config-if)#interface interface-id router(config-if)#ip nat outside router(config-if)#end
Dynamic NAT Configuration
router#configure terminal router(config)#ip nat pool pool-name start-ip end-ip {netmask netmask | prefix-length prefix-length} router(config)#access-list access-list-number permit source [source-wildcard] router(config)#ip nat inside source list access-list-number pool pool-name [overload] router(config)#interface interface-id router(config-if)#ip nat inside router(config-if)#interface interface-id router(config-if)#ip nat outside router(config-if)#end
TCP Load Balancing Configuration
router#configure terminal router(config)#ip nat pool pool-name start-ip end-ip {netmask netmask | prefix-length prefix-length} type rotary router(config)#access-list access-list-number permit source [source-wildcard] router(config)#ip nat inside destination-list access-list-number pool pool-name router(config)#interface interface-id router(config-if)#ip nat inside router(config-if)#interface interface-id router(config-if)#ip nat outside router(config-if)#end