Difference between revisions of "GNS3: Jaringan Sederhana dengan OpenWRT"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
config interface 'loopback' | config interface 'loopback' | ||
− | + | option ifname 'lo' | |
− | + | option proto 'static' | |
− | + | option ipaddr '127.0.0.1' | |
− | + | option netmask '255.0.0.0' | |
config globals 'globals' | config globals 'globals' | ||
− | + | option ula_prefix 'fd52:3330:7288::/48' | |
config interface 'lan' | config interface 'lan' | ||
− | + | option type 'bridge' | |
− | + | option proto 'static' | |
− | + | option ipaddr '192.168.100.1' | |
− | + | option netmask '255.255.255.0' | |
− | + | option ip6assign '60' | |
− | + | option ifname 'eth0 eth1 eth2 eth3 eth4 eth5 eth6' | |
− | config interface ' | + | config interface 'wan' |
− | + | option ifname 'eth7' | |
− | + | option proto 'dhcp' | |
+ | |||
+ | config interface 'wan6' | ||
+ | option ifname 'eth7' | ||
+ | option proto 'dhcpv6' | ||
+ | |||
Konfigurasi OpenWRT dapat dilakukan melalui web, dengan cara, | Konfigurasi OpenWRT dapat dilakukan melalui web, dengan cara, | ||
Line 37: | Line 42: | ||
* masuk ke terminal Kali Linux, ketik "dhclient eth0" | * masuk ke terminal Kali Linux, ketik "dhclient eth0" | ||
* Browse ke 192.168.1.1 (IP default OpenWRT). | * Browse ke 192.168.1.1 (IP default OpenWRT). | ||
+ | * Browse ke 192.168.100.1 (kalau OpenWRT sudah di ganti ke 192.168.100.1) | ||
+ | |||
+ | |||
+ | ==Youtube== | ||
+ | * [https://www.youtube.com/watch?v=CMbPx5RCeFw GNS3 OpenWRT] | ||
==Pranala Menarik== | ==Pranala Menarik== |
Latest revision as of 04:55, 30 March 2020
Untuk mensimulasikan OpenWRT menggunakan GNS3 dapat menggunakan topologi seperti tampak pada gambar di bawah ini. Topologi yang digunakan menggunakan Cloud GND3 - OpenWRT - dan client (dalam contoh ini digunakan VPCS dan Kali Linux).
Alokasi ethernet di OpenWRT
eth0 s/d eth6 untuk LAN (bridge) eth7 untuk WAN IP LAN 192.168.100.x/24 - agar tidak conflict dengan OpenWRT lain yang ada di Cloud.
Konfigurasi yang perlu di edit di /etc/config/network, ubah agar menjadi,
config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' config globals 'globals' option ula_prefix 'fd52:3330:7288::/48' config interface 'lan' option type 'bridge' option proto 'static' option ipaddr '192.168.100.1' option netmask '255.255.255.0' option ip6assign '60' option ifname 'eth0 eth1 eth2 eth3 eth4 eth5 eth6' config interface 'wan' option ifname 'eth7' option proto 'dhcp' config interface 'wan6' option ifname 'eth7' option proto 'dhcpv6'
Konfigurasi OpenWRT dapat dilakukan melalui web, dengan cara,
- Sambungkan PC / Kali Linux ke eth0
- masuk ke terminal Kali Linux, ketik "dhclient eth0"
- Browse ke 192.168.1.1 (IP default OpenWRT).
- Browse ke 192.168.100.1 (kalau OpenWRT sudah di ganti ke 192.168.100.1)