HP-UX Secure Resource Partitions (SRP) A.02.00 Administrator's Guide
network interface that is already configured for IP, SRP
configures a secondary interface for you.
If you specified an existing IP address (an IP address that is
already configured on the system) for the ip_address
variable, srp uses the interface name with the configured
address and does not prompt you for the network interface
name.
Variable Name: iface.
Default: None.
IP subnet mask
(Valid for IPv4 addresses only) Specifies the subnet mask for
the interface, in dotted-decimal notation.
Variable Name: ip_mask.
Default: The network mask for the address class, as specified
in RFC 791.
Configuration Data
SRP configures IP interface information for the HP-UX Transport subsystem, the initialization
and shutdown service, and for the compartment, as described in the sections that follow.
HP-UX Transport
If you specify an IP address that is not already configured for the system, SRP configures the IP
interface information for the HP-UX Transport subsystem as follows:
IPv4 Address
If you specify an IPv4 address, SRP adds configuration data to the /etc/rc.config.d/netconf
file.
If you specify a primary interface name, SRP assigns the address to the primary interface if the
primary interface does not already have an IP address configured. If the primary interface already
has an IP address configured, SRP creates a new secondary (logical) interface using the next
available IP index number for that primary interface. If you specify a secondary interface name
and the corresponding primary interface is not already configured, SRP displays an error message.
SRP adds the interface to the /etc/rc.config.d/netconf file with the INTERFACE_STATE
set to down. The link is brought up when the network initialization script for the compartment
is executed, as described in “Network Initialization and Shutdown Service” (page 41).
Route Information
SRP adds a default gateway route that specifies the compartment IP address as the source and
gateway address and the hop (route) count set to 0. This is appropriate on networks with a proxy
ARP server. Setting the route source to the compartment address ensures that this route is used
only when packets are sent from the compartment address, and that outbound packets from the
compartment use the compartment address as the source IP address.
IPv6 Address
If you specify an IPv6 address, SRP adds configuration data to the /etc/rc.config.d/
netconf-ipv6 file.
If you specify an address that is not a link local address and a primary interface that does not
already have an IP address configured, SRP configures the primary interface with the appropriate
link local address, then configures a secondary interface with the specified IPv6 address.
SRP adds the interface to the /etc/rc.config.d/netconf-ipv6 file with the
INTERFACE_STATE set to down. The link is brought up when the network initialization script
40 Using the base Template