cisco — Configuring a Static IP Address in a Container

• Only the last configured default gateway configuration is used. • Only the last configured name server configuration is used. You can configure the IP address of a container through Cisco IOS CLIs. SUMMARY STEPS 1. enable 2. configure terminal 3. app-hosting appid name 4. name-server# ip-address 5. app-vnic management guest-interface interface-number 6. guest-ipaddress ip-address netmask netmask 7. exit 8. app-default-gateway ip-address guest-interface network-interface 9. end DETAILED STEPS Procedure Application Hosting Configuring a Static IP Address in a Container Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode.

• Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 app-hosting appid name Example: Device(config)# app-hosting appid iox app _ Configures an application and enters application-hosting configuration mode. Step 4 name-server# ip-address Example: Device(config-app-hosting)# name-server0 10.2.2.2 Configures the Domain Name System (DNS) server. Step 5 app-vnic management guest-interface interface-number Example:

Device(config-app-hosting)# app-vnic management guest-interface 0 Configures the management gateway of the virtual network interface and guest interface, and enters application-hosting management-gateway configuration mode. Step 6 guest-ipaddress ip-address netmask netmask Example: Configures the management guest interface details. Application Hosting 22