FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
jsarah
Staff
Staff
Article Id 267042
Description This article describes how to configure the PPPoE interface in FortiGate if ISP does not have an IP but just a VLAN ID.
Scope Firmware 7.0 and above and in CLI only.
Solution

Step 1: Create a VLAN interface/sub-interface under the required physical interface.

 

Follow the following KB article for creating VLAN tagged sub interface:

Technical Tip: How to create a VLAN tagged interface (802.1q) on a FortiGate - tagged/untagged traff...

 

Make sure you select the role of the interface as WAN.

 

Example of configuration command in CLI:

 

config system interface
    edit "pppoe"                                               // Name of sub-interface.

        set role wan                                        // Always select role WAN.
        set interface "port3"                            // Bind it to the required physical interface, port 3 is used as an example.
        set vlanid 20                                      // Mention the VLAN ID that the ISP has been given. VLAN id 20 is used as an example.
       next
end

 

Step 2: configure PPPoE configuration commands as shown below:

 

config system interface
    edit "pppoe"
        set vdom "root"
        set mode pppoe
        set username "<xxxxxx>"            // Provide the username.
        set password "<yyyyyy">            // Provide the required password.
    next
end

 

To troubleshoot issues regarding PPPoE, follow this article:

Technical Tip: Troubleshooting PPPoE connection failed.

 

Related articles:

Technical Tip: How to create a VLAN tagged interface (802.1q) on a FortiGate - tagged/untagged traff...

Technical Tip: PPPoE-interface configuration.

Technical Tip: Troubleshooting PPPoE connection failed.