Community discussions

MikroTik App
 
jviure
just joined
Topic Author
Posts: 3
Joined: Thu Mar 14, 2019 1:30 pm

lost with a route!

Thu Mar 14, 2019 1:35 pm

Hi people, my name is Jordi, from Spain, I'm in troubles with my little mikrotik. My router is in the ip 192.168.0.1, I've connected to it a wifi mesh solution that works in the range 10.117.1.1 (connected to the first interface of the router -> ether1). I want the possibility to navigate from 192.168.0.200 i.e to 10.117.1.6, my actual route -does not work!- is:

/ip route add dst-address=10.117.1.0./24 gateway=ether1

What do you see incorrect? thanks! :)=
 
User avatar
sebastia
Forum Guru
Forum Guru
Posts: 1782
Joined: Tue Oct 12, 2010 3:23 am
Location: Antwerp, BE

Re: lost with a route!

Thu Mar 14, 2019 3:33 pm

Hey Jordi

I'm guessing the 10. network is not directly connected to Tik?

So you'll need to tell the Tik how to reach it: which other router should the traffic for 10 be passed on to. And vice-versa, tell the other router, how to reach the 192. network.
To do that you'll need to specify for both the ip of the remote router, not the interface.

Cheers
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19363
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: lost with a route!

Thu Mar 14, 2019 3:57 pm

A diagram will help.
Also please post your config
/export hide-sensitive file=yourconfig.

Plus if you buy me airplane tickets and feed me paella i will come help personally!!
 
jviure
just joined
Topic Author
Posts: 3
Joined: Thu Mar 14, 2019 1:30 pm

Re: lost with a route!

Thu Mar 14, 2019 5:42 pm

Hey Jordi

I'm guessing the 10. network is not directly connected to Tik?

So you'll need to tell the Tik how to reach it: which other router should the traffic for 10 be passed on to. And vice-versa, tell the other router, how to reach the 192. network.
To do that you'll need to specify for both the ip of the remote router, not the interface.

Cheers
Hi sebastia! thanks for your quick answer, yes, the traffic for ip 10. is connected to ether1 (is a wifi mesh ap). I've to assign an ip range to every interface? sorry I'm a little lost right now :D
Jordi
 
User avatar
sebastia
Forum Guru
Forum Guru
Posts: 1782
Joined: Tue Oct 12, 2010 3:23 am
Location: Antwerp, BE

Re: lost with a route!

Thu Mar 14, 2019 10:41 pm

Based on your addition, sounds like it's a directly attached connection, for which no additional routes would be necessary.
Do you have an ip set on eth1? Or should it be configured through some other way (ex: dhcp)?

if eth1 shouldn't have an 10. address, a network schema should help.
Last edited by sebastia on Thu Mar 14, 2019 11:06 pm, edited 1 time in total.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11625
Joined: Thu Mar 03, 2016 10:23 pm

Re: lost with a route!

Thu Mar 14, 2019 10:51 pm

If other routers in the mesh don't have configured the route towards your LAN subnet 192.168.0.0/24, you have to configure SRC-NAT ... you haven't mentioned it so you may have it or not ...

Who is online

Users browsing this forum: gigabyte091, massinia, yosue111 and 57 guests