Difference between revisions of "OpenWRT: Kosongkan Konfigurasi untuk GNS3"

From OnnoWiki
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Agar menjadi router kosongan untuk GNS3.
 
Agar menjadi router kosongan untuk GNS3.
 +
 +
==Install Quagga==
 +
 +
Pastikan OpenWRT tersambung ke Internet
 +
 +
opkg update
 +
opkg install quagga-bgpd quagga-isisd quagga-libospf \
 +
quagga-libzebra quagga-ospf6d quagga-ospfd quagga-ripd \
 +
quagga-ripngd quagga-vtysh quagga-watchquagga \
 +
quagga-zebra quagga
 +
 +
==Kosongkan Semua Konfigurasi Jaringan==
 +
 
Masuk ke shell, dan buang semua konfigurasi
 
Masuk ke shell, dan buang semua konfigurasi
  
  rm /etc/config/firewall
+
  rm -Rf /etc/config/firewall*
  rm /etc/config/luci
+
  rm -Rf /etc/config/luci*
  rm /etc/config/ucitrack
+
  rm -Rf /etc/config/ucitrack*
 +
rm -Rf /etc/config/freifunk*
  
 
  ifconfig eth0 0.0.0.0
 
  ifconfig eth0 0.0.0.0
Line 19: Line 33:
  
 
Lakukan ifconfig di atas beberapa kali sampai ip address benar2 habis.
 
Lakukan ifconfig di atas beberapa kali sampai ip address benar2 habis.
 +
Edit
  
 +
vi /etc/config/network
  
Edit /etc/config/network, sisakan
+
sisakan
  
 
  config interface 'loopback'
 
  config interface 'loopback'
         option ifname 'lo'
+
         option ifname 'lo'  
 
         option proto 'static'
 
         option proto 'static'
 
         option ipaddr '127.0.0.1'
 
         option ipaddr '127.0.0.1'
 
         option netmask '255.0.0.0'
 
         option netmask '255.0.0.0'
 +
         
 +
  
 
cek & pastikan semua interface kosong tidak ada ip sama sekali
 
cek & pastikan semua interface kosong tidak ada ip sama sekali
Line 40: Line 58:
 
==Pranala Menarik==
 
==Pranala Menarik==
  
* [[OpenWRT]]
+
* [[TCP/IP: Advanced Routing]]
 +
* [[Quagga]]
 +
* [[Mikrotik]]
 +
* [[Cisco]]
 +
* [[Juniper]]
 +
* [[BIRD: Routing]]
 +
* [[IPv6]]

Latest revision as of 04:27, 1 April 2020

Agar menjadi router kosongan untuk GNS3.

Install Quagga

Pastikan OpenWRT tersambung ke Internet

opkg update
opkg install quagga-bgpd quagga-isisd quagga-libospf \
quagga-libzebra quagga-ospf6d quagga-ospfd quagga-ripd \
quagga-ripngd quagga-vtysh quagga-watchquagga \
quagga-zebra quagga

Kosongkan Semua Konfigurasi Jaringan

Masuk ke shell, dan buang semua konfigurasi

rm -Rf /etc/config/firewall*
rm -Rf /etc/config/luci*
rm -Rf /etc/config/ucitrack*
rm -Rf /etc/config/freifunk*
ifconfig eth0 0.0.0.0
ifconfig eth1 0.0.0.0
ifconfig eth2 0.0.0.0
ifconfig eth3 0.0.0.0
ifconfig eth4 0.0.0.0
ifconfig eth5 0.0.0.0
ifconfig eth6 0.0.0.0
ifconfig eth7 0.0.0.0
ifconfig eth8 0.0.0.0
..


Lakukan ifconfig di atas beberapa kali sampai ip address benar2 habis. Edit

vi /etc/config/network

sisakan

config interface 'loopback'
        option ifname 'lo' 
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'
          


cek & pastikan semua interface kosong tidak ada ip sama sekali

ifconfig | more


Reboot

reboot

Pranala Menarik