
Step 1—Configuring the Tunnel
Cisco 7100 Series VPN Configuration Guide
3-6
Configuring the Tunnel Interface, Source, and Destination
To configure a GRE tunnel between the headquarters and remote office routers, you must
configure a tunnel interface, source, and destination on the headquarters and remote office
routers. To do this, complete the following steps starting in global configuration mode.
Note Thefollowingprocedure assumes the tunnelinterface, source, and destinationon the
remote office router are configured with the values listed in Table 3-1.
Step Command Purpose
1
hq-sanjose(config)# interface tunnel 0
hq-sanjose(config-if)# ip address 172.17.3.3
255.255.255.0
Specify a tunnel interface number,
enter interface configuration mode, and
configure an IP address and subnet
mask on the tunnel interface. This
example configures IP address and
subnet mask 172.17.3.3 255.255.255.0
for tunnel interface 0 on the
headquarters router.
2
hq-sanjose(config-if)# tunnel source 172.17.2.4
255.255.255.0
Specify the tunnel interface’s source
address and subnet mask. This example
uses the IP address and subnet mask of
T3 serial interface 1/0 of the
headquarters router.
3
hq-sanjose(config-if)# tunnel destination
172.17.2.5 255.255.255.0
Specify the tunnel interface’s
destination address. This example uses
the IP address and subnet mask of T3
serial interface 1/0 of the remote office
router.
4 hq-sanjose(config-if)# tunnel mode gre ip Configure GRE as the tunnel mode.
GRE is the default tunnel
encapsulation mode, so this command
is considered optional.
Kommentare zu diesen Handbüchern