Setting Gateway di Mikrotik Router OS

By On Friday, April 21st, 2017 Categories : Sains

(Setting Gateway di Mikrotik Router OS) – Bentuk Perintah Konfigurasi

ip route add gateway={ip gateway}

a. Memberikan default Gateway, diasumsikan gateway untuk koneksi internet adalah
192.168.1.1

[admin@routerku] > /ip route add gateway=192.168.1.1

b. Melihat Tabel routing pada Mikrotik Routers

[admin@routerku] > ip route print

Flags: X – disabled, A – active, D – dynamic,
C – connect, S – static, r – rip, b – bgp, o – ospf
# DST-ADDRESS PREFSRC G GATEWAY DISTANCE INTERFACE
0 ADC 192.168.0.0/24 192.168.0.30 Local
1 ADC 192.168.0.0/27 192.168.1.2 Public
2 A S 0.0.0.0/0 r 192.168.1.1 Public
[admin@routerku]>

c. Tes Ping ke Gateway untuk memastikan konfigurasi sudah benar
[admin@routerku] > ping 192.168.1.1
192.168.1.1 64 byte ping: ttl=64 time<1 ms
192.168.1.1 64 byte ping: ttl=64 time<1 ms
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0/0.0/0 ms
[admin@routerku]>

24423256, 24423257, 24423258, 24423259, 24423260, 24423261, 24423262, 24423263, 24423264, 24423265, 24423266, 24423267, 24423268, 24423269, 24423270, 24423271, 24423272, 24423273, 24423274, 24423275, 24423276, 24423277, 24423278, 24423279, 24423280, 24423281, 24423282, 24423283, 24423284, 24423285, 24423286, 24423287, 24423288, 24423289, 24423290, 24423291, 24423292, 24423293, 24423294, 24423295