Creating a Loopback Interface

Note

Note

This configuration is for the Loopback Interface. You can also use the VE or Ethernet interfaces to configure the source and destination interfaces of the IPv4 tunnel end points.

To create a loopback interface, do the following:

  1. To configure the loopback interface on one of the tunnel end points:
    1. Enter global configuration mode.
      SLX# configure terminal
      SLX (config)# 
    2. Create the loopback interface.
      SLX (config)# interface loopback 10
      SLX (config)# 
    3. Assign an IPv4 address to the interface.
      SLX (config-Loopback-10)# ip address 31.31.31.1/32
    4. Exit out of the interface configuration mode.
      SLX (config-Loopback-10)# exit
      SLX (config)#
  2. To configure the loopback interface on the other side of the tunnel:
    1. Enter global configuration mode.
      SLX# configure terminal
      SLX (config)# 
    2. Create the loopback interface.
      SLX (config)# interface loopback 10
      SLX (config)# 
    3. Assign an IPv4 address to the interface.
      SLX (config-Loopback-10)# ip address 32.32.32.1/32
    4. Exit out of the interface configuration mode.
      SLX (config-Loopback-10)# exit
      SLX (config)#

The following is a consolidation of the configuration commands executed on one of the tunnel end points.

 interface Loopback 10 
 ip address 31.31.31.1/32 

The following is a consolidation of the configuration commands executed on the other tunnel end point.

 interface Loopback 10 
 ip address 32.32.32.1/32