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

From OnnoWiki
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
Agar menjadi router kosongan untuk gns3,
+
Agar menjadi router kosongan untuk GNS3.
masuk ke shell
 
  
rm /etc/config/firewall
+
==Install Quagga==
rm /etc/config/luci
 
rm /etc/config/ucitrack
 
  
Edit /etc/config/network, sisakan
+
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'
 
  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
 +
 +
ifconfig | more
 +
  
 
Reboot
 
Reboot
Line 20: 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