Cisco Network Function Virtualization Infrastructure Software Configuration Guide, Release 26.2 and Later

PDF

Cisco Network Function Virtualization Infrastructure Software Configuration Guide, Release 26.2 and Later

Configure the IP host

Want to summarize with AI?

Log in

Use this procedure to define static mappings between hostnames and IP addresses within the NFVIS environment. This task allows you to manually associate specific hostnames with one or more IP addresses, ensuring reliable name resolution for your network services without relying on dynamic DNS lookups.


Use this task to specify static mapping between hostnames and IP addresses on the NFVIS host. This configuration allows you to resolve hostnames locally without relying on external DNS services.

Procedure

1.

Enter configuration mode

Example:


configure terminal
2.

Configure the IP host mapping.

Define the hostname and its associated IP addresses.

ip host test2.com 2.2.2.3 2.2.2.1
3.

Commit the configuration

commit

The static mapping between the hostname and the specified IP addresses is saved to the system configuration.