Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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;
        }
      }

    Published: 2014-06-12