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]>

3380670, 3380671, 3380672, 3380673, 3380674, 3380675, 3380676, 3380677, 3380678, 3380679, 3380680, 3380681, 3380682, 3380683, 3380684, 3380685, 3380686, 3380687, 3380688, 3380689, 3380690, 3380691, 3380692, 3380693, 3380694, 3380695, 3380696, 3380697, 3380698, 3380699, 3380700, 3380701, 3380702, 3380703, 3380704, 3380705, 3380706, 3380707, 3380708, 3380709