networking:cisco:static-nat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
networking:cisco:static-nat [2026/02/04 23:47] – [Konfigurasi] ilyasanetworking:cisco:static-nat [2026/02/04 23:51] (current) ilyasa
Line 92: Line 92:
  
 ===== Testing ===== ===== Testing =====
 +* **PC1 : Test ping dan hasil capture**
 +<code>
 +PC1> ip dhcp
 +DORA IP 192.168.1.1/24 GW 192.168.1.254
 +
 +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.694 ms
 +84 bytes from 142.251.175.113 icmp_seq=2 ttl=254 time=20.258 ms
 +84 bytes from 142.251.175.113 icmp_seq=3 ttl=254 time=15.912 ms
 +84 bytes from 142.251.175.113 icmp_seq=4 ttl=254 time=16.214 ms
 +^c
 +</code>
 +{{ :networking:cisco:cisco_natstatic-test03.png?nolink |}}
 +
 +* **PC2 : Test ping dan hasil capture**
 +<code>
 +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=30.073 ms
 +</code>
 +
 +{{ :networking:cisco:cisco_natstatic-test02.png?nolink |}}
 +
 +* **PC3 : Test ping dan hasil capture**
 +
 +<code>
 +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=20.609 ms
 +</code>
 +{{ :networking:cisco:cisco_natstatic-test01.png?nolink |}}
 +
 +* **R1 : logs nat translations**
 +<code js>
 +R1#show ip nat translations
 +Pro Inside global      Inside local       Outside local      Outside global
 +icmp 100.0.0.1:49363   192.168.1.1:49363  8.8.8.8:49363      8.8.8.8:49363
 +icmp 100.0.0.1:49619   192.168.1.1:49619  8.8.8.8:49619      8.8.8.8:49619
 +icmp 100.0.0.1:49875   192.168.1.1:49875  8.8.8.8:49875      8.8.8.8:49875
 +icmp 100.0.0.1:50131   192.168.1.1:50131  8.8.8.8:50131      8.8.8.8:50131
 +icmp 100.0.0.1:50387   192.168.1.1:50387  8.8.8.8:50387      8.8.8.8:50387
 +--- 100.0.0.1          192.168.1.1        ---                ---
 +icmp 100.0.0.2:54227   192.168.1.2:54227  8.8.8.8:54227      8.8.8.8:54227
 +--- 100.0.0.2          192.168.1.2        ---                ---
 +icmp 100.0.0.3:57043   192.168.1.3:57043  8.8.8.8:57043      8.8.8.8:57043
 +--- 100.0.0.3          192.168.1.3        ---                ---
 +</code>
  • networking/cisco/static-nat.1770223637.txt.gz
  • Last modified: 2026/02/04 23:47
  • by ilyasa