Difference between revisions of "OpenWRT: Kosongkan Konfigurasi untuk GNS3"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
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 | ||
+ | .. | ||
+ | |||
+ | |||
Edit /etc/config/network, sisakan | Edit /etc/config/network, sisakan | ||
Line 20: | Line 23: | ||
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 |
Revision as of 10:50, 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 ..
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