HP-UX Containers (SRP) A.03.01 Administrator's Guide

59
INTERFACE_SKIP="true"
IP_ADDRESS="16.92.121.29"
TYPE="ipv4"
SUBNET_MASK="255.255.252.0"
INTERFACE_STATE="up"
BROADCAST_ADDRESS=""
DHCP_ENABLE="0"
INTERFACE_MODULES=""
CMGR_TAG="compartment="myContainer" template="system" service="network" id="1""
ROUTE_DESTINATION="default"
ROUTE_SKIP="true"
ROUTE_MASK=""
ROUTE_GATEWAY="16.92.121.29"
ROUTE_COUNT="0"
ROUTE_ARGS=""
ROUTE_SOURCE="16.92.121.29"
Name: myContainer Template: system Service: network ID: 2
----------------------------------------------------------------------
Compartment Configuration (/etc/cmpt/myContainer.rules):
// owns the IP address
interface 192.168.1.22
Netconf Configuration:
INTERFACE_NAME="lan0:4"
INTERFACE_SKIP="true"
IP_ADDRESS="192.168.1.22"
TYPE="ipv4"
SUBNET_MASK="255.255.255.0"
INTERFACE_STATE="up"
BROADCAST_ADDRESS=""
DHCP_ENABLE="0"
INTERFACE_MODULES=""
CMGR_TAG="compartment="myContainer" template="system" service="network" id="2""
Name: myContainer Template: system Service: network ID: 3
----------------------------------------------------------------------
Compartment Configuration (/etc/cmpt/myContainer.rules):
// owns the IP address
interface fe80::3
Netconf Configuration:
INTERFACE_NAME="lan0:1"
INTERFACE_SKIP="true"
IP_ADDRESS="fe80::3"
TYPE="ipv6"
INTERFACE_STATE="up"
IPV6_PREFIXLEN=""
DHCP_ENABLE="0"
CMGR_TAG="compartment="myContainer" template="system" service="network" id="3""
#
Example 12.4: Displaying the status of the container myContainer
# srp -status myContainer -v
SRP Status:
----------------- Status for SRP:myContainer ----------------------
Status:STARTED
Type:system Subtype:shared Rootpath:/var/hpsrp/myContainer
IP:16.92.121.29 Interface:lan0:1 (UP)
IP:192.168.1.22 Interface:lan0:4 (UP)
IP:fe80::3 Interface:lan0:1 (UP)