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.
vrajendran
Staff
Staff
Article Id 197715

Description


This article describes how to identify if a PPPoE connections is using a VLAN and how to configure it in the FortiGate.

 

Scope

 

FortiGate.


Solution

 

Identify if the modem is using a VLAN:
To confirm if there is a VLAN configured in the modem, run the following sniffer in the FortiGate:

 

diagnose sniffer packet wan1 'none' 4 0 l

 

'WAN1' is the name of the interface connected to the modem.  There is a VLAN configured in the modem, visible using the following command:

 

diagnose sniffer packet wan1 'none' 4 0 l
interfaces=[wan1]
filters=[none]
pcap_lookupnet: wan1: no IPv4 address assigned
2017-02-21 14:10:29.694913 wan1 -- pppoe printer hasn't been added to sniffer
2017-02-21 14:10:29.702087 wan1 -- 802.1Q vlan#1780 P6 
2017-02-21 14:10:30.690632 wan1 -- pppoe printer hasn't been added to sniffer
2017-02-21 14:10:30.696940 wan1 -- 802.1Q vlan#1780 P6
2017-02-21 14:10:32.690714 wan1 -- pppoe printer hasn't been added to sniffer
2017-02-21 14:10:32.698379 wan1 -- 802.1Q vlan#1780 P6


This output also displays how the unit is receiving packets with VLAN tag 1780. There is also the possibility to do a sniffer with verbose 6 to convert in pcap file.

Confirm the modem is using a VLAN and also the VLAN ID, in this example the VLAN ID is:1780, and configure the VLAN in the unit and associate it to the physical interface connected to the modem.

In this case, the VLAN ID is: 1780 and the physical interface is: 'WAN1'.

Here is a CLI example, which can also be done through the GUI:

 

config system interface
    edit "1780"
        set vdom "root"
        set mode pppoe
set username "username@example.com"
        set password "password"
        set interface "wan1"
        set vlanid 1780
    next
end

 

After this configuration the PPPoE connection is established.

 

Note:

V5.0 up to v6.4 are out of engineering support. These commands might be different on higher versions.

Consider upgrading the firmware level on the device to a supported version (v7.0 up tov 7.6).