Topologi
Konfigurasi Mikrotik
Setting IP Address
/ip address add address=180.50.1.186/30 interface=ether1Setting DNS Server
/ip address add address=192.168.1.1/24 interface=ether2
/ip dns set servers=8.8.8.8,8.8.4.4 allow-remote-requests=yesSetting Gateway
/ip route add dst-address=0.0.0.0/0 gateway=192.50.1.185 type=unicast
Setting Nat Masquirade agar IP lokal bisa menggunakan koneksi internet
/ip firewall nat add chain=srcnat out-interface=ether1 action=masqueradeSetting IP client dengan
IP address : 192.168.1.2
Netmask : 255.255.255.0
Gateway : 192.168.1.1
DNS : 8.8.8.8 dan 8.8.4.4
0 comments:
Post a Comment