Network Component  Version 5.0
MDK-Professional Middleware for IP Networking
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Point-to-Point Protocol (PPP)

Configuring the PPP interface

The PPP interface is configured using the Net_Config_PPP_n.h file. n stands for the number of the PPP interface. In case an application uses one PPP interface only, the file will be called Net_Config_PPP_0.h. The options are set in the file directly or using the Configuration Wizard.

IP Address Assignment

The IP address for the PPP network interface is assigned using the following modes:

  • Static IP
    The IP address, network mask and default gateway are configured manually in the system configuration file. However, it is possible to change the IP address at runtime. The static configuration specifies also a primary and optional secondary DNS server.
  • Automatic IP
    This mode is mostly used. The IP address for the PPP client is obtained from the Dial-up server. The network mask is 255.255.255.255. The Dial-up server specifies also a primary and optional secondary DNS server. In order to use this mode, the option "Obtain Client IP address automatically" must be enabled in the system configuration. When this option is enabled the Local IP address and Subnet Mask configuration settings are ignored.
Note
All available functions for using PPP are explained in Point-to-Point Protocol (PPP) section of the Reference.