BIRD: dari OpenWRT

From OnnoWiki
Revision as of 11:14, 19 January 2019 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Agar menjadi router kosongan untuk GNS3. Masuk ke shell, dan buang semua konfigurasi

# cp /etc/bird.conf /etc/bird.conf.example
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
ifconfig eth0 ::
ifconfig eth1 ::
ifconfig eth2 ::
ifconfig eth3 ::
ifconfig eth4 ::
ifconfig eth5 ::
ifconfig eth6 ::
ifconfig eth7 ::
ifconfig eth8 ::
..


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