3Com 10014299 Network Router User Manual


 
Configuring GRE 639
Setting the Destination
Address of a Tunnel
Interface
After a tunnel interface is created, the destination address of the tunnel channel
must be configured
The destination address is the address of the physical interface where the GRE
packets are received. The source address and destination address of a tunnel
interface uniquely identifies a channel. These configurations must be done at both
tunnel ends. The source address of one end must be the destination address of the
other end.
Perform the following settings in the tunnel interface view.
Table 689 Designate the Destination Address of Tunnel Interface
By default, no destination address of the tunnel interface is configured.
Setting the Network
Address of the Tunne
l
Interface
Two private networks are interconnected by a GRE tunnel. This kind of connection
is like a virtual “direct” connection between two private networks. To establish a
direct route between these two networks, you must configure the network
address of the tunnel interface and make sure that the network addresses at both
ends of the channel are in the same network segment. Thus, the system can
produce a direct tunnel route automatically.
Perform the following settings in the tunnel interface view.
Table 690 Set the Network Address of Tunnel Interface
By default, no network address for the tunnel interface is configured.
Setting the
Identification Key Word
of the Tunnel Interface
It is stipulated in RFC 1701 that if the key field of the GRE header is set, the
receiving side and transmitting side check the identification key word of the
channel. Only when the set identification key words at both ends of the tunnel are
totally identical can the check pass, or the message will be discarded.
Perform the configurations in the tunnel interface view.
Table 691 Set the Identification Key Word of Tunnel Interface
Operation Command
Designate the destination address of
tunnel interface.
destination ip-address
Cancel the destination address of tunnel
interface.
undo destination
Operation Command
Set the IP address of tunnel interface. ip address { ip-address mask |
unnumbered interface-type
interface-number }
Delete the IP address of tunnel interface. undo ip address { ip-address mask |
unnumbered interface-type
interface-number }
Set the IPX address of tunnel interface. ipx network network-number
Delete the IPX address of tunnel interface. undo ipx network
Operation Command