Link to home
Start Free TrialLog in
Avatar of millsusaf
millsusaf

asked on

HP 7102dl VPN Site to Site Tunnel

I am trying to create a site to site VPN tunnel between two HP 7102dl routers in the lab but can not get the tunnel to come up.  I have tried both CLI and the wizard but neither work.

Please see the attached Connect.jpg file to a network diagram and the config files.  In the lab I have two, just to get it working but ultimately I need to get 4 site to site links up.

What am I doing wrong?

   User generated image

Li Router

 
hostname "Li"
enable password encrypted "password"
!
clock timezone -5-Eastern-Time
!
ip subnet-zero
ip classless
ip routing
!
!
ip host "LiCont" 192.168.5.250
ip host "LiR" 192.168.5.254
ip host "LiS" 192.168.5.253
no ip domain-lookup
!
!
event-history on
no logging forwarding
no logging email
!
service password-encryption
!
username "admin_bmills" password encrypted "password"
!
banner motd %
***********************************************************
   WARNING TO UNAUTHORIZED USERS: This system is for the
use of authorized users only. Individuals using this
computer system without authority, or in excess of their
authority, are subject to having all of their activities
on this system monitored and recorded by system personnel.
In the course of monitoring individuals improperly using
this system, or in the course of system maintenance, the
activities of authorized users may be monitored.  Anyone
using this system expressly consents to such monitoring
and is advised that if such monitoring reveals possible
evidence of criminal activity, system personnel may provide
evidence of such monitoring to law enforecement officials.
***********************************************************
%
!
!
no ip firewall alg msn
no ip firewall alg mszone
no ip firewall alg h323
!
!
!
!
!
!
no autosynch-mode
no safe-mode
!
!
!
!
!
ip dhcp-server excluded-address 192.168.5.1 192.168.5.20
ip dhcp-server excluded-address 192.168.5.240 192.168.5.254
!
ip dhcp-server pool "Li"
  network 192.168.5.0 255.255.255.0
  domain-name "internet.com"
  dns-server 192.168.5.254
  default-router 192.168.5.254
!
!
!
ip crypto
!
crypto ike policy 100
  no initiate
  respond anymode
  local-id address 10.184.36.78
  peer 10.184.36.77
  attribute 1
    encryption 3des
    hash md5
    authentication pre-share
!
crypto ike remote-id any preshared-key "key" ike-policy 100 crypto map VPN 10 no-mode-config no-xauth
!
crypto ipsec transform-set esp-3des-esp-md5-hmac esp-3des esp-md5-hmac
  mode tunnel
!
crypto map VPN 10 ipsec-ike
  description Site2Site
  match address VPN-10-vpn-selectors
  set peer 10.184.36.77
  set transform-set esp-3des-esp-md5-hmac
  ike-policy 100
!
!
!
!
interface eth 0/1
  description Inside Interface
  ip address  192.168.5.254  255.255.255.0
  no shutdown
!
!
interface eth 0/2
  description Outside Interface
  ip address  10.184.36.78  255.255.255.0
  crypto map VPN
  no shutdown
!
!
!
!
!
!
!
!
!
!
ip access-list extended VPN-10-vpn-selectors
  permit ip 192.168.5.0 0.0.0.255  192.168.4.0 0.0.0.255
  permit ip 192.168.4.0 0.0.0.255  192.168.5.0 0.0.0.255
!
!
!
!
ip route 0.0.0.0 0.0.0.0 10.184.36.77
!
no ip tftp server
no ip tftp server overwrite
ip http server
no ip http secure-server
no ip snmp agent
no ip ftp server
ip ftp server default-filesystem flash
no ip scp server
no ip sntp server
!
!
!
!
no snmp-server enable traps
!
!
!
ip sip
no ip sip proxy transparent
!
!
!
!
line con 0
  no login
!
line telnet 0 4
  login
  password encrypted "Password"
  no shutdown
line ssh 0 4
  login local-userlist
  no shutdown
!
!
!
!
!
end

Open in new window



La Router

 
hostname "La"
enable password encrypted "password"
!
clock timezone -5-Eastern-Time
!
ip subnet-zero
ip classless
ip routing
!
!
ip host "LaCont" 192.168.4.250
ip host "LaR" 192.168.4.254
ip host "LaS" 192.168.4.253
no ip domain-lookup
!
!
event-history on
no logging forwarding
no logging email
!
service password-encryption
!
username "admin_bmills" password encrypted "password"
!
banner motd %
***********************************************************
   WARNING TO UNAUTHORIZED USERS: This system is for the
