HP VPN Firewall Appliances VPN Configuration Guide
478
[Spoke2-Tunnel1] ipsec profile vamp
[Spoke2-Tunnel1] quit
5. Configure OSPF:
# Configure OSPF for the public network.
[Spoke2] ospf 100
[Spoke2-ospf-100] area 0
[Spoke2-ospf-100-area-0.0.0.0] network 192.168.1.4 0.0.0.255
[Spoke2-ospf-100-area-0.0.0.0] quit
# Configure OSPF for the private network.
[Spoke2] ospf 200
[Spoke2-ospf-200] area 0
[Spoke2-ospf-200-area-0.0.0.0] network 10.0.1.4 0.0.0.255
[Spoke2-ospf-200-area-0.0.0.0] network 10.0.3.1 0.0.0.255
Verifying the configuration
# Display the address mapping information of all VAM clients registered with the primary VAM server.
[PrimaryServer] display vam server address-map all
VPN name: 1
Total address-map number: 4
Private-ip Public-ip Type Holding time
10.0.1.1 192.168.1.1 hub 0H 7M 35S
10.0.1.2 192.168.1.2 hub 0H 13M 8S
10.0.1.3 192.168.1.3 spoke 0H 3M 58S
10.0.1.4 192.168.1.4 spoke 0H 0M 29S
# Display the address mapping information of all VAM clients registered with the secondary VAM server.
[SecondaryServer] display vam server address-map all
VPN name: 1
Total address-map number: 4
Private-ip Public-ip Type Holding time
10.0.1.1 192.168.1.1 hub 0H 8M 46S
10.0.1.2 192.168.1.2 hub 0H 14M 58S
10.0.1.3 192.168.1.3 spoke 0H 5M 9S
10.0.1.4 192.168.1.4 spoke 0H 1M 40S
The output shows that Hub 1, Hub 2, Spoke 1, and Spoke 2 all have registered their address mapping
information with the VAM servers.
# Display the DVPN tunnel information of Hub 1.
[Hub1] display dvpn session all
Interface: Tunnel1 VPN name: 1 Total number: 3
Private IP: 10.0.1.2
Public IP: 192.168.1.2
Session type: hub-Hub
State: SUCCESS