[Openswan Users] Fwd: Ubuntu 10 -> OSX 10.6.4

Turbo Fredriksson turbo at bayour.com
Thu Mar 17 16:13:45 EDT 2011


[sent this to openswan at lists.openswan.org which might be wrong]

Begin forwarded message:

> From: Turbo Fredriksson <turbo at bayour.com>
> Date: to 10 mar 2011 12.43.56 GMT+01:00
> To: openswan at lists.openswan.org
> Subject: Re: [Openswan Users] Ubuntu 10 -> OSX 10.6.4
>
> On 10 mar 2011, at 09.26, Holger Kummert wrote:
>
>> Am 09.03.2011 18:42, schrieb Turbo Fredriksson:
>>> On 9 mar 2011, at 18.29, Paul Wouters wrote:
>>>
>>>> These are no longer any problems with the IPsec or L2TP layer.....
>>>
>>>
>>> Ooookey... ? So where do I look for problems now? I've
>>> enabled as much debugging as I could and still nothing
>>> I can point to...
>>>
>>
>> Could you please summarize what your current problems are/is?
>> Is it only the unanswered LCP Echo Req-Timeout, or something more?
>
> The primary reason is that I can't ping anything on the other
> side.. I can't even ping the other side!
>
> I get a tunnel with a 10.0.0.0/24 IP at my end and a live IP
> in the other. I should get a 10.0.0.0/24 IP.
>
>
> Or so I thought. I just double checked with my OSX machine, and
> that looks the same...
>
> On that I get a default route to the live IP, but also a '10/24'
> (!!! :) on ppp0. Which means that I have two default routes...
> I didn't even knew that worked!
>
>
> It didn't on my Ubuntu machine - destination net not unreachable.
>
>
> ----- s n i p -----
> root at JeOS:~# cat /etc/ppp/ip-up.d/0001netroute
> #!/bin/sh -e
>
> DEST=`ifconfig ppp0 | grep P-t-P | sed "s at .*P-t-P:\(.*\)  .*@\1@"`
>
> route add -net 10.0.0.0 netmask 255.255.255.0 dev ppp0
> route add default gw $DEST netmask 255.255.255.0 dev ppp0
> root at JeOS:~# /etc/ppp/ip-up.d/0001netroute
> root at JeOS:~# route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref     
> Use Iface
> COMPANY_IP      0.0.0.0         255.255.255.255 UH    0       
> 0        0 ppp0
> 0.0.0.0         COMPANY_IP      255.255.255.0   UG    0       
> 0        0 ppp0
> 192.168.69.0    0.0.0.0         255.255.255.0   U     0       
> 0        0 eth0
> 10.0.0.0        0.0.0.0         255.255.255.0   U     0       
> 0        0 ppp0
> 0.0.0.0         192.168.69.1    0.0.0.0         UG    100     
> 0        0 eth0
> root at JeOS:~# ping 10.0.0.145
> PING 10.0.0.145 (10.0.0.145) 56(84) bytes of data.
> ^C
> --- 10.0.0.145 ping statistics ---
> 5 packets transmitted, 0 received, 100% packet loss, time 8025ms
>
> root at JeOS:~# traceroute -n 10.0.0.145
> traceroute to 10.0.0.145 (10.0.0.145), 30 hops max, 60 byte packets
> 1  * * *
> send probe: No buffer space available
> ----- s n i p -----
>
>
>> If LCP-Echo-Req is the only problem, I think we need an insight on  
>> what
>> happens on the remote site. Are there any logs available from
>> there? Especially the ppp-log would be interesting.
>
>
> I'll see if I can get that information... Do you know exactly what
> files you would be interested in? Path and all... ?
>
> -- 
> Turbo Fredriksson
> turbo at bayour.com
>
>
>
>

-- 
Ehhhhm - The battle cry of the cronical masturbater.
- Charlie Harper



More information about the Users mailing list