[Contents] [Prev] [Next] [Index] [Report an Error]

# Configuring the Virtual IP Address (SRC CLI)

You can configure the virtual IP address on the loopback interface.

To configure the virtual IP address:

1. From configuration mode, access the configuration statement that configures logical interface 1 for the loopback interface.
   `
   [edit]
   user@host# edit interfaces lo unit 1
   `
2. Specify the protocol family and virtual IP address.
   `
   [edit interfaces lo unit 1]
   user@host# set family (inet | inet6) address address
   `

   For example, to configure a virtual IPv4 address:

   `
   [edit interfaces lo unit 1]
   user@host# set family inet address 198.168.254.1/24
   `
3. Verify the interface configuration.

       [edit interfaces lo unit 1]
       user@host# show
       family {
         inet {
           address 198.168.254.1/24;
         }
       }

#### Related Topics

- Configuring a Static Route to Devices on Other Networks (SRC CLI)
- Overview of External Interfaces on a C Series Controller

[Contents] [Prev] [Next] [Index] [Report an Error]