HP-UX Secure Resource Partitions (SRP) A.02.01 Administrator's Guide

41
SRP start
time?
file(/etc/rc.config.d/netconf or netconf-ipv6)
Variable Name: assign_ip
Default: (yes)
6.1.4.2 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 also 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 .
Route Information
SRP provides an option to add or modify the default gateway routing table entry for the SRP IP
address. The compartment IP address is always used as the source IP address.
If no target default gateway IP address is provided, the SRP IP address is used, with a hop (route)
count set to 0. If a target default gateway IP address is provided, the hop (route) count is set to 1.
The SRP adds the routing configuration data to /etc/rc.config.d/netconf (for IPv4) and
/etc/rc.config.d/netconf-v6 (for IPv6).
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 it 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 for the
compartment is executed, as described in
Network Initialization and Shutdown Service.
Network Initialization and Shutdown Service
If the specified IP address was not already configured for the system, SRP creates the file
/var/hpsrp/compartment_name/sbin/init.d/srp_net to bring the IP interface up or down.