Controls startup and management of the PPP (Point to Point Protocol) subsystem.
startsrc -s pppcontrold
stopsrc -s pppcontrold
The pppcontrold daemon reads in the /etc/ppp/lcp_config and /etc/ppp/if_conf files to install and configure the PPP subsystem. SMIT should be used to generate both /etc/ppp/lcp_config and /etc/ppp/if_conf. To modify these files the user must have root authority or be a member of the uucp group. The configuration files are read at initialization where the appropriate streams modules are configured and loaded, and the tcpip network interface layers are installed into the system. After configuring the subsystem, the pppcontrold daemon monitors the streams associated with the IP interfaces to perform operations such as setting IP addresses, and the flags of the IP interface. The pppcontrold daemon terminates upon reciept of SIGTERM or when the stopsrc command is invoked. The prefered method of starting and stopping the pppcontrold daemon is with SRC (System Resource Controller). You must have root authority to run the src commands.
Errors and messages are logged using the syslog facility.
The pppcontrold daemon creates the /etc/ppp/pppcontrold.pid file, which contains a single line with the command process ID used to terminate the pppcontrold daemon.
This file provides the configuration information required for the subsystem. These values are used to ensure proper allocation of storage at the time the subsystem is configured. It is important to configure just what is needed since these values define storage that is allocated within the kernel. Blank lines and lines beginning with a # (pound sign) are ignored in the configuration file. Do not use blank lines or lines beginning with # (pound sign) within the interface definition. Only use these lines between interface definitions.
Optional Keywords |
---|
These keywords will override the global default LCP options.
This file defines all the server TCP/IP interfaces. Blank lines and lines beginning with a # (pound sign) are ignored in the configuration file. Do not use blank lines or lines beginning with # (pound sign) within the interface definition . Only use these lines between interface definitions.
Optional Keywords | |
---|---|
netmask xxx.xxx.xxx.xxx | Specifies a netmask for this interface. |
This command returns the following exit values:
0 | Successful completion. |
!0 | An error occurred. |
Access Control: You must have root authority to run this command.
Example /ect/ppp/lcp_config File: |
---|
# Comment line server_name PPPSERVER_ALPHA lcp_server 5 lcp_client 1 num_if 6 num_hdlc 6
Example /ect/ppp/if_conf File: |
---|
# Sample ip server configuration information. # Note that the complete stanza does not contain # comments or blank lines interface server local_ip 129.35.130.45 remote_ip 129.35.131.191 netmask 255.255.240.0 #However between stanzas one can have blank or # comment lines. interface server local_ip 129.35.130.45 remote_ip 129.35.131.196 netmask 255.255.240.0 interface server local_ip 129.35.130.45 remote_ip 129.35.131.197 netmask 255.255.240.0 interface server local_ip 129.35.130.45 remote_ip 129.35.131.201 netmask 255.255.240.0 interface server local_ip 129.35.130.45 remote_ip 129.35.131.212 netmask 255.255.240.0
The above configuration files would result in a subsystem that installs the IP interfaces as follows:
pp0: flags=71<UP,POINTOPOINT,NOTRAILERS> inet 129.35.130.45 --> 129.35.131.191 netmask 0xfffff000 pp1: flags=31<UP,POINTOPOINT,NOTRAILERS> inet 129.35.130.45 --> 129.35.131.196 netmask 0xfffff000 pp2: flags=31<UP,POINTOPOINT,NOTRAILERS> inet 129.35.130.45 --> 129.35.131.197 netmask 0xfffff000 pp3: flags=31<UP,POINTOPOINT,NOTRAILERS> inet 129.35.130.45 --> 129.35.131.201 netmask 0xfffff000 pp4: flags=31<UP,POINTOPOINT,NOTRAILERS> inet 129.35.130.45 --> 129.35.131.212 netmask 0xfffff000 pp5: flags=30<POINTOPOINT,NOTRAILERS> inet 0.0.0.0 --> 0.0.0.0 netmask 0xff000000
Note: pp5 is the result of the lcp_client keyword in the /etc/ppp/lcp_config file (lcp_client 1).
The pppattachd daemon, pppdial command.
The startsrc command, stopsrc command.
The syslog subroutine.
Asynchronous Point-to-Point Protocol (PPP) Subsystem Overview in AIX Version 4.3 System Management Guide: Communications and Networks.
The System Resource Controller Overview in AIX Version 4.3 System Management Guide: Operating System and Devices gives an explanation of subsystems, subservers, and the System Resource Controller.