Page 1 of 1

IPSec cannot reach router from router

Posted: Wed Nov 28, 2012 7:00 pm
by Krusty
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...

Re: IPSec cannot reach router from router

Posted: Wed Nov 28, 2012 9:08 pm
by psamsig
Add a static route on each router, you don't need to a specific gateway, just the desired interface.

Re: IPSec cannot reach router from router

Posted: Wed Nov 28, 2012 9:57 pm
by Krusty
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

Re: IPSec cannot reach router from router

Posted: Thu Nov 29, 2012 12:04 am
by psamsig
Wrong interface, in your case use eth02.LAN

Re: IPSec cannot reach router from router

Posted: Thu Nov 29, 2012 1:34 pm
by Krusty
Wrong interface, in your case use eth02.LAN
oh, thank you, this is it :)