OpenWRT: Kosongkan Konfigurasi untuk GNS3: Difference between revisions
From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs) No edit summary |
Onnowpurbo (talk | contribs) No edit summary |
||
| Line 12: | Line 12: | ||
ifconfig eth4 0.0.0.0 | ifconfig eth4 0.0.0.0 | ||
ifconfig eth5 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. | Lakukan ifconfig di atas beberapa kali sampai ip address benar2 habis. | ||
Revision as of 04:34, 24 December 2018
Agar menjadi router kosongan untuk GNS3. Masuk ke shell, dan buang semua konfigurasi
rm /etc/config/firewall rm /etc/config/luci rm /etc/config/ucitrack
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 /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