Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
andrei123
New Contributor

Throughput problem with FGT 60D and PPPoE connection

The unit is set up with FortiOS 5.2.2 and has the wan1 port connected to the ISP with PPPoE (1Gb subscription).

If I connect the laptop or computer directly with PPPoE to the ISP I get ~800 Mb throughput (tested with speedtest, ISP's own speedtest and torrents). When I connect the Fortigate unit the throughput is capped at ~190 Mb (~140 with 5.2.5) and the unit stops responding (CPU 100%).

I tried the following configurations:

- internal lan in switch mode or in interface mode (hardware switch)

- tried with firmwares 5.0.10 and 5.2.1

The MTU for the PPPoE is 1492 so I also tried with mtu-overrride 1492 and still the same

The unit behaves the same in every situation high cpu and capped througput.

All the UTM features are turned off. All the tests are done with the basic configuration, just a policy from internal to wan1..

Also another strange thing is that when I test with the download limited ~100Mb so that the unit doesn't completely freeze I can see from the top command that the CPU is 50% hogged by the system, however there is no process in the list with that high of a load (if you add all the processes they add up to max 10%).

Any ideas would be greatly appreciated ..

 

I also noticed that the traffic is not going through the NP4Lite so I guess the 'Supports firewall acceleration across all packet sizes for maximum throughput' on the FGT 60D spec sheet on Fortinet website might be false advertising.

 

Update: There is no way that I found for a 60D  to reach gigabit speeds on PPPoE connection. Max throughput is 140 Mb.

A workaround is to have another router in front of the 60D to do the PPPoe connection ( i got a Ubiquiti Edgemax Lite router for 100E that works amazing)

 

Best regards,

Andrei

 

 

 

1 Solution
freb
New Contributor

I had the same issue with the 60d and gigabit internet with PPPOE. I never found a good solution, so I decided to upgrade. After weighing my options, sticking with an upgraded Fortigate seemed like the best bet (as opposed to going with a PFSense box, which would probably have been at least as expensive, or a Ubiquity EdgeRouter). My only question was would the 60e be able to handle the traffic.

 

I ended up going with the 80e for the extra ports, but the 60e should perform similarly. And yes, this device can more than handle PPPOE encapsulation and hit gigabit speeds without coming close to maxing out.

 

Hope that helps anyone considering an upgrade but not wanting to because they don't know if it will solve their bottleneck.

View solution in original post

43 REPLIES 43
dklane012

But, in this space - SOHO - a lot of fiber providers are using PPPoE for gigabit.  If you can offload PPPoE in the $99 telco router, I'd pay that much more to include it in this level of appliance.

storaid

AFAIK, cheaper ubnt edgerouter lite does support the PPPoE(up to 900~940Mbps or up) offloading and other formats:

1. IPv4 routing/NAT

2. IPv6 routing/NAT

3. VLAN

4. GRE

5. DPI(IPv4)

6. IPsec(crypto)

 

that small box uses the CN5020 SoC; MIPS64, dual-core, @500MHz, with application acclerator...

it's older SoC chip, but I believe it's powerful than FortiSoC2...

FWF60D x2 FWF60C x3 FGT80C rev.2 FGT200B-POE FAP220B x3 FAP221B x2

FSW224B x1

FWF60D x2 FWF60C x3 FGT80C rev.2 FGT200B-POE FAP220B x3 FAP221B x2 FSW224B x1
emnoc
Esteemed Contributor III

And none of thee above are firewalls

 

I'm not saying FTNT does NOT have a problem, but these are not apple-2-apples comparisons. If anybody has a bigger unit it would be nice to see what performance issues exists. TCP will be hampered by the smaller MTU and resulting tcp-MSS value and inserting a PPPoE frame is surely to cause a greater performance impact.

 

No different if it was a IPSEC header or GRE all of which would be lesser in  thru-put.

 

Ken

 

PCNSE 

NSE 

StrongSwan  

PCNSE NSE StrongSwan
andrei123

Anybody figured this out or do you have any ideas that I could try? I am on 5.2.4 now but still the same issue. Can someone try with the 5.4 beta?

 

Thank you,

BR

josh
New Contributor

andrei123 wrote:

Anybody figured this out or do you have any ideas that I could try? I am on 5.2.4 now but still the same issue. Can someone try with the 5.4 beta?

 

Thank you,

BR

The answer is above.. It's an issue caused by using PPPoE and the unit not being able to offload away from the CPU.

 

Probably the easiest solution short of a larger unit is to put a device capable of holding up the PPPoE circuit in the middle and doing IP-passthru to the FortiGate unit. The FortiGate can then do all your cool UTM stuff.

Thomas1

storaid wrote:

AFAIK, cheaper ubnt edgerouter lite does support the PPPoE(up to 900~940Mbps or up) offloading and other formats:

1. IPv4 routing/NAT

2. IPv6 routing/NAT

3. VLAN

4. GRE

5. DPI(IPv4)

6. IPsec(crypto)

 

that small box uses the CN5020 SoC; MIPS64, dual-core, @500MHz, with application acclerator...

it's older SoC chip, but I believe it's powerful than FortiSoC2...

Hello Storaid Can you tell me if the edgerouter X is able to make a PPPoE connection on a VLAN and be transparent mode (it must provide the public IP in the WAN Fortigate Interface)? ONT -> UBNT -> Fortigate

 

Thanks

Ingo__T

Hi,

any one experience with an 80D or and 92D and PPPoE. Can we get her > 200 Mbit without overload the Device?

 

 

 

Thomas1

Réponse du support fortinet :

 

According to http://docs.fortinet.com/uploaded/files/2151/fortigate-hardware-accel-526.pdf page 74:

"NP4 session fast path requirements: //...// Layer2 type/length must be 0x0800 (IEEE 802.1q VLAN specification is supported); link aggregation between any network interfaces sharing the same network processor(s) may be used (IEEE 802.3ad specification is supported)"

0x0800 is Ethertype of IPv4 over Ethernet.

Point-to-Point Protocol over Ethernet (PPPoE) is a network protocol for encapsulating PPP frames inside Ethernet frames and has ethertype 0x8863 and 0x8864, meaning that it cannot be offloaded.

So all traffic hits CPU and throughput reached is much smaller due to CPU getting high when packets are handled by it (throughput values in the unit specifications are for offloaded traffic to NPU).

In order to have better transfer results you will have to migrate from PPPOE type of external connectivity or use a bigger unit.

Or, as you noted, you can use another unit in front of the FortiGate in bridge mode, to perform the PPPOE encapsulation.

I believe that the above explanation is sufficient and I am moving the case to Pending Close Confirmation.

 

Donc je cherche un appareil capable de me gérer le PPOE en mode bridge sur le vlan 835

Merci pour vos pistes.

:)

