The Point-to-Point Protocol over Ethernet
The Point-to-Point Protocol over Ethernet (PPPoE) is an ethernet encapsulation of the Point-to-Point Protocol used most commonly for serial or dial-up connections. PPPoE's main purpose is similar to that of a DHCP client/server scenario. PPPoE
Configuring PPPoE on the PIX
The PIX firewall can support client PPPoE configurations only on the outside interface. To configure PPPoE, the
vpdn
command is needed. This command is a versatile command that is also used for creating VPN tunnels into the PIX. The steps to creating a PPPoE client configuration are as
The vpdn group CommandThe vpdn group command creates a group with which all parameters for the PPPoE connection will be associated. The following displays the syntax of the vpdn group command for PPPoE: pixfirewall(config)# vpdn group <group_name> request dialout pppoe Table 8.7 displays the command options for the vpdn command for PPPoE. Table 8.7. vpdn group command options
The following command
pixfirewall(config)# vpdn group ExamCram request dialout pppoe The vpdn group authentication CommandJust like PPP, PPPoE can use authentication. The PIX currently supports three types of authentication: PAP, CHAP, and MSCHAP. Its command syntax is shown here:
pixfirewall(config)# vpdn group <group_name>
ppp authentication <papchapmschap>
This command demonstrates setting a VPDN group named ExamCram to use PAP for authentication: pixfirewall(config)# vpdn group ExamCram ppp authentication pap
The
vpdn group
|
|
|
After the username and password are configured for PPPoE, no user interaction is needed when the PIX acquires the IP address information from the ISP. |
The last step is to enable PPPoE on the outside interface. The ip address command is used to enable PPPoE on the interface, and its command syntax is as follows:
pixfirewall(config)# ip address <if_name> <ip_address> <mask>
pppoe [setroute]
The setroute option enables you to receive the default route from the ISP PPPoE server. The following is an example of setting the outside interface to use PPPoE with the setroute option:
pixfirewall(config)# ip address outside pppoe setroute
Listing 8.4 displays the five commands needed to create a PPPoE client configuration on the PIX firewall.
pixfirewall(config)# vpdn group ExamCram request dialout pppoe pixfirewall(config)# vpdn group ExamCram ppp authentication pap pixfirewall(config)# vpdn group ExamCram localname danny pixfirewall(config)# vpdn username danny password 123 pixfirewall(config)# ip address outside pppoe setroute