I switched the ISP from 10 MBit/s cable to 200 MBit/s fiber. The modems of both ISPs can be configured to bridge mode.
I was somewhat disappointed for having to deal with the PPP dinosaur once again, I thought this was a DSL left behind from 20 years ago. And now the FreeBSD handbook lets us use an almost 30 years old PPP implementation, which pushes the CPU load up to 10 %, depending on the WAN traffic - horrific. Fortunately we got net/mpd5. With that I have it working reasonably now, and according to top(1) no significant CPU load is imposed by WAN network traffic.
My recommendation to everybody in a similar situation is now, forget ppp(8), and ignore the PPPoE chapter of the handbook.
Here is my /usr/local/etc/mpd5/mpd.conf:
	
	
	
		
Here is the iface-up script:
	
	
	
		
In the whole adjacent LAN it is good have the MTU set to 1492.
				
			I was somewhat disappointed for having to deal with the PPP dinosaur once again, I thought this was a DSL left behind from 20 years ago. And now the FreeBSD handbook lets us use an almost 30 years old PPP implementation, which pushes the CPU load up to 10 %, depending on the WAN traffic - horrific. Fortunately we got net/mpd5. With that I have it working reasonably now, and according to top(1) no significant CPU load is imposed by WAN network traffic.
My recommendation to everybody in a similar situation is now, forget ppp(8), and ignore the PPPoE chapter of the handbook.
Here is my /usr/local/etc/mpd5/mpd.conf:
		Code:
	
	startup:
# configure mpd users
    set user <ADMIN_PASSWORD> <ADMIN_USER_NAME> admin
# configure the console
    set console self 127.0.0.1 5005
    set console open
# configure the web server
    set web self 192.168.0.1 5006
    set web open
default:
    load pppoe_client
pppoe_client:
#
# PPPoE client: only outgoing calls, auto reconnect,
# ipcp-negotiated address, one-sided authentication,
# default route points on ISP's end
#
    create bundle static B_pppoe
    set iface name ppp0
    set iface description WAN
    set iface up-script "/root/config/ppp-up.sh"
    set iface enable tcpmssfix
    set iface route default
    set ipcp ranges 0.0.0.0/0 0.0.0.0/0
 
    create link static L_pppoe pppoe
    set link action bundle B_pppoe
    set auth authname <PPPoE_USERNAME>
    set auth password <PPPoE_PASSWORD>
    set link max-redial 0
    set link keep-alive 10 60
    set pppoe iface re0
    set pppoe service ""
    openHere is the iface-up script:
		Code:
	
	#!/bin/sh
NEWIP=`echo $3 | cut -d/ -f1`
/root/config/dyndns-update.sh $NEWIPIn the whole adjacent LAN it is good have the MTU set to 1492.
 
			     
 
		