Set PPPoE MRU MTU independent

Started by seed, January 11, 2022, 05:20:58 PM

Previous topic - Next topic
I miss in the PPPoE settings to be able to set the MTU max or MRU max independently.

in the /var/etv/mpd_wan.conf only the "link mtu" is stored.
Also the tcpmssfix is stored.

I find it very pleasant that e.g. the tcpmssfix is already stored, however it would be nice to be able to deactivate this for special cases. Also to be able to set the max MRU and max MTU would be nice. With Mikrotik this is possible for example.


Is it possible to integrate this in OPNsense?
I am too little developer to write the code.
i want all services to run with wirespeed and therefore run this dedicated hardware configuration:

AMD Ryzen 7 9700x
ASUS Pro B650M-CT-CSM
64GB DDR5 ECC (2x KSM56E46BD8KM-32HA)
Intel XL710-BM1
Intel i350-T4
2x SSD with ZFS mirror
PiKVM for remote maintenance

private user, no business use

My bad. I havent seen that MRU, MTU and the tcpmssfix settings can be changed in the PPP Interface section.



Interfaces: Point-to-Point: Devices -> Advanced

i want all services to run with wirespeed and therefore run this dedicated hardware configuration:

AMD Ryzen 7 9700x
ASUS Pro B650M-CT-CSM
64GB DDR5 ECC (2x KSM56E46BD8KM-32HA)
Intel XL710-BM1
Intel i350-T4
2x SSD with ZFS mirror
PiKVM for remote maintenance

private user, no business use

Would be nice if PPPoE could get a better UI.  Realtime status of connection attempts, and server responses.

I'm confused. Is it not open source for at least 7 years now? ;)


Cheers,
Franco

Quote from: LogicEthos on January 13, 2022, 05:55:23 PM
Would be nice if PPPoE could get a better UI.  Realtime status of connection attempts, and server responses.

To view the statistics you just need to edit the mpd5 configuration file (/var/etv/mpd_wan.conf) and add this:

set user foo bar admin
set web self 127.0.0.1 5006
set web open

then you can login to the web interface e.g. via SSH port forwarding and view statistics and data about PPPoE.
To make the configuration changes temporary you have to execute: "/usr/local/sbin/mpd5 -b -k -d /var/etc -f mpd_wan.conf -p /var/run/pppoe_wan.pid -s ppp pppoeclient". After that the PPPoE client will dial in again.

If you click on reconnect via the "interface overview" tab, the manual change is reset and the web interface disappears again.




Quote from: franco on January 17, 2022, 10:54:56 AM
I'm confused. Is it not open source for at least 7 years now? ;)


Cheers,
Franco

I noticed that I don't get my fixed /56 IPv6 prefix when I start mpd manually from the shell. @franco: is there maybe another bug? Sometimes I don't get the prefix on my DTAG and have to reconnect via the web interface.
i want all services to run with wirespeed and therefore run this dedicated hardware configuration:

AMD Ryzen 7 9700x
ASUS Pro B650M-CT-CSM
64GB DDR5 ECC (2x KSM56E46BD8KM-32HA)
Intel XL710-BM1
Intel i350-T4
2x SSD with ZFS mirror
PiKVM for remote maintenance

private user, no business use

January 17, 2022, 08:10:22 PM #5 Last Edit: January 17, 2022, 08:14:56 PM by seed
i want all services to run with wirespeed and therefore run this dedicated hardware configuration:

AMD Ryzen 7 9700x
ASUS Pro B650M-CT-CSM
64GB DDR5 ECC (2x KSM56E46BD8KM-32HA)
Intel XL710-BM1
Intel i350-T4
2x SSD with ZFS mirror
PiKVM for remote maintenance

private user, no business use

Viewing IPCP / IPV6CP logs:
The logs for the dial-in can be viewed here:

less /var/log/ppps/ppps_20220117.log

Of course, the date must be adjusted accordingly.

In the log you can see how the dialer communicates with the remote station.
i want all services to run with wirespeed and therefore run this dedicated hardware configuration:

AMD Ryzen 7 9700x
ASUS Pro B650M-CT-CSM
64GB DDR5 ECC (2x KSM56E46BD8KM-32HA)
Intel XL710-BM1
Intel i350-T4
2x SSD with ZFS mirror
PiKVM for remote maintenance

private user, no business use

Quote from: seed on January 17, 2022, 08:09:59 PM

To view the statistics you just need to edit the mpd5 configuration file (/var/etv/mpd_wan.conf) and add this:

set user foo bar admin
set web self 127.0.0.1 5006
set web open

Just what I was looking for, thank you.