Got it

Configuring DSVPN to Implement Communication Between the Branches

Latest reply: Jun 12, 2017 06:45:26 1904 1 0 0 0

Specifications

This example applies to all AR models of V200R002C00 and later versions.

Networking Requirements

As shown in Figure 1-1, the hub (central office), Spoke1 (a branch), and Spoke2 (a branch) belong to the same autonomous system (AS). They can communicate with each other on the IP network using routing protocols.

Figure 1-1 Configuring DSVPN when branches have only summarized routes to the central office

20170612143345237001.png

 

Procedure

                      Step 1    Configure spoke1.

#
interface Ethernet1/0/0
 ip address 44.3.1.2 255.255.255.0 
#
interface Tunnel0/0/0
 ip address 172.16.1.101 255.255.255.0 
 tunnel-protocol gre p2mp  //Set the tunnel encapsulation mode to MGRE.
 source Ethernet1/0/0  //Configure the source address or interface for the tunnel interface.
 nhrp entry 172.16.1.1 44.1.1.1 register  //Configure an NHRP mapping table.
 nhrp shortcut  //Enable the NHRP shortcut function.
#
rip 1  //Configure RIP.
 version 2
 network 172.16.0.0
#
ospf 2
 area 0.0.0.1
  network 44.3.1.0 0.0.0.255
#
return

                      Step 2    Configure spoke2.

#
interface Ethernet1/0/0
 ip address 44.4.1.2 255.255.255.0 
#
interface Tunnel0/0/0
 ip address 172.16.1.102 255.255.255.0 
 tunnel-protocol gre p2mp  //Set the tunnel encapsulation mode to MGRE.
 source Ethernet1/0/0  //Configure the source address or interface for the tunnel interface.
 nhrp entry 172.16.1.1 44.1.1.1 register  //Configure an NHRP mapping table.
 nhrp shortcut  //Enable the NHRP shortcut function.
#
rip 1  //Configure RIP.
 version 2
 network 172.16.0.0
#
ospf 2
 area 0.0.0.1
  network 44.4.1.0 0.0.0.255
#
return

                      Step 3    Configure the hub.

#
interface Ethernet1/0/0
 ip address 44.1.1.1 255.255.255.0

interface LoopBack0
 ip address 192.168.0.1 255.255.255.0
#
interface Tunnel0/0/0
 ip address 172.16.1.1 255.255.255.0
 rip version 2 multicast
 rip summary-address 192.168.0.0 255.255.0.0
 tunnel-protocol gre p2mp  //Set the tunnel encapsulation mode to MGRE.
 source Ethernet1/0/0  //Configure the source address or interface for the tunnel interface.
 nhrp redirect  //Enable the NHRP redirect function.
 nhrp entry multicast dynamic  //Add dynamically registered branch devices to the NHRP multicast member table of the central office device.
 
#
rip 1  //Configure RIP.
 version 2
 network 172.16.0.0
 network 192.168.0.0
#
ospf 2
 area 0.0.0.1
  network 44.1.1.0 0.0.0.255
#
return

                      Step 4    Verify the configuration.

Ping Spoke1 and Spoke2, you can see that Spoke1 and Spoke2 have learned NHRP mapping entries from each other.

----End

Configuration Notes

l   If the dynamic routing protocol RIP is used, enable the split horizon and automatic route aggregation functions on the tunnel interface of the hub.

 

 

  • x
  • convention:

gululu
Created Jun 12, 2017 06:45:26

good!
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.