Community discussions

MikroTik App
 
Krusty
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Fri May 02, 2008 11:14 pm

IPSec cannot reach router from router

Wed Nov 28, 2012 7:00 pm

Hello everybody,

I have working IPsec tunel. I can reach remote network, everything works. But im not able to reach first router from second router and vice versa. Is there any trick for this ? I cant ping router from router, even cant ping remote network form router...
 
psamsig
Member Candidate
Member Candidate
Posts: 161
Joined: Sun Dec 06, 2009 1:36 pm
Location: Denmark

Re: IPSec cannot reach router from router

Wed Nov 28, 2012 9:08 pm

Add a static route on each router, you don't need to a specific gateway, just the desired interface.
 
Krusty
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Fri May 02, 2008 11:14 pm

Re: IPSec cannot reach router from router

Wed Nov 28, 2012 9:57 pm

Add a static route on each router, you don't need to a specific gateway, just the desired interface.
I have routes on each router

first side
 0 A S  0.0.0.0/0                          109.107.208.41            1
 1 ADC  109.107.208.40/29  109.107.208.42  eth01.WAN                 0
 2 ADC  192.168.1.0/24     192.168.1.1     eth02.LAN             0
 5 A S  192.168.2.0/24                     eth01.WAN                 1
 6 ADC  192.168.20.0/24    192.168.20.1    eth02.LAN             0
 7 ADC  192.168.55.0/24    192.168.55.1    BG02.MUC+HOST             0
second side
 #      DST-ADDRESS        PREF-SRC        GATEWAY            DISTANCE
 0 A S  0.0.0.0/0                          31.30.4.161               1
 1 ADC  31.30.4.160/30     31.30.4.162     eth1-WAN                  0
 2 A S  192.168.1.0/24                     eth1-WAN                  1
 3 ADC  192.168.2.0/24     192.168.2.1     bg1-LAN                   0
 
psamsig
Member Candidate
Member Candidate
Posts: 161
Joined: Sun Dec 06, 2009 1:36 pm
Location: Denmark

Re: IPSec cannot reach router from router

Thu Nov 29, 2012 12:04 am

Wrong interface, in your case use eth02.LAN
 
Krusty
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Fri May 02, 2008 11:14 pm

Re: IPSec cannot reach router from router

Thu Nov 29, 2012 1:34 pm

Wrong interface, in your case use eth02.LAN
oh, thank you, this is it :)

Who is online

Users browsing this forum: Georges77, Google [Bot], mohammad9750, MSN [Bot] and 186 guests