Skip to main content
mhaneke
Explorer III
September 1, 2024
Question

What is the difference between "config system pppoe-interface" and "set mode pppoe"?

Hello,

 

I´d had to configure PPPoE for use with an external VDSL-Modem on several FortiGate. The data in the PPPoE tunnel have to be tagged in VLAN 7.

 

I have the following questions on that:

1. What in general is the difference between "config system pppoe-interface" and "set mode pppoe"?

2. How can I set VLAN-tagging for the interface which is configured with "config system pppoe-interface"?

3. Any hints why the first config ("set mode pppoe") did not run on the FG-61F?

 

 

On the first Fortigate 100F with FortiOS 7.4.4 it worked fine with the following configuration.

 

config system interface
edit "ppp0"
set vdom "root"
set mode pppoe
set allowaccess ping https ssh http speed-test
set alias "VDSL-Bridge VID7"
set role wan
set snmp-index 18
config ipv6
set ip6-mode pppoe
end
set username "xxxxxxx@yyyyy.zzz"
set password ENC xxxxxxxxxxx
set interface "wan1"
set vlanid 7
next
end

 

But on another FG-61F with FortiOS 7.4.3 and the same provider the above settings did not work. I had to use the following config.

config system interface
edit "VDSL"
set vdom "root"
set mode pppoe
set allowaccess ping https ssh
set type tunnel
set role wan
set snmp-index 20
set interface "wan1"
next
end


config system pppoe-interface
edit "VDSL"
set device "wan1"
set username "xxxxxxx@yyyyy.zzz"
set password ENC xxxxxxxxxxx
next
end

 

 

best regards

Martin

 

3 replies

patelr
Staff
Staff
September 1, 2024

Hello @mhaneke ,

 

Please review https://community.fortinet.com/t5/FortiGate/Technical-Tip-PPPoE-interface-configuration/ta-p/209005, and https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-configure-PPPoE-interface-when-ISP-provides/ta-p/267042, as it provide information about a difference between  " config system pppoe-interface " and   " set mode pppoe ", also about setting VLAN tagging.

 

Thanks,
Ronak Patel

mhaneke
mhanekeAuthor
Explorer III
September 1, 2024

Hello @patelr 

 

the links You sent both lead to the error "Invalid parameters specified". Could You please doublecheck the right syntax? Because when I search for the subjects I find nothing about the subject.

 

best regards

Martin

 

 

 

 

best regards
Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT