Solved PPPoE issues - both ppp and mpd5

Hi,

I am having a strange issue with PPPoE and I just don't understand it. I am on a standard FreeBSD 12.2-RELEASE installation.

This server used to be on OpenBSD but I recently switched. I was using ppp and so this is what I am using now.

The issue with ppp is that I just can't go beyond 150Mbps in download data rate while I am on a 1Gbps link. I still don't know.
So I saw in a few posts (dating posts but still...) people are using mpd5 instead; so I decided to give it a shot.

Right away, speed was normal everything seems solved ..... until I tried to go on a few sites.
Some work while others don't. For instance, https://www.freebsd.org doesn't which is very well working when using the stock ppp.....

So I am back to square one. I Immediately thought this is an MTU issue; I dropped it to 1400 but still ... no joy. It is working very well (well.... working; not at the proper speed) with ppp which is at the standard 1492. I didn't specify MRU though but usually follows MTU.

I am puzzled; I just can't see why. I am back on ppp for now but must figure out a way to get the speed back. I do not know why ppp and mpd5 are behaving so differently.

Anyone can help because I am fresh out of ideas....

Best regards,
tcn

ppp.conf
Code:
default:
  set log Phase tun command
  set ifaddr 10.0.0.1/0 10.0.0.2/0

ISP:
  set device PPPoE:internet
  set authname ************
  set authkey ************
  set dial
  set redial 3 5
  set login
  add default HISADDR

mpd.conf
Code:
default:
        load isp
isp:
        create bundle static bundle0
        set bundle links link0
        set ipcp ranges 0.0.0.0/0 0.0.0.0/0
        set ipcp disable vjcomp
        set iface route default
        create link static link0 pppoe
        set auth authname **********
        set auth password **********
        set pppoe iface internet
        set pppoe service "********"
        set link max-redial 0
        set link keep-alive 10 60
        set link enable shortseq
        set link mtu 1492
        set link mru 1492
        set link action bundle bundle0
        open
 
... Some work while others don’t. ...
Perhaps this is related to the following situation. Most sites would offer upload speeds well below of 1 Gbit/s -- their’s upload is your download. So even if your down link is 1 Gbit/s, your peers simply may not have a corresponding uplink.
 
Hi obsigna,

I just found the solution..... I added ttcpmssfix to the mpd.conf file. It seems like there are a few misaligned MTUs in the path.

Thanks for answering though!

Best regards,
tcn
 
Back
Top