# Using ipfire for pppoe decoding

**URL:** <https://community.ipfire.org/t/using-ipfire-for-pppoe-decoding/13304>\
**Category:** Installing & Running IPFire\
**Created:** [13 December 2024 14:07 UTC](https://community.ipfire.org/t/using-ipfire-for-pppoe-decoding/13304 "2024-12-13T14:07:46Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ipfirepppoe](https://community.ipfire.org/user_avatar/community.ipfire.org/ipfirepppoe/32/9740_2.png) [@ipfirepppoe](https://community.ipfire.org/u/ipfirepppoe)\
**Post date:** [13 December 2024 14:07 UTC](https://community.ipfire.org/t/using-ipfire-for-pppoe-decoding/13304/1 "2024-12-13T14:07:46Z")

</div>

Hi everyone, i would like to know if ipfire is suitable for the setup i have in mind:

My ISP uses PPPoE and my current router can only decode this signal at a rate of 1.2gbps, while i pay for a plan that’s 4gbps. I don’t want to use the router my ISP provided and double NAT my setup. I would like to use ipfire on a powerful computer that can decode that PPPoE signal very fast, and have it operate in layer 2 mode, so my current router still receives the correct WAN ipv4.

I don’t know if “layer 2 mode” is the correct term here, but my old ISP that offers slower speeds, gave me a router that could operate in “bridge mode” so that my own router would get the correct WAN ipv4, my new ISP doesn’t offer this same “bridge mode”.

---

<div class="post-metadata">

**Author:** ![ms](https://community.ipfire.org/user_avatar/community.ipfire.org/ms/32/16615_2.png) [@ms](https://community.ipfire.org/u/ms)\
**Post date:** [13 December 2024 17:34 UTC](https://community.ipfire.org/t/using-ipfire-for-pppoe-decoding/13304/2 "2024-12-13T17:34:17Z")

</div>

Hello,

what you are planning is not possible. The reason is that PPP is not a layer 2 encapsulation protocol that can be bridged onto an Ethernet network. It just encapsulates IP packets.

So I would recommend to install IPFire on some powerful hardware and use that instead of your ISP router.

---

<div class="post-metadata">

**Author:** ![ipfirepppoe](https://community.ipfire.org/user_avatar/community.ipfire.org/ipfirepppoe/32/9740_2.png) [@ipfirepppoe](https://community.ipfire.org/u/ipfirepppoe)\
**Post date:** [14 December 2024 09:03 UTC](https://community.ipfire.org/t/using-ipfire-for-pppoe-decoding/13304/3 "2024-12-14T09:03:37Z")

</div>

@ms thank you for your reply! do you know if there is a way for me to benchmark PPPoE performance? Maybe a linux tool?

---

<div class="post-metadata">

**Author:** ![ms](https://community.ipfire.org/user_avatar/community.ipfire.org/ms/32/16615_2.png) [@ms](https://community.ipfire.org/u/ms)\
**Post date:** [14 December 2024 10:02 UTC](https://community.ipfire.org/t/using-ipfire-for-pppoe-decoding/13304/4 "2024-12-14T10:02:32Z")

</div>

What would you like to benchmark about it? I would just recommend a speedtest. We have an add on for that.

---

<div class="post-metadata">

**Author:** ![ipfirepppoe](https://community.ipfire.org/user_avatar/community.ipfire.org/ipfirepppoe/32/9740_2.png) [@ipfirepppoe](https://community.ipfire.org/u/ipfirepppoe)\
**Post date:** [14 December 2024 11:13 UTC](https://community.ipfire.org/t/using-ipfire-for-pppoe-decoding/13304/5 "2024-12-14T11:13:31Z")

</div>

@ms i meant benchmark on a computer that doesn’t have ipfire installed yet, i want to know which one of my cpu’s can decode 4gbps before i make a whole ipfire setup out of it.

---

<div class="post-metadata">

**Author:** ![ms](https://community.ipfire.org/user_avatar/community.ipfire.org/ms/32/16615_2.png) [@ms](https://community.ipfire.org/u/ms)\
**Post date:** [14 December 2024 11:36 UTC](https://community.ipfire.org/t/using-ipfire-for-pppoe-decoding/13304/6 "2024-12-14T11:36:52Z")

</div>

PPPoE does not have a lot of overhead. The Linux kernel is very efficient with it.

You probably want some beefy hardware though to make it up to the 4 Gbit/s. Make sure you have good NICs.

This is probably what I would recommend:

[IPFire Enterprise Appliance (EU) - Firewall Appliances - Lightning Wire Labs Store](https://store.lightningwirelabs.com/products/IPFIRE-ENTERPRISE-EU-R1)

It might be slightly oversized, but the next one down might not be powerful enough if you want to send all this data through the IPS as well.

---

<div class="post-metadata">

**Author:** ![ipfirepppoe](https://community.ipfire.org/user_avatar/community.ipfire.org/ipfirepppoe/32/9740_2.png) [@ipfirepppoe](https://community.ipfire.org/u/ipfirepppoe)\
**Post date:** [14 December 2024 13:36 UTC](https://community.ipfire.org/t/using-ipfire-for-pppoe-decoding/13304/7 "2024-12-14T13:36:42Z")

</div>

@ms The link you sent has a cpu with 8 cores that run at 2.1ghz, hard to believe that’s all it takes… Or does it use an advanced instruction set extension to achieve that throughput, like avx512?

---

<div class="post-metadata">

**Author:** ![ms](https://community.ipfire.org/user_avatar/community.ipfire.org/ms/32/16615_2.png) [@ms](https://community.ipfire.org/u/ms)\
**Post date:** [14 December 2024 13:52 UTC](https://community.ipfire.org/t/using-ipfire-for-pppoe-decoding/13304/8 "2024-12-14T13:52:40Z")

</div>

You will need high bus speeds and probably large CPU caches. Special instructions don’t play any role because there is nothing complicated to be done, just memory operations.

---

<div class="post-metadata">

**Author:** ![ipfirepppoe](https://community.ipfire.org/user_avatar/community.ipfire.org/ipfirepppoe/32/9740_2.png) [@ipfirepppoe](https://community.ipfire.org/u/ipfirepppoe)\
**Post date:** [14 December 2024 19:37 UTC](https://community.ipfire.org/t/using-ipfire-for-pppoe-decoding/13304/9 "2024-12-14T19:37:05Z")

</div>

@ms Thank you for your helpful replies! I’ll mark your most recent reply as the solution.

---

<div class="post-metadata">

**Author:** ![current\_user](https://community.ipfire.org/user_avatar/community.ipfire.org/current_user/32/15217_2.png) [@current\_user](https://community.ipfire.org/u/current_user)\
**Post date:** [21 December 2024 22:28 UTC](https://community.ipfire.org/t/using-ipfire-for-pppoe-decoding/13304/10 "2024-12-21T22:28:04Z")

</div>

@ipfirepppoe  
[bookmarked] ‼ 👍  
please post your results if you get some. 🤞  
very high speed pppoe experience  
has some kind of lack here 🕳

try to search the `'forum'` here and  
you might get an idea of the pppoe challenge 🤷

saturate a 4GBiT pppoe connection with 2.1GHz 🤔
