Page 113 - Modul administrasi infrastruktur jaringan kelas XI SMK - andi setiawan
P. 113

R2
                    Router>en
                    Router#conf t
                    Router(config)#host R2
                    R2(config)#int fa0/0
                    R2(config-if)#ip add 10.10.10.2 255.255.255.0
                    R2(config-if)#no sh
                    R2(config-if)#int fa0/1
                    R2(config-if)#ip add 20.20.20.1 255.255.255.0
                    R2(config-if)#no sh

                  Konfigurasi static NAT dan default route pada R1 PC LAN 192.168.1.11 akan
                  ditranslasikan ke ip public 10.10.10.10

                    R1(config)#ip nat inside source static 192.168.1.11 10.10.10.10
                    R1(config)#int fa0/0
                    R1(config-if)#ip nat inside
                    R1(config-if)#int fa0/1
                    R1(config-if)#ip nat outside
                    R1(config-if)#ex
                    R1(config)#ip route 0.0.0.0 0.0.0.0 fa0/1



                  Ping static NAT melalui server dan sebaliknya. Alamat PC LAN tidak akan pernah dapat
                  diping dari internet.

                    SERVER:\>ping 10.10.10.10
                    Pinging 10.10.10.10 with 32 bytes of data:
                    Reply from 10.10.10.10: bytes=32 time<1ms TTL=126
                    Reply from 10.10.10.10: bytes=32 time<1ms TTL=126
                    Reply from 10.10.10.10: bytes=32 time<1ms TTL=126
                    Reply from 10.10.10.10: bytes=32 time=11ms TTL=126
                    Ping statistics for 10.10.10.10:
                       Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
                    Approximate round trip times in milli-seconds:
                       Minimum = 0ms, Maximum = 11ms, Average = 2ms


                    SERVER:\>ping 192.168.1.11
                    Pinging 192.168.1.11 with 32 bytes of data:
                    Reply from 20.20.20.1: Destination host unreachable.
                    Reply from 20.20.20.1: Destination host unreachable.
                    Reply from 20.20.20.1: Destination host unreachable.
                    Reply from 20.20.20.1: Destination host unreachable.
                    Ping statistics for 192.168.1.11:
                       Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),







                  Remember me in your pray
   108   109   110   111   112   113   114   115   116   117   118