GNS3 Connect To Internet
Irfan Akbar
irfan@unram.ac.id
Topology
Network Pada Host OS:
Mac OS X El Capitan
Interface en0 DHCP
Konfigurasi Cloud 1
Sehingga pada cloud 1 harus di add network interface dengan tipe en0
Tentang Tinycore
Tinycore adalah image yang dipasangkan pada Qemu VMS agar kita tidak perlu
Menginstall os tersebut pada vmware
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#
*Mar 1 00:07:03.511: %SYS-5-CONFIG_I: Configured from console by
console
R1#copy running-config startup-config
Uji Koneksi internet dario 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 Add Pada TinyCore
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 Tinycore
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
64 bytes from 74.125.68.113: seq=3 ttl=43 time=46.513 ms
64 bytes from 74.125.68.113: seq=4 ttl=43 time=51.027 ms
64 bytes from 74.125.68.113: seq=5 ttl=43 time=54.865 ms
^C

14.connect gns3 to internet

  • 1.
    GNS3 Connect ToInternet Irfan Akbar irfan@unram.ac.id
  • 2.
  • 3.
    Network Pada HostOS: Mac OS X El Capitan Interface en0 DHCP
  • 4.
    Konfigurasi Cloud 1 Sehinggapada cloud 1 harus di add network interface dengan tipe en0
  • 5.
    Tentang Tinycore Tinycore adalahimage yang dipasangkan pada Qemu VMS agar kita tidak perlu Menginstall os tersebut pada vmware
  • 6.
    Konfigurasi R1 R1(config)#int f0/0 R1(config-if)#ipaddress 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# *Mar 1 00:07:03.511: %SYS-5-CONFIG_I: Configured from console by console R1#copy running-config startup-config
  • 7.
    Uji Koneksi internetdario 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
  • 8.
    IP Add PadaTinyCore 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)
  • 9.
    Uji Koneksi PadaTinycore 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 64 bytes from 74.125.68.113: seq=3 ttl=43 time=46.513 ms 64 bytes from 74.125.68.113: seq=4 ttl=43 time=51.027 ms 64 bytes from 74.125.68.113: seq=5 ttl=43 time=54.865 ms ^C