Community discussions

MikroTik App
 
xavierdp
just joined
Topic Author
Posts: 5
Joined: Thu Sep 13, 2018 4:55 pm

Simple routing

Fri Sep 14, 2018 10:58 am

Hi,

Could you help me with simple routting please ?

I have a Mikrotik router board with a 192.168.100.0/24 network (with ADSL on ether1) + 192.168.100.1 as gateway
I have a Mikrotik LTE 4G with a 192.168.200.0/24 network + 192.168.200.1 as gateway
the router board and the LTE work well

I have a machine with an 192.168.100.14 IP and i want route all trafic from this machine to the LTE 4G
/ip route> print detail                                                                                 
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit 
 0 A S  dst-address=0.0.0.0/0 gateway=192.168.200.1 gateway-status=192.168.200.1 reachable via  brlte check-gateway=ping distance=1 scope=30 target-scope=10 
        routing-mark=FTP 

 1 A S  dst-address=0.0.0.0/0 gateway=192.168.200.1 gateway-status=192.168.200.1 reachable via  brlte check-gateway=ping distance=1 scope=30 target-scope=10 
        routing-mark=ordifixe 

[b] 2   S  dst-address=0.0.0.0/0 pref-src=192.168.100.114 gateway=192.168.200.1 gateway-status=192.168.200.1 reachable via  brlte distance=1 scope=30 target-scope=10 [/b]

 3 A S  dst-address=0.0.0.0/0 gateway=192.168.1.1 gateway-status=192.168.1.1 reachable via  ether1 check-gateway=ping distance=2 scope=30 target-scope=10 

 4   S  dst-address=0.0.0.0/0 gateway=192.168.200.1 gateway-status=192.168.200.1 reachable via  brlte check-gateway=ping distance=3 scope=30 target-scope=10 

 5 ADC  dst-address=192.168.0.0/22 pref-src=192.168.1.121 gateway=ether1 gateway-status=ether1 reachable distance=0 scope=10 

 6 ADC  dst-address=192.168.100.0/24 pref-src=192.168.100.1 gateway=bridge gateway-status=bridge reachable distance=0 scope=10 

 7 ADC  dst-address=192.168.200.0/24 pref-src=192.168.200.252 gateway=brlte gateway-status=brlte reachable distance=0 scope=10 
i tested marking packet wut i wloud use a pure routing method if its possible

i tested
/ip route add dst-address=0.0.0.0/0 pref-src=192.168.100.114 gateway=192.168.200.1 distance=1
but its stay inactive

What can i could do to do it work please ?

Regards,
Xavier
 
User avatar
AminYounessi
Trainer
Trainer
Posts: 55
Joined: Wed Nov 23, 2016 7:39 am

Re: Simple routing

Mon Sep 17, 2018 11:51 am

You must write your route to the ip address of interface between two mikrotik's not to your mikrotik LAN interface side.

Best Regards,

Who is online

Users browsing this forum: slimmerwifi, vingjfg and 35 guests