Sunday, November 6, 2016

Menghubungkan Simulasi Pada GNS3 Ke Jaringan Luar (Internet)

Salah satu kelebihan dari simulasi pada GNS3 adalah kita bisa menghubungkan simulasi dengan jaringan luar. Kali ini saya mencoba menghubungkan simulasi pada GNS3 dengan jaringan internet. berikut langkah-langkah yang saya lakukan :

  • Buat topologi pada GNS3
  • Konfigurasi Komputer Host 

  • Konfigurasi Cloud 1
  • Konfigurasi R1
  • R1(config)#int f0/0
    R1(config-if)#ip address dhcp 
    R1(config-if)#no sh
    R1(config-if)#
    *Mar  1 00:06:41.331: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0 assigned DHCP address 172.22.1.38, mask 255.255.255.0, hostname R1
    R1(config-if)#exit
    R1(config)#ip domain-lookup 
    R1(config)#end
    R1#
    R1#copy running-config startup-config
    </div>


  • Uji Koneksi internet dari R1


  • R1#ping google.com

    Translating "google.com"...domain server (172.22.1.254) [OK]

    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 74.125.130.100, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 92/100/128 ms


  • IP Address pada tiny core


  • username 'gns3', password 'gns3'
    Run filetool.sh -b if you want to save your changes
    box login: gns3
    Password:
    ( '>')
    /) TC (\ Core is distributed with ABSOLUTELY NO WARRANTY.
    (/-_--_-\) www.tinycorelinux.net

    gns3@box:~$ ifconfig
    eth0 Link encap:Ethernet HWaddr 00:00:AB:76:9A:00
    inet addr:172.22.1.39 Bcast:172.22.1.255 Mask:255.255.255.0
    inet6 addr: fe80::200:abff:fe76:9a00/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:192 errors:0 dropped:0 overruns:0 frame:0
    TX packets:74 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:42132 (41.1 KiB) TX bytes:9358 (9.1 KiB)


  • Uji Koneksi pada Tiny Core


  • gns3@box:~$ ping google.com
    PING google.com (74.125.68.113): 56 data bytes
    64 bytes from 74.125.68.113: seq=0 ttl=43 time=48.537 ms
    64 bytes from 74.125.68.113: seq=1 ttl=43 time=44.891 ms
    64 bytes from 74.125.68.113: seq=2 ttl=43 time=44.006 ms