Berhubung saya lupaan" jadi saya catet aJa wis.. :D
Topologi Virtualbox
IP - 192.168.0.1 Internet > 192.168.0.2 ether1ether2 192.168.1.1 >Os Linux Slackware dll..
1. Mikrotik
- Adapter 1 > Host-Only Adapter
- Adapter 2 > Internal Network
::Konfigurasi Mikortik::
--Mengubah Interface ether--
-interface set ether1 name=publik
-interface set ether2 name=lokal
--Menambah masing - masing interface --
-/ipa address
-/ip address] > add address=192.168.0.2/24 interface=publik
-/ip address > add address=192.168.1.1/24 interface=lokal
--Menambah gateway static--
-ip route add gateway=192.168.0.1
--Menambah DNS--
-ip dns set server=203.130.208.18,203.130.196.155
--Menambah NAT
- ip firewall nat add chain=srcnat out-interface=publik action=masquerade
--Tes koneksi--
-Ping ke Gateway = 192.168.0.1
-Ping ke = 8.8.8.8
-Ping google.com
2. Set Ip Linux Slackware
-#vim /etc/rc.d/rc.inet1.conf
-Sev esc lalu wq
-#vim /etc/rc.d/rc.inet1 restart
-DNS server
-#vim /etc/resolv.conf
Selesai :D