LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-14-2014, 01:34 AM   #1
muzaffar_muzu
LQ Newbie
 
Registered: May 2011
Posts: 17

Rep: Reputation: 0
Ipsec site-to-site vpn


Hi,

After adding VLAN in our network IPsec stopped working and it gives following error when we check the status

PHP Code:
[root@bglr-kol-vpn ~]# service ipsec status
IPsec running  pluto pid8518
pluto pid 8518
2 tunnels up
some eroutes exist
[root@bglr-kol-vpn ~]
below is my configuration file

Site A
PHP Code:
conn net-to-net
        authby
=secret
        left
=203.196.xxx.xxx
        leftsubnet
=192.168.11.0/24
        leftnexthop
=%defaultroute
        right
=182.73.xxx.xxx
        rightsubnet
=172.16.0.0/16
        rightnexthop
=%defaultroute
        auto
=start 
Site B:
PHP Code:
        authby=secret
        left
=182.73.xxx.xxx
        leftsubnet
=172.16.0.0/16
        leftnexthop
=%defaultroute
        right
=203.196.xxx.xxx
        rightsubnet
=192.168.11.0/24
        rightnexthop
=%defaultroute
        auto
=start 
Site A is the local subnet and we have created VLAN on this network.

please help me resolve this issue.
 
Old 07-15-2014, 04:03 AM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
That message from "service ipsec status" does not show any error.
It could be a routing problem.
Please show the VLAN config and the routing table (sudo route or "netstat -r").
Can you temporarily remove the VLAN, then post the routing table after doing that.
Also check the log files for real error messages.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Site-to-Site VPN with Amazon VPC using pfSense LXer Syndicated Linux News 1 11-27-2013 05:59 AM
site to site vpn cisco or sonic wall Gil@LQ Linux - Networking 6 06-03-2013 07:26 PM
IKE_SA_INIT failed with StrongSwan Site to Site VPN between different amazon VPCs loesprite Linux - Networking 1 11-21-2012 11:43 PM
Configuring Site to SIte VPN on Linux Machine to any Firewall anandnenwani Linux - Newbie 3 09-04-2012 12:00 PM
site to site vpn racoon with cisco asa 5505 routing issues wastingtime Linux - Networking 1 04-02-2010 12:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration