Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| networking:cisco:dynamic-nat [2026/02/05 00:01] – ilyasa | networking:cisco:dynamic-nat [2026/02/05 00:06] (current) – [Testing] ilyasa | ||
|---|---|---|---|
| Line 89: | Line 89: | ||
| ===== Konfigurasi ===== | ===== Konfigurasi ===== | ||
| - | ===== Pada R1 ===== | ||
| - | |||
| - | * Tentukan Interface inside dan outsite | ||
| + | * **R1: Tentukan Interface inside dan outsite** | ||
| <code js> | <code js> | ||
| R1(config)# | R1(config)# | ||
| Line 100: | Line 98: | ||
| </ | </ | ||
| - | * Membuat Pool Untuk IP Public | + | * **R1 : Membuat Pool Untuk IP Public** |
| <code js> | <code js> | ||
| Line 106: | Line 104: | ||
| </ | </ | ||
| - | * Membuat ACL untuk range ip internal | + | * **R1 : Membuat ACL untuk range ip internal** |
| <code js> | <code js> | ||
| Line 112: | Line 110: | ||
| </ | </ | ||
| - | * Mempetakan ip pool yang telah dibuat ke ip private dgn dynamic nat | + | * **R1 : Mempetakan ip pool yang telah dibuat ke ip private dgn dynamic nat** |
| <code js> | <code js> | ||
| Line 119: | Line 117: | ||
| ===== Testing ===== | ===== Testing ===== | ||
| + | * **PC1 : Test ping dan hasil capture** | ||
| + | < | ||
| + | PC1> ip dhcp | ||
| + | DORA IP 192.168.1.1/ | ||
| + | |||
| + | PC1> ping 8.8.8.8 -c 1 | ||
| + | |||
| + | 84 bytes from 8.8.8.8 icmp_seq=1 ttl=62 time=48.818 ms | ||
| + | |||
| + | PC1> ping google.com | ||
| + | google.com resolved to 142.251.175.113 | ||
| + | |||
| + | 84 bytes from 142.251.175.113 icmp_seq=1 ttl=254 time=19.530 ms | ||
| + | 84 bytes from 142.251.175.113 icmp_seq=2 ttl=254 time=26.425 ms | ||
| + | 84 bytes from 142.251.175.113 icmp_seq=3 ttl=254 time=14.858 ms | ||
| + | 84 bytes from 142.251.175.113 icmp_seq=4 ttl=254 time=15.780 ms | ||
| + | 84 bytes from 142.251.175.113 icmp_seq=5 ttl=254 time=11.737 ms | ||
| + | </ | ||
| + | {{ : | ||
| + | |||
| + | * **PC2 : Test ping dan hasil capture** | ||
| + | |||
| + | < | ||
| + | PC2> ip dhcp | ||
| + | DORA IP 192.168.1.2/ | ||
| + | |||
| + | PC2> ping 8.8.8.8 -c 1 | ||
| + | |||
| + | 84 bytes from 8.8.8.8 icmp_seq=1 ttl=62 time=29.733 ms | ||
| + | |||
| + | PC2> ping google.com -c 1 | ||
| + | google.com resolved to 142.251.175.113 | ||
| + | |||
| + | 84 bytes from 142.251.175.113 icmp_seq=1 ttl=254 time=20.108 ms | ||
| + | </ | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | * **PC3 : Test ping dan hasil capture** | ||
| + | |||
| + | < | ||
| + | PC3> ip dhcp | ||
| + | DORA IP 192.168.1.3/ | ||
| + | |||
| + | PC3> ping 8.8.8.8 -c 1 | ||
| + | |||
| + | 84 bytes from 8.8.8.8 icmp_seq=1 ttl=62 time=26.725 ms | ||
| + | |||
| + | PC3> ping google.com -c 1 | ||
| + | google.com resolved to 142.251.175.113 | ||
| + | |||
| + | 84 bytes from 142.251.175.113 icmp_seq=1 ttl=254 time=19.783 ms | ||
| + | </ | ||
| + | {{ : | ||
| + | |||
| + | * **R1 : logs nat translations** | ||
| + | <code js> | ||
| + | R1#show ip nat translations | ||
| + | Pro Inside global | ||
| + | udp 100.0.0.1: | ||
| + | icmp 100.0.0.1: | ||
| + | icmp 100.0.0.1: | ||
| + | icmp 100.0.0.1: | ||
| + | icmp 100.0.0.1: | ||
| + | icmp 100.0.0.1: | ||
| + | --- 100.0.0.1 | ||
| + | --- 100.0.0.3 | ||
| + | udp 100.0.0.2: | ||
| + | icmp 100.0.0.2: | ||
| + | --- 100.0.0.2 | ||
| + | </ | ||