User Manual - Configuration Guide (Volume 3)
Versatile Routing Platform Chapter 3
Configuration of GRE
3-5
3.2.5 Setting the Network Address of Tunnel Interface
Configure network address of tunnel interface so that the channel supports dynamic
routing protocol. The users are recommended to set the network addresses at b oth
ends of the channel to be in the same network segment.
Perform the following setting in tunnel interface configuration m ode.
Table VPN-3-4 Set the network address of tunnel interface
Operation Command
Set the IP address of tunnel interface. ip address ip-address mask
Delete the IP address of tunnel interface. no ip address
Set the IPX address of tunnel interface. ipx network network-number
Delete the IPX address of tunnel interface. no ipx network
3.2.6 Setting the Encapsulation Mode of Tunnel Interface Message
Please configure in tunnel interface configuration mode as below.
Table VPN-3-5 Set the encapsulation mode of tunnel interface message
Operation Command
Set the encapsulation mode of tunnel interface message. tunnel mode gre ip
The encapsulation mode of tunnel interface message is GRE IP by default.
3.2.7 Setting the Identification Key Word of Tunnel Interface
It is stipulated in RFC 1701 that: if the KEY field of GRE header is set, the receiving side
and transmitting side will check the identification key word of the channel. Only when
the set identification key words at both ends of the tunnel are tota ll y identica l, can the
check pass, or the message will be discarded.
Perform the configuration in tunnel interface configuration mode.
Table VPN-3-6 Set the identification key word of tunnel interface
Operation Command
Set the identification key word of tunnel interface. tunnel key key-number
Cancel the identification key word of tunnel interface. no tunnel key
By default, the tunnel does not use KEY, an integer ranging 0 to 4294967295.
3.2.8 Setting Tunnel Interface to Check with Check Sum
It is stipulated in RFC 1701 that: if the “Checksum” place of GRE header is set, the
check sum is valid. The transmitting side calculates the check sums of GRE header
and payload. The receiving side calculates the check s um of the received message and