Configuring Secondary IP Address and Source Interface

Secondary IP Address

The Cisco Enterprise NFVIS supports multiple IP addresses per interface. You can configure a secondary IP address on the WAN interface, as an additional IP address to reach the software. Set the external routes for secondary IP address 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 address through ISRv, the WAN physical port is removed from wan-br similar to single IP address.

To configure Secondary IP Address:


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

Source Interface

The Source Interface feature lets you assign an IP address to a source interface.. The IP address configured is used for packets generated by the NFVIS. The packets generated use the default route.

Prerequisites for configuring Source Interface

  • The IP address must be one of the IP addresses configured 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 address is accepted but cannot be applied. The configuration takes effect once you switch from DHCP to static.

To configure source Interface:


nfvis(config)# system settings source-interface 
1.1.2.3

The secondary IP address and source interface related errors are logged in show log nfvis_config.log file.

Secondary IP Address 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