- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
03-Common container and open application parameter configuration | 46.49 KB |
Contents
Configuring common container and open application parameters
About configuring common container and open application parameters
Configuring common open application parameters
Specifying a source IP address for open applications
Configuring common container and open application parameters
About configuring common container and open application parameters
Comware V9 supports deploying Docker containers as well as applications based the containers or RPM on the device. The container applications and RPM applications can run on the device if only they are compliant with the packaging, orchestration, and running requirements of the containers or RPM. These applications have high openness and are referred to as "open applications" in this document.
Container applications are isolated from Comware applications. You can use container applications as supplements to Comware, without affecting Comware.
This chapter describes how to configure common parameters for the previously mentioned containers and open applications.
Configuring common open application parameters
Specifying a source IP address for open applications
About this task
For the following applications to communicate with indirectly connected networks, you must specify a source IPv4 or IPv6 address for their outgoing packets:
· RPM applications.
· Open applications in containers that share the network namespace of Comware.
The applications will use the specified address as the source address for packets that they send.
Restrictions and guidelines
Make sure the specified interface has an IP address and is in up state, and a connection is available between the interface and the destination device.
As a best practice, specify a loopback interface as the source interface. The physical layer status of a loopback interface is always up unless the loopback interface is manually shut down.
The specified source IPv6 address must be an IPv6 global unicast address.
Specifying a source IP address for open applications in system view
1. Enter system view.
system-view
2. Specify a source IP address for open applications.
IPv4:
tpa ip source interface interface-type interface-number
By default, the primary IPv4 address of interface Loopback 0 is used as the source IPv4 address.
IPv6:
tpa ipv6 source { interface interface-type interface-number | ipv6 ipv6-address }
By default, an IPv6 address of interface Loopback 0 is used as the source IPv6 address.