LANGKAH-LANGKAH KONFIGURASI MIKROTIK
1.Password :pass
2.Hostname :sys
id set name
3.Nama interaces :int set ether 1 name public
4.Ip address :ip
add add add 172.16.1.1/29 int=public
5.gateway :ip route
add gateway =172.16.1.1
6.DNS :ip
dns set primary-dns 172.16.1.1
7.NAT/Firewall :ip firewall nat add chain=srcnat
action=masquerade out- int=public
#sys
reset à untuk
mereset
#sys
reboot à untuk
merestart
#sys
shutdown à untuk
mematikan
Berikut
ini contoh dlm prakteknya:
#mengganti
hostname
·
system identity set name=uthuxz
·
sys id set name=uthuxz
#untuk mengecek LAN card
·
interface print
·
int pr
#mengganti nama LAN card
·
interface set ether 0 name=local
·
int set eth 1 name=public
#seting ip address
·
ip address add address 192.168.1.1/28 interface=local
·
ip add add add 172.16.1.1/29 int=public
·
ip address print/ ip add pr àcek
ip address
#menghapus ip address
·
ip address remove à
enter à(eth
0/eth 1)
·
ip add rem à
enter à
(eth 0/eth 1)
#seting gateway
·
ip route add gateway=172.16.1.1
·
ip r add g=172.16.1.1
·
ip route print/ip r pr àcek
gateway
#seting dns
·
ip dns set primary-dns=172.16.1.1
·
ip dns set secondary-dns=8.8.8.8
·
ip dns print/ip dns pr àcek
dns
#seting firewall
·
ip firewall nat add chain=srcnat
action=masquerade out-int=public
·
ip firewall nat print/ip f nat pr àcek
firewall
KONFIGURASI HOTSPOT AREA DI MIKROTIK
1.ip hotspot setup
·
hotspot interface :local
·
local address of network :alamat ip local
·
masquerade network :yes
·
address pool of network :192.168.1.2-192.168.1.254
·
select certificate :none
·
ip address of smtp server
:0.0.0.0
·
dns server :192.168.0.1
·
dns name :-
·
name of local user :admin
·
password for the user :admin
Posting Komentar