Configuring Secondary IP and Source Interface

Secondary IP

The Cisco Enterprise NFVIS supports multiple IP addresses per interface. A Secondary IP feature can be configured on the WAN interface, as an additional IP to reach the software. Set the external routes for Secondary IP to reach the NFVIS. Routers configured with secondary addresses can route between the different subnets attached to the same physical interface.

To access secondary IP through ISRv, the WAN physical port is removed from wan-br similar to single IP.

To configure Secondary IP:


Configure Secondary IP
nfvis(config)# system settings wan secondary ip address 1.1.2.3 255.255.255.0

Source Interface

This feature is used to set the source interface for packets with source IP address, generated by NFVIS using the default route.

Prerequisites for configuring Source Interface

  • IP must be one of the configured IP addresses in system settings.

  • The source-interface IP address can be one of the following:

    • mgmt

    • WAN

    • WAN Secondary IP

    • WAN2 IP or IP configured on any bridge

  • Source-interface configuration must be applied if the WAN IP is static.

  • For DHCP, Source-interface IP is accepted but cannot be applied. The configuration takes effect once you switch from DHCP to static.

To configure Source Interface:


Configure source-interface ip
nfvis(config)# system settings source-interface 1.1.2.3

The Secondary IP and Source Interface related errors are logged in show log /var/log/nfvis_config.log file.

Secondary IP and Source Interface APIs and Commands

APIs

Commands

  • /api/config/system/settings/wan/secondary

  • system settings wan secondary

  • /api/config/system/settings/source-interface

  • system settings source-interface