use of authorized users only. Individuals using this
computer system without authority, or in excess of their
authority, are subject to having all of their activities
on this system monitored and recorded by system personnel.
In the course of monitoring individuals improperly using
this system, or in the course of system maintenance, the
activities of authorized users may be monitored.  Anyone
using this system expressly consents to such monitoring
and is advised that if such monitoring reveals possible
evidence of criminal activity, system personnel may provide
evidence of such monitoring to law enforecement officials.
***********************************************************
%
!
!
no ip firewall alg msn
no ip firewall alg mszone
no ip firewall alg h323
!
!
!
!
!
!
no autosynch-mode
no safe-mode
!
!
!
!
!
ip dhcp-server excluded-address 192.168.4.1 192.168.4.20
ip dhcp-server excluded-address 192.168.4.240 192.168.4.254
!
ip dhcp-server pool "La"
  network 192.168.4.0 255.255.255.0
  domain-name "internet.com"
  dns-server 192.168.4.254
  default-router 192.168.4.254
!
!
!
ip crypto
!
crypto ike policy 100
  no initiate
  respond anymode
  local-id address 10.184.36.77
  peer 10.184.36.78
  attribute 1
    encryption 3des
    hash md5
    authentication pre-share
!
crypto ike remote-id any preshared-key "key" ike-policy 100 crypto map VPN 10 no-mode-config no-xauth
!
crypto ipsec transform-set esp-3des-esp-md5-hmac esp-3des esp-md5-hmac
  mode tunnel
!
crypto map VPN 10 ipsec-ike
  description Site2Site
  match address VPN-10-vpn-selectors
  set peer 10.184.36.78
  set transform-set esp-3des-esp-md5-hmac
  ike-policy 100
!
!
!
!
interface eth 0/1
  description Inside Interface
  ip address  192.168.4.254  255.255.255.0
  no shutdown
!
!
interface eth 0/2
  description Outside Interface
  ip address  10.184.36.77  255.255.255.0
  no shutdown
!
!
!
!
!
!
!
!
!
!
ip access-list extended VPN-10-vpn-selectors
  permit ip 192.168.5.0 0.0.0.255  192.168.4.0 0.0.0.255
  permit ip 192.168.4.0 0.0.0.255  192.168.5.0 0.0.0.255
!
!
!
!
ip route 0.0.0.0 0.0.0.0 10.184.36.78
!
no ip tftp server
no ip tftp server overwrite
ip http server
no ip http secure-server
no ip snmp agent
no ip ftp server
ip ftp server default-filesystem flash
no ip scp server
no ip sntp server
!
!
!
!
no snmp-server enable traps
!
!
!
ip sip
no ip sip proxy transparent
!
!
!
!
line con 0
  no login
!
line telnet 0 4
  login
  password encrypted "password"
  no shutdown
line ssh 0 4
  login local-userlist
  no shutdown
!
!
!
!
!
end

Open in new window


Thanks!!
Avatar of Ernie Beek
Ernie Beek
Flag of Netherlands image

On the La Router I miss 'crypto map VPN' on interface eth 0/2.
Avatar of millsusaf
millsusaf

ASKER

Thank you, it is now there but the tunnel still will not come up.

I have clients on both sides of the private network trying to ping (constant) the opposite network private router address but no joy.
Ok,

I also have my doubts anout the access-list

Normally it should be:

ip access-list extended VPN-10-vpn-selectors
  permit ip 192.168.5.0 0.0.0.255  192.168.4.0 0.0.0.255

For the Li router and

ip access-list extended VPN-10-vpn-selectors
  permit ip 192.168.4.0 0.0.0.255  192.168.5.0 0.0.0.255

For the La router.

Furthermore, is anything showing up in the log which might gives us an indication?
I've made that change as well but it's still not working.  Unfortunately the logs are not giving me much of anything.  Logging on this router leaves something to be desired.
ASKER CERTIFIED SOLUTION
Avatar of Ernie Beek
Ernie Beek
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Awesome!  Thank you very much.
You're welcome and thank YOU for the points.