HP-UX PPP Enhancements - PPPoE and PPPv6 for TOUR 1.0
hp-ux ppp enhancements – pppoe and pppv6 white paper
August 2003
the most appropriate one with which to establish connection. After the
host selects the access concentrator, both the host and the chosen
access concentrator have the necessary information to establish their
PPP connection over the Ethernet.
The host and the server exchange packets as follows:
The host broadcasts the initiation packet, PPPoE Active Discovery
Initiation (PADI). One or more access concentrators (servers) send offer
packets, PPPoE Active Discover Offer (PADO), to the host. The host
sends the unicast session request packet, PPPoE Active Discovery
Request (PADR), to the access concentrator from which it requests
service. The selected access concentrator sends the confirmation
packet, PPPoE Active Discovery Session-confirmation (PADS), to the
host. Either the host or the access concentrator sends the termination
packet, PPPoE Active Discovery Terminate (PADT), to indicate the close
of a session.
Session stage
PPPoE functions as a peer-peer protocol in the session stage. After
learning the Ethernet address and the session number, both the host
and the server start the pppd daemon. The PPPoE session frames
encapsulate the PPP frames. All Ethernet packets are unicast.
pppoe on hp-ux
The PPPoE software on HP-UX consists of pppoec, a client; pppoesd, a server;
pppoerd, a relay; and /dev/pppoe, a streams-based multiplexer device. The
configuration files for the client server and relay are in /etc/ppp directory with
names pppoec.conf, pppoesd.conf, and pppoerd.conf respectively.
pppv6 on hp-ux
The existing PPP software on HP-UX has been enhanced to support IPv6. A few
new command-line options have been added for IPV6CP support as part of
the enhancement.
PPP peers need to be started as the original PPP is started. Upon startup, IPV6CP
on the PPP peers negotiates the Interface- identifier based on the command-
line option. When the negotiation is successful, the peers append fe80:: to the
negotiated interface identifier and configure a tunnel interface on them.
A home user should obtain a global address in order to connect to the Internet.
To obtain a global address, the rtradvd (Router Advertisement daemon)
daemon has to be invoked at the ISP. The rtradvd daemon provides the
necessary global prefix for the home user. The home user configures a logical
interface with the global prefix from the rtradvd daemon and its own interface
identifier. When this step is completed, the home user can communicate with
any other IPv6 host on the Internet.
conformance to
RFCs
PPP enhancements on HP-UX conforms to the following RFCs:
RFC 2516, A Method for Transmitting PPP Over Ethernet (PPPoE).
RFC 2472, IP Version 6 over PPP
6