Got it

GRE configuration on S series switch

Latest reply: Apr 13, 2017 08:31:08 950 2 0 0
GRE configuration on S series switch
  • x
  • convention:

user_2790689
Created Apr 13, 2017 03:45:46 Helpful(0) Helpful(0)

ding
View more
  • x
  • convention:

Lucio
Created Apr 13, 2017 08:31:08 Helpful(0) Helpful(0)

"Before configuring GRE, ensure that there is a reachable route between two ends of the tunnel.
In this example, the source address is 10.1.1.1/24 and the destination address is 10.2.1.1/24 (the source and destination addresses on the remote end are mirrored). The local end's subnet is 192.168.1.0/24, and the remote subnet is 192.168.2.0.The configurations on S series switches, except S1700 are as follows:
Local end:
[HUAWEI1] interface tunnel 1 //Create a tunnel interface.
[HUAWEI1-Tunnel1] tunnel-protocol gre //Configure the GRE tunnel.
[HUAWEI1-Tunnel1] ip address 172.16.1.1 255.255.255.0  //Configure IP addresses for the GRE tunnel for routing.
[HUAWEI1-Tunnel1] source 10.1.1.1  //Configure the source address for the GRE tunnel.
[HUAWEI1-Tunnel1] destination 10.2.1.1 //Configure the destination address for the GRE tunnel.
[HUAWEI1-Tunnel1] quit
[HUAWEI1] ip route-static 192.168.2.0 255.255.255.0 tunnel 1 //Configure connection between connected subnets through the GRE tunnel.
Remote device:
[HUAWEI2] interface tunnel 1 //Create a tunnel interface.
[HUAWEI2-Tunnel1] tunnel-protocol gre //Configure the GRE tunnel.
[HUAWEI2-Tunnel1] ip address 172.16.1.1 255.255.255.0  //Configure IP addresses for the GRE tunnel for routing.
[HUAWEI2-Tunnel1] source 10.2.1.1  //Configure the source address for the GRE tunnel.
[HUAWEI2-Tunnel1] destination 10.1.1.1 //Configure the destination address for the GRE tunnel.
[HUAWEI2-Tunnel1] quit
[HUAWEI2] ip route-static 192.168.1.0 255.255.255.0 tunnel 1 //Configure connection between connected subnets through the GRE tunnel."
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 " Privacy."

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.