Community discussions

MikroTik App
 
dimka
just joined
Topic Author
Posts: 2
Joined: Thu Sep 06, 2007 12:00 am

Static routing through specified interface

Wed Sep 19, 2007 12:50 pm

Hi all!

I have two intarfaces on my router ("wan" 10.10.53.12/32 and "lan" 172.17.1.1/32). Access to Internet is realized through virtual interface (PPPoE out 192.168.58.13/32)

This my routing table print
 
 0 ADC 10.10.53.0/24      10.10.53.12                                wan           
 1 A S 10.10.0.0/16                       r 10.10.53.1               wan           
 2 ADC 172.17.1.115/32    172.17.1.1                                 <pppoe-client>   
 3 ADC 172.17.1.116/32    172.17.1.1                                 <pppoe-client2>  
 4 ADC 172.17.1.119/32    172.17.1.1                                 <pppoe-client3>
 5 ADC 172.17.1.120/32    172.17.1.1                                 <pppoe-client4>  
 6 ADC 172.17.1.125/32    172.17.1.1                                 <pppoe-client5>
 7 ADC 172.17.1.0/24      172.17.1.1                                 lan           
 8 ADC 192.168.58.1/32    192.168.53.12                              WAN_PPPoE     
 9 AD  0.0.0.0/0                          r 192.168.58.1    1        WAN_PPPoE 
I want to access to 10.10.0.0/16 from 172.17.1.0/24. The gateway for 10.10.0.0/16 is 10.10.53.1

When I run ping to 10.10.53.1 from router - it works; when from 172.17.1.5/32 - no.

What should i do to solve this problem?

Thank you.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Static routing through specified interface

Mon Sep 24, 2007 3:12 pm

Most likely 10.10.0.0/16 network does not have information how to reach back 172.17.x.x network and proper routing rules are required there.
 
User avatar
sariao
Frequent Visitor
Frequent Visitor
Posts: 92
Joined: Thu Jul 08, 2004 10:55 am
Location: Saudi Arabia

Re: Static routing through specified interface

Tue Sep 25, 2007 12:52 am

you have to add prement route record on your gateway 10.10.53.1 to route all request going to 172.17.1.0/24 to 10.10.53.12.

so you have to tell me what is your 10.10.53.1? is it windows? if so do the follwing:
goto start->run->cmd
in command prompt write the following:
Route add 172.17.1.0 MASK 255.255.255.0 10.10.53.12
if it is not windows you have to edit the routing table and add same parameters.
Destanation:172.17.1.0 or 172.17.1.0/24
Mask: 255.255.255.0
Gateway: 10.10.53.12

Good Luck