Configuration of Tunneling into IP

The following syntax shows the configuration for the tunnel interface command: interface tunnel interface-number

The following shows syntax for the configuration of the tunnel associated with the tunnel interface.

tunnel source interface-number | ip-address tunnel destination hostname | ip-address

Table 2-3 explains the previous syntax.

Table 2-3 Tunneling Configuration Explanation

Table 2-3 explains the previous syntax.

Table 2-3 Tunneling Configuration Explanation

Command

Description

interface tunnel

Creates the virtual interface

interface-number

Identifies the interface number to be created

tunnel source

Identifies the source of the tunnel

interface-number | ip-address

Specifies the port, connector, or interface card number/IP address to

use as the source address for packets in the tunnel.

tunnel destination

Identifies the destination of the tunnel

hostname l ip-address

Gives the IP address of the host destination expressed in decimal in

four-part, dotted notation

The following example shows the use of the tunnel commands:

Router(config)#interface tunnel0 Router(config-if))#tunnel source ethernet0 Router(config-if)#tunnel destination 131.108.164.19

Was this article helpful?

0 0

Post a comment