LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-07-2003, 09:58 AM   #1
sergiyn
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
Post VPN with IPSec question


I really stuck here (help me please ):

I'm trying to set a IPSec based VPN tunnel up.
Everything works till the point where data should be transmitted, so I get "IPsec SA established" on both linux boxes.

If I try to ping the destination host (any of them) I get 100% packet lost.

The ifconfig -i ipsec0 output looks like:
ipsec0 Link encap:IPIP Tunnel HWaddr
inet addr:195.222.10.67 Mask:255.255.255.192
UP RUNNING NOARP MTU:16260 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:4 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

The tcpdump on ipsec0 says:
16:56:43.686674 unknown ip 0
16:56:44.700074 unknown ip 0
16:56:45.700077 unknown ip 0
16:56:46.700063 unknown ip 0
16:56:47.710419 unknown ip 0

So all the packets get dropped by the ipsec interface. Any ideas?

Thanx in advance,

Sergej.
 
Old 10-08-2003, 05:13 PM   #2
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
local boxes or over the internet?

over the internet RFC 1918 drops the private addresses

on a LAN
you have something else wrong
 
Old 10-09-2003, 01:52 AM   #3
sergiyn
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Unhappy

Well the external interfaces of the boxes use real IP-Addresses.
They are actually even in the same subnet just couple of meters away...

But I actually thought VPN can be used to connect two private networks, why is it dropping the packets than?

Thnx anyway :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ipsec vpn Snake007uk Linux - Security 6 10-30-2010 03:43 PM
Setting up IPSec VPN? miscreant Linux - Networking 2 06-14-2010 09:49 PM
IPsec/L2TP VPN question IPsecLearner Linux - Networking 3 04-19-2005 11:32 AM
Need help with IPSec VPN securespeed Linux - Networking 3 07-19-2004 12:25 PM
PPTP/IPSEC VPN again cleekjc Linux - Newbie 1 07-31-2003 02:54 AM


All times are GMT -5. The time now is 05:03 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration