Menghubungkan PC MIKROTIK dengan ISP SPEEDY .
1. Penggambaran konfigurasi koneksi ADSL
modem —Mikrotik—-Switch —– Client
Client
a. Modem ADSL Speedy IP –>> 192.168.1.1
b. Mikrotik menggunakan 2 LAN card
- Ether1 —->> 192.168.1.2
- Ether1 —->> 192.168.0.254
c. Switch — Client ip 192.168.0.1-253
2. Konfigurasi Mikrotik PC
a. tambahkan ip address ke LAN card 1
/ip address add interface=ether1 address = 192.168.1.1 netmask= 255.255.255.0
b. tambahkan ip address ke LAN card 2
ip address add interface=ether2 address=192.168.0.1 netmask=255.255.255.0
c. Untuk melihat hasil tambahan tadi IP address tadi
/interface print
d. Memberi nama peralatan ( interface)
/inteface set 0 name=”Public” –>> Untuk Modem
/inteface set 1 name=”LAN” –>> Untuk LAN
e. Setting routing untuk jaringan ( modem )
/ip route add gateway=192.168.0.1
f. Setting dns server ISP
/ip dns set primary-dns=203.130.193.74 (DNS Speedy telkom) secondary-dns=202.134.0.155
(DNS Speedy telkom)
/ip dns set allow-remote-requests=yes
g. Setting NAT di router untuk sharing BW di LAN nya
/ip firewall nat add chain = srcnat out-inteface = Public action=masquerade
h. Setting DHCP (DynamicHost Configuration Protocol)
- ip pool add name=dhcp-pool ranges=192.168.0.2-192.168.0.254
- Menambahkan DHCP Network ip dhcp-server network add address=192.168.0.0/24 gateway=192.168.0.1 dns-server=202.134.1.10,202.134.0.155
- Menambahkan Server DHCP
ip dhcp-server add name=DHCP_LAN disabled = no interface=ether2 address-pool=dhcp-pool
No comments:
Post a Comment