To meter the products in an isolated network, you can add and configure a second network adapter for the vCloud Usage Meter appliance.
During the deployment of the vCloud Usage Meter appliance, you configure the settings of the primary network adapter. You can then add a second network adapter, and configure it manually or by running a script. The second network adapter can support both DHCP or static IP allocation.
Add a Second Network Adapter in vCloud Usage Meter
After successfully deploying vCloud Usage Meter, you can add a second network adapter.
Procedure
Configure a Second Network Adapter for vCloud Usage Meter Manually
After you add a new network adapter for the deployed vCloud Usage Meter appliance, you can configure the network adapter manually.
Procedure
Configure the Second Network Adapter for vCloud Usage Meter by Using a Script
After you add a new network adapter for the deployed vCloud Usage Meter appliance, you can configure the second network adapter by using a script.
You can use the configure_additional_nic.sh script that is part of the vCloud Usage Meter deliverables. The script can operate with both static and DHCP IP addresses.
Procedure
Configure Static Routing Tables for vCloud Usage Meter
If you have a second network adapter for vCloud Usage Meter, you can configure static routing tables and route the network packets through a specific gateway.
You can configure the network interfaces and routing with the systemd-networkd service used by Photon OS v4.
Prerequisites
Ensure that you sucessfully configured a second network adapter either manually or by script. To set up the routing tables, you must use the .network files of the network interfaces you want to configure.