ede_pfau
Esteemed Contributor III

If you use a bridging modem in front of your FGT you should not see any performance issues anymore.

In bridge mode, the credentials for the PPPoE connection are specified on the FGT.

You could also use a router in front, with a transfer network between router and FGT.

 

From your last sentence I understand that you expect tagged VLAN 835 on your ethernet data. The modem will de-encapsulate the PPPoE stream to ethernet frames. If you create a VLAN subinterface on the WAN port of your FGT, ID 835, you should be able to receive data.


Ede

"Kernel panic: Aiee, killing interrupt handler!"
Ede"Kernel panic: Aiee, killing interrupt handler!"
Philippe_ASTIER

Hi all,

 

I guess Thomas is doing exactly what I'm trying to achieve.

 

Here, in France, Orange forces us to have their own router (LiveBox Pro v3 in my case) to connect to the ONT. 

VLAN 835 is used for Internet traffic, VLAN 838 and 840 are for TV and VLAN 851 is for SIP.

 

Problem is this box can not be used as a bridge, so my FortiGate unit (currently 60C) is just in the DMZ of the Livebox. It works just fine from a routing point of view, but you have an approximately 2ms performance hit on all connections, and the FTG unit does not carry the public IP address. You also can not get the SIP VLAN internally, as they are not routed.

 

My connections are still good, topping 970 Mb/s down, 260 Mb/s up, which is close to the commercial fiber offering they provide (through the ONT -> Livebox -> FTG path)

 

I started to look at ways for connecting directly to the ONT. Using the PPPoE client of the FGT unit works just fine, except for performance that drops dramatically to approx. 130/30 Mb/s up/down. Remember the 60C is pretty old in terms of CPU.

 

I also have an Ubiquiti Edgerouter-5, currently used as a PoE injector and PPTP client in interface mode (I wish Fortinet would offer this...). I will try and modify my configuration to connect it to the ONT. Details can be found here : https://lafibre.info/remplacer-livebox/en-cours-remplacer-sa-livebox-par-un-routeur-ubiquiti-edgemax...

 

Apparently, performance is just perfect, maybe even a bit faster than the router from Orange. At least, it is a "true" router. The Orange one is just derived from consumer series, and can not do 5% of what you can do with any proper router on the market. 

 

 

PS to Thomas : if the UBNT is the PPPoE client on VLAN 835 (which it will be), it will carry the public IP address, there can not be a notion of "transparent mode". 

 

I'll keep you posted.

Labels
Top Kudoed Authors