1. Memberi Nama Router
system identity set name=RouterKu
2. Melihat Interface yang terpasang
interface print
3. Memberi Nama pada Interface Ethernet
interface ethernet set ether1 name=Public
interface Ethernet set ether2 name=Local
atau
interface set 0 name=Public
interface set 1 name=Local
atau
interface set 0 name=Public; set 1 name=Local
4. Memberi IP Address pada interface Public dan Local
ip address add address=192.168.67.100/24 interface=Public
ip address add address=10.10.11.2/24 interface=Local
5.Mengganti IP Address pada Interface Local
ip address remove 1
ip address add address=172.16.10.100/24 interface=Local
6. Menambahkan DNS Resolver , Primary DNS dan Secondary DNS
ip dns static add name=dnsku.com address=172.16.10.100
ip dns set primary-dns=203.78.115.215 secondary-dns=203.78.115.222 allow-remote-request=yes
7. Menambahkan default gateway
ip route add dst-address=0.0.0.0/0 gateway=192.168.67.2 Atau
ip route add gateway=192.168.67.2
* Misal IP gateway yang digunakan adalah 192.168.67.2
8. Menambahkan NAT Masquerade
ip firewall nat add chain=srcnat src-address=172.168.10.0/24 out-interface=Public
action=masquerade
9.Menambahkan DHCP Server
- Buat IP Pool
ip pool add name = ippool1 ranges= 172.16.10.1-172.16.10.10
- Setup DHCP Server
ip dhcp-server add interface=Local address=ippool1
- Setup Netwok; Gateway, DNS Server,..
ip dhcp-server network add address=172.16.10.0/24 gateway=172.16.10.100 s=dns-
server=203.78.115.222
10. Membuat Mark Connection yang nantinya di pakai untuk memilah Paket
ip firewall mangle add chain=forward src-address=172.16.10.1 action=mark-connection
new-connection-mark=billing
ip firewall mangle add chain=forward src-address=172.16.10.2 action=mark-connection
new-connection-mark=pc1
ip firewall mangle add chain=forward src-address=172.16.10.3 action=mark-connection
new-connection-mark=pc2
ip firewall mangle add chain=forward src-address=172.16.10.4 action=mark-connection
new-connection-mark=pc3
11. Membuat mark packet untuk Queue, yang didapat dari mark connection
ip firewall mangle add chain=forward connection-mark=billing action=mark-packet new-packet-
mark=billing
ip firewall mangle add chain=forward connection-mark=pc1 action=mark-packetnew-packet-
mark=pc1
ip firewall mangle add chain=forward connection-mark=pc2 action=mark-packetnew-packet-
mark=pc2
ip firewall mangle add chain=forward connection-mark=pc3 action=mark-packetnew-packet-
mark=pc3
12. Membuat Parent tertinggi Queue
queue tree add name=E-Net parent=ether2 max-limit=10000000
13. Membuat Queue per terminal
queue tree add name=pcbil packet-mark=billing parent=E-Net limit-at=64000max-limit=250000
queue tree add name=pc1 packet-mark=pc1 parent=E-Net limit-at=64000 max-limit=250000
queue tree add name=pc2 packet-mark=pc2 parent=E-Net limit-at=64000 max-limit=250000
queue tree add name=pc3 packet-mark=pc3 parent=E-Net limit-at=64000 max-limit=250000
14. Set jam Otomatis
system ntp client set primary-ntp=0.pool.ntp.org secondary-ntp=3.pool.ntp.org enabled=yes
15. Membackup System configuration
system backup save name="Backup-versi1"
16. Restore System configuration
system backup load name="Backup-versi1"
Tidak ada komentar:
Posting Komentar