为什么cisco VPNC每次都可以工作,而第一次却不能工作

为什么cisco VPNC每次都可以工作,而第一次却不能工作

我使用vpnc(安装在linux red-hat 6.X上的cisco VPN)

vpnc.conf 文件如下所示

 more /etc/vpnc.conf 
 ## generated by pcf2vpnc
 IPSec ID Comvwde
 IPSec gateway 217.118.6.7
 IPSec secret eJ9^DyiE

 IKE Authmode psk

 ## To add your DUMMY and password,
 ## use the following lines:
 Xauth username 
 Xauth password 

根据这个VPN配置文件无需登录或密码

但是当我运行 vpnc 时(每次运行时 vpnc 仅在第二次运行)

请告知为什么会发生这种情况?

例子

  vpnc
  vpnc: no response from target

第二次

  vpnc
  VPNC started in background (pid: 27897)...


  vpnc-disconnect
  Terminating vpnc daemon (pid: 27897)

然后再次

  vpnc
  vpnc: no response from target


  vpnc
  VPNC started in background (pid: 27897)...

我的linux机器上的网络配置:

 ifconfig -a|grep inet
      inet addr:128.102.183.102  Bcast:128.102.183.127  Mask:255.255.255.128
      inet6 addr: fe80::250:56ff:feba:80b/64 Scope:Link
      inet addr:127.0.0.1  Mask:255.0.0.0
      inet6 addr: ::1/128 Scope:Host
      inet addr:10.150.27.18  P-t-P:10.150.27.18  Mask:255.255.255.255
      inet addr:10.70.70.176  P-t-P:10.70.70.176  Mask:255.255.255.255
      inet addr:10.150.27.33  P-t-P:10.150.27.33  Mask:255.255.255.255
      inet addr:10.150.27.34  P-t-P:10.150.27.34  Mask:255.255.255.255
      inet addr:10.150.27.50  P-t-P:10.150.27.50  Mask:255.255.255.255
      inet addr:10.150.27.13  P-t-P:10.150.27.13  Mask:255.255.255.255

相关内容