Thursday, August 20, 2009

PPP dial on Demand

We set a set of private IP address for local and remote. When users request a connection, device sends a packet to remove to launch PPP dialing up.

In general case, we always the same dummy IP address set such as 10.64.64.64 for local and 10.112.112.112 for remote (Please refer to IPCP). There are a lot of user may confuse why my device always sends strange traffic to 10.112.112.112. Some applications of PPP use the previously IP which is assigned by PPP server to prevent this occurs.
We can also start to negotiate via using address 0.0.0.0 rather than 10.64.64.64. If you use PPP in linux, you can modify "ifaddr" as following configurations:

set ifaddr 10.64.64.64/0 10.112.112.112/0 255.255.255.255