Point-to-Point Protocol over Ethernet (PPPoE) provides an easy solution for high-speed access services by using broadband modems. Configure an xDSL connection using PPPoE that uses the configuration parameters supplied by your ISP. PPPoE requires no special configuration to the access network. Each PPP session learns the Ethernet address of the remote peer and creates a unique session identification (ID).
In this article:
Before you Begin
Connect the Ethernet port of the ISP modem to a free port of your Barracuda NG Firewall. Depending on the modem, a standard Ethernet cable or a crossover cable must be used. Contact the ISP or vendor of the xDSL modem for more information.
Step 1. Configure Link Properties
Specify the properties for the DHCP link and define the transport protocol for PPP.
- Open the Network page (Config > Full Config > Box).
- In the left menu, select xDSL/DHCP/ISDN.
- Click Lock.
- Set xDSL Enabled to Yes.
- In the XDSL Links table, click + to add an entry.
- Enter a name for the xDSL link (no special characters) and click OK. The xDSL Links window opens.
- Select the Connection Type to specify the transport protocol for PPP.
- (optional) Enter the Static Local and Gateway IP address if your ISP does not assign it automatically.
Select the Ethernet Interface the xDSL modem is attached to.
Step 3. Configure Authentication
Most ISPs require authentication information to connect. These configuration settings are provided by your ISP. If no authentication is required, set Authentication Method to NONE.
- In the Authentication section, select the Authentication Method. Default: PAP_or_CHAP
- Enter the User Access ID (PPP username) assigned by your ISP.
- If provided by your ISP, enter the User Access Sub-ID. The # and @ symbols are generated automatically.
- The complete user ID is formatted as follows: [user_id]#[access_sub_id]@[provider_name], e.g., firstname.lastname@example.org
- Enter the Access Password assigned by your ISP.
- If you want to use your ISPs DNS servers, select Use ProviderDNS.
- To use dynamic DNS, select Use Dynamic DNS and click Set. The Dynamic DNS Params window opens.
- Select a dynamic DNS Service Type. For information on DynDNS service types, see http://www.dyndns.com/services/.
- Enter the Dyn DNS Name that was registered on dyndns.org.
- Enter the User Access ID and Password for accessing the dyndns.org service.
- Click OK.
Step 4. Configure Routing Settings
Configure whether to create a default route, dynamic routing, and the route metric.
- Set Create Default Route to YES to automatically create a default route via this xDSL connection.
- If you are using dynamic routing protocols like OSPF/RIP/BGP, enable Advertise Route.
- Enter a Route Metric if multiple dynamic links are available. The link with the lowest route metric is automatically chosen if more than one default route is available.
Step 5. Configure Connection Monitoring
Configure log settings and define target IP addresses that will be regularly pinged to monitor the availability of the connection. Each target IP address is pinged every 20 seconds (2 ICMP packets each). If there is no response, the link is re-established.
- In the Connection Monitoring section, select the Monitoring method:
- LCP – If ping fails, the dial-in daemon is probed directly via LCP.
- ICMP – The Barracuda NG Firewall probes the Reachable IPs and, if there is no response, the gateway.
- StrictLCP – No ICMP probing occurs.
- Enter one or more Reachable IPs to monitor the availability of the connection. The target IP addresses should only be accessible via the xDSL connection.
- Select the Unreachable Action to be taken if the connection cannot be established. The following options are available:
- Restart – Restarts the xDSL connection.
- Increase-Metric – Changes the preference for xDSL routes until the probe succeeds.
- Click OK.
- Click Send Changes and Activate.
Step 6. Activate Network Changes
You must activate the network changes to bring up the xDSL connection.
- Open the Box page (Control > Box).
- In the left menu, expand the Network section and click Activate new network configuration.
- Select Failsafe. The 'Failsafe Activation Succeeded' message is displayed after your new network configurations have been successfully activated.
Your xDSL connection is now active and the IP address assigned by your ISP is visible on the CONTROL > Network page. All status icons next to the ppp1 interface are green, indicating an active connection. If the xDSL connection is your primary Internet connection, the default route pointing to the ppp1 interface is also created. If more than one default route is present, the connection with the lowest route metric is used.
Operating a xDSL Link in Standby Mode
If required, e.g., for maintenance purposes, you can enable Standby Mode in the link configuration. In standby mode, the activation and subsequent monitoring of the link must be triggered externally. Standby mode also lets you combine HA setups for HA xDSL connections. In standby mode,
- The involved routes are set to pending state, and it is not checked whether they are established.
- The configuration is completely run through, but the connection is not yet established.
Connecting is handled from the Command-Line Interface via a server-side script that is used for starting and stopping the connection with corresponding command lines:
- Start all xDSL connections -
/etc/phion/dynconf/network/openxdsl start &
- Stop all xDSL connections -
/etc/phion/dynconf/network/openxdsl stop &
- Start an explicit xDSL connection -
- Stop an explicit xDSL connections -
In some cases, especially in combination with PPPoE acceleration, the segment size of the packets going into the tunnel might be too big. Set the MSS (Maximum Segment Size) to 1350 and clear DF bit to yes in the Advanced Settings tab for all access rules handling incoming and outgoing traffic for the PPPoE connection.