[vpnc-devel] Successfull Connection - Can't Ping Host

tps at netmaster.dk tps at netmaster.dk
Sun Aug 27 12:40:28 CEST 2006


Dear All 

I have been trying to get vpnc support through my linux distribution, but so 
far with no luck! 

I hope this development list will be able to help. 

This problem I have is that I connect to the vpn server ok but I can not 
ping hosts on the vpn. 

Using my office Windows pc at work with the Cisco VPN Client I am able to 
ping hosts on the vpn. 

Below I have submitted the following information: 

 - ifconfig
 - route
 - resovl.conf
 - vpnc connection information
 - ping vpn host 192.168.1.102 

Any would help would be very much appreciated! 

>>>>>>>>>>>>>>>>>

Details before vpnc
>>>>>>>>>>>>>>>>>

eth0      Link encap:Ethernet  HWaddr 00:01:80:5E:93:4B
         inet addr:192.168.1.89  Bcast:192.168.1.255  Mask:255.255.255.0
         UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:3077 errors:0 dropped:0 overruns:0 frame:0
         TX packets:3121 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:1985619 (1.8 Mb)  TX bytes:357150 (348.7 Kb)
         Interrupt:16 Base address:0x2000 

gre0      Link encap:UNSPEC  HWaddr 
00-00-00-00-00-00-F4-1F-00-00-00-00-00-00-00-00
         NOARP  MTU:1476  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b) 

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:75 errors:0 dropped:0 overruns:0 frame:0
         TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:8352 (8.1 Kb)  TX bytes:8352 (8.1 Kb) 

>>>>>>>>>>>>>>>>>

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
loopback        *               255.0.0.0       U     0      0        0 lo
default         p600            0.0.0.0         UG    0      0        0 eth0
>>>>>>>>>>>>>>>>>

# Generated by dhcpcd for interface eth0
search netmaster.dk
nameserver 194.239.134.83
nameserver 193.162.153.164
>>>>>>>>>>>>>>>>>

IPSec gateway x.x.x.x
IPSec ID xxx
IPSec secret xxx
Xauth username xxx
Xauth password xxx
>>>>>>>>>>>>>>>>>

Connect Banner:
| xxx 

vpnc version 0.3.3
S1
S2
S3
using interface tun0
S4
S4.1
S4.2
S4.3
S4.4
IKE SA selected psk+xauth-aes128-sha1
S4.5
NAT status: no NAT-T VID seen
S4.6
S5
S5.1
S5.2
S5.3
S5.4
Enter Username and Password.
S5.5
S5.2
S5.3
S5.6
S5.7
S6
Banner: xxx
got save password setting: 0
got peer udp encapsulation port: 10000
got pfs setting: 0
Remote Application Version: Cisco Systems, Inc./VPN 3000 Concentrator 
Version 4.7.2.H built by vmurphy on Jun 29 2006 17:51:19
got address 192.168.7.224
S7
S7.1
S7.2
S7.3
S7.4
ignoring responder-lifetime notify
S7.3
S7.4
S7.5
S7.6
IPSEC SA selected 3des-md5
S7.7
S7.8
S7.9
S7.10
VPNC started in background (pid: 10430)...
>>>>>>>>>>>>>>>>>

Details after vpnc
>>>>>>>>>>>>>>>>>

eth0      Link encap:Ethernet  HWaddr 00:01:80:5E:93:4B
         inet addr:192.168.1.89  Bcast:192.168.1.255  Mask:255.255.255.0
         UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:3087 errors:0 dropped:0 overruns:0 frame:0
         TX packets:3132 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:1987776 (1.8 Mb)  TX bytes:360242 (351.7 Kb)
         Interrupt:16 Base address:0x2000 

gre0      Link encap:UNSPEC  HWaddr 
00-00-00-00-00-00-F4-BF-00-00-00-00-00-00-00-00
         NOARP  MTU:1476  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b) 

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:75 errors:0 dropped:0 overruns:0 frame:0
         TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:8352 (8.1 Kb)  TX bytes:8352 (8.1 Kb) 

tun0      Link encap:UNSPEC  HWaddr 
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
         inet addr:192.168.7.224  P-t-P:192.168.7.224  Mask:255.255.255.255
         UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1412  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:500
         RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b) 

>>>>>>>>>>>>>>>>>

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
ipsecgw         p600            255.255.255.255 UGH   0      0        0 eth0
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
loopback        *               255.0.0.0       U     0      0        0 lo
default         *               0.0.0.0         U     0      0        0 tun0
>>>>>>>>>>>>>>>>>

#@VPNC_GENERATED@ -- this file is generated by vpnc
# and will be overwritten by vpnc
# as long as the above mark is intact
# Generated by dhcpcd for interface eth0
search netmaster.dk vejleamt.dk
nameserver 10.48.144.21
nameserver 10.48.144.22
>>>>>>>>>>>>>>>>>

PING 192.168.1.102 (192.168.1.102) 56(84) bytes of data.
 From 192.168.1.89 icmp_seq=1 Destination Host Unreachable
 From 192.168.1.89 icmp_seq=2 Destination Host Unreachable
 From 192.168.1.89 icmp_seq=3 Destination Host Unreachable
 From 192.168.1.89 icmp_seq=4 Destination Host Unreachable 

 --- 192.168.1.102 ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3003ms
, pipe 3
>>>>>>>>>>>>>>>>>

Terminating vpnc daemon (pid: 10430) 

 

Thanks! 

Thomas S


More information about the vpnc-devel mailing list