Personal tools
You are here: Home Networking pfSense pfSense v2.2.4 preliminary PPPoE RFC-4638 support

pfSense v2.2.4 preliminary PPPoE RFC-4638 support

Install the changes as per the pfSense forum post.

 

The ppp log shows the id of the mpd5 daemon with 

Multi-link PPP daemon for FreeBSD
process 15847 started, version 5.7 (root@manganese.wood2.org.uk 08:09 19-Sep-2015) 

 

php-fpm[96540]: /rc.newwanip: rc.newwanip: Info: starting on pppoe0.
php-fpm[96540]: /rc.newwanip: rc.newwanip: on (IP address: ) (interface: WAN[wan]) (real interface: pppoe0).
php-fpm[96540]: /rc.newwanip: rc.newwanip: Failed to update wan IP, restarting...
check_reload_status: Configuring interface wan
php-fpm[96540]: /rc.newwanipv6: rc.newwanipv6: Info: starting on pppoe0.
php-fpm[96540]: /rc.newwanipv6: rc.newwanipv6: Failed to update WAN[wan] IPv6, restarting...

Links

 

Appendices

ppp log (mtu 1500)

This log was captured with an ADSL modem with PPPoA with the MTU set to 1500

process 4127 started, version 5.7 (root@manganese.wood2.org.uk 08:09 19-Sep-2015)
waiting for process 39488 to die...
waiting for process 39488 to die...
waiting for process 39488 to die...
[wan] Bundle: Shutdown
[wan_link0] Link: Shutdown
process 39488 terminated
web: web is not running
[wan] Bundle: Interface ng0 created
[wan_link0] Bandwidth truncated to 10000000 bit/s
[wan_link0] Link: OPEN event
[wan_link0] LCP: Open event
[wan_link0] LCP: state change Initial --> Starting
[wan_link0] LCP: LayerStart
[wan_link0] PPPoE: Set PPP-Max-Payload to '1500'
[wan_link0] PPPoE: Connecting to ''
waiting for process 95153 to die...
caught fatal signal TERM
[wan] IFACE: Close event
[wan] IPCP: Close event
[wan] IPV6CP: Close event
waiting for process 95153 to die...
[wan] Bundle: Shutdown
[wan_link0] Link: Shutdown
process 95153 terminated
web: web is not running
[wan] Bundle: Interface ng0 created
[wan_link0] Bandwidth truncated to 10000000 bit/s
[wan_link0] Link: OPEN event
[wan_link0] LCP: Open event
[wan_link0] LCP: state change Initial --> Starting
[wan_link0] LCP: LayerStart
[wan_link0] PPPoE: Set PPP-Max-Payload to '1500'
[wan_link0] PPPoE: Connecting to ''
[wan_link0] PPPoE connection timeout after 9 seconds
[wan_link0] Link: DOWN event
[wan_link0] LCP: Down event
[wan_link0] Link: reconnection attempt 1 in 4 seconds
[wan_link0] Link: reconnection attempt 1
[wan_link0] PPPoE: Set PPP-Max-Payload to '1500'
[wan_link0] PPPoE: Connecting to ''
[wan_link0] PPPoE connection timeout after 9 seconds
[wan_link0] Link: DOWN event
[wan_link0] LCP: Down event
[wan_link0] Link: reconnection attempt 2 in 1 seconds
[wan_link0] Link: reconnection attempt 2
[wan_link0] PPPoE: Set PPP-Max-Payload to '1500'
[wan_link0] PPPoE: Connecting to ''
[wan_link0] PPPoE connection timeout after 9 seconds
[wan_link0] Link: DOWN event
[wan_link0] LCP: Down event
[wan_link0] Link: reconnection attempt 3 in 2 seconds
[wan_link0] Link: reconnection attempt 3
[wan_link0] PPPoE: Set PPP-Max-Payload to '1500'
[wan_link0] PPPoE: Connecting to ''
[wan_link0] PPPoE connection timeout after 9 seconds
[wan_link0] Link: DOWN event
[wan_link0] LCP: Down event
[wan_link0] Link: reconnection attempt 4 in 3 seconds
[wan_link0] Link: reconnection attempt 4
[wan_link0] PPPoE: Set PPP-Max-Payload to '1500'
[wan_link0] PPPoE: Connecting to ''
[wan_link0] PPPoE connection timeout after 9 seconds
[wan_link0] Link: DOWN event
[wan_link0] LCP: Down event
[wan_link0] Link: reconnection attempt 5 in 1 seconds
[wan_link0] Link: reconnection attempt 5
[wan_link0] PPPoE: Set PPP-Max-Payload to '1500'
[wan_link0] PPPoE: Connecting to ''
PPPoE: rec'd ACNAME "SNAP-08"
[wan_link0] PPPoE: rec'd PPP-Max-Payload '1500'
[wan_link0] PPPoE: connection successful
[wan_link0] Link: UP event
[wan_link0] LCP: Up event
[wan_link0] LCP: state change Starting --> Req-Sent
[wan_link0] LCP: SendConfigReq #1
[wan_link0]   PROTOCOMP
[wan_link0]   MRU 1500
[wan_link0]   MAGICNUM 842207ef
[wan_link0] LCP: rec'd Configure Request #243 (Req-Sent)
[wan_link0]   AUTHPROTO PAP
[wan_link0]   MAGICNUM 66f69e26
[wan_link0] LCP: SendConfigAck #243
[wan_link0]   AUTHPROTO PAP
[wan_link0]   MAGICNUM 66f69e26
[wan_link0] LCP: state change Req-Sent --> Ack-Sent
[wan_link0] LCP: rec'd Configure Ack #1 (Ack-Sent)
[wan_link0]   PROTOCOMP
[wan_link0]   MRU 1500
[wan_link0]   MAGICNUM 842207ef
[wan_link0] LCP: state change Ack-Sent --> Opened
[wan_link0] LCP: auth: peer wants PAP, I want nothing
[wan_link0] PAP: using authname "username@snap.net.nz"
[wan_link0] PAP: sending REQUEST #1 len: 42
[wan_link0] LCP: LayerUp
[wan_link0] PAP: rec'd ACK #1 len: 5
[wan_link0] LCP: authorization successful
[wan_link0] Link: Matched action 'bundle "wan" ""'
[wan_link0] Link: Join bundle "wan"
[wan] Bundle: Status update: up 1 link, total bandwidth 10000000 bps
[wan] IPCP: Open event
[wan] IPCP: state change Initial --> Starting
[wan] IPCP: LayerStart
[wan] IPV6CP: Open event
[wan] IPV6CP: state change Initial --> Starting
[wan] IPV6CP: LayerStart
[wan] IPCP: Up event
[wan] IPCP: state change Starting --> Req-Sent
[wan] IPCP: SendConfigReq #1
[wan]   IPADDR 0.0.0.0
[wan]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[wan] IPV6CP: Up event
[wan] IPV6CP: state change Starting --> Req-Sent
[wan] IPV6CP: SendConfigReq #1
[wan] IPCP: rec'd Configure Reject #1 (Req-Sent)
[wan]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[wan] IPCP: SendConfigReq #2
[wan]   IPADDR 0.0.0.0
[wan] IPV6CP: rec'd Configure Ack #1 (Req-Sent)
[wan] IPV6CP: state change Req-Sent --> Ack-Rcvd
[wan] IPCP: rec'd Configure Nak #2 (Req-Sent)
[wan]   IPADDR 123.255.40.190
[wan]     123.255.40.190 is OK
[wan] IPCP: SendConfigReq #3
[wan]   IPADDR 123.255.40.190
[wan] IPCP: rec'd Configure Ack #3 (Req-Sent)
[wan]   IPADDR 123.255.40.190
[wan] IPCP: state change Req-Sent --> Ack-Rcvd
[wan] IPCP: rec'd Configure Request #120 (Ack-Rcvd)
[wan]   IPADDR 111.69.1.254
[wan]     111.69.1.254 is OK
[wan] IPCP: SendConfigAck #120
[wan]   IPADDR 111.69.1.254
[wan] IPCP: state change Ack-Rcvd --> Opened
[wan] IPCP: LayerUp
[wan]   123.255.40.190 -> 111.69.1.254
[wan] IFACE: Up event
[wan] IFACE: Rename interface ng0 to pppoe0
[wan] IPV6CP: rec'd Configure Request #217 (Ack-Rcvd)
[wan] IPV6CP: SendConfigAck #217
[wan] IPV6CP: state change Ack-Rcvd --> Opened
[wan] IPV6CP: LayerUp
[wan]   020d:b9ff:fe33:06f8 -> 02a0:a50f:fc7c:8612

ppp log

With a modem running PPoA with the MTU set at a default of 1492.

ppp: [wan_link0] LCP: Down event
ppp: [wan_link0] Link: reconnection attempt 6 in 2 seconds
ppp: [wan_link0] Link: reconnection attempt 6
ppp: [wan_link0] PPPoE: Connecting to ''
ppp: PPPoE: rec'd ACNAME "SNAP-08"
ppp: [wan_link0] PPPoE: connection successful
ppp: [wan_link0] Link: UP event
ppp: [wan_link0] LCP: Up event
ppp: [wan_link0] LCP: state change Starting --> Req-Sent
ppp: [wan_link0] LCP: SendConfigReq #1
ppp: [wan_link0]   PROTOCOMP
ppp: [wan_link0]   MRU 1492
ppp: [wan_link0]   MAGICNUM bb19c07d
ppp: [wan_link0] LCP: rec'd Configure Request #47 (Req-Sent)
ppp: [wan_link0]   MRU 1492
ppp: [wan_link0]   AUTHPROTO PAP
ppp: [wan_link0]   MAGICNUM 5f07fe2b
ppp: [wan_link0] LCP: SendConfigAck #47
ppp: [wan_link0]   MRU 1492
ppp: [wan_link0]   AUTHPROTO PAP
ppp: [wan_link0]   MAGICNUM 5f07fe2b
ppp: [wan_link0] LCP: state change Req-Sent --> Ack-Sent
ppp: [wan_link0] LCP: rec'd Configure Ack #1 (Ack-Sent)
ppp: [wan_link0]   PROTOCOMP
ppp: [wan_link0]   MRU 1492
ppp: [wan_link0]   MAGICNUM bb19c07d
ppp: [wan_link0] LCP: state change Ack-Sent --> Opened
ppp: [wan_link0] LCP: auth: peer wants PAP, I want nothing
ppp: [wan_link0] PAP: using authname "username@snap.net.nz"
ppp: [wan_link0] PAP: sending REQUEST #1 len: 42
ppp: [wan_link0] LCP: LayerUp
ppp: [wan_link0] PAP: rec'd ACK #1 len: 5
ppp: [wan_link0] LCP: authorization successful
ppp: [wan_link0] Link: Matched action 'bundle "wan" ""'
ppp: [wan_link0] Link: Join bundle "wan"
ppp: [wan] Bundle: Status update: up 1 link, total bandwidth 10000000 bps
ppp: [wan] IPCP: Open event
ppp: [wan] IPCP: state change Initial --> Starting
ppp: [wan] IPCP: LayerStart
ppp: [wan] IPV6CP: Open event
ppp: [wan] IPV6CP: state change Initial --> Starting
ppp: [wan] IPV6CP: LayerStart
ppp: [wan] IPCP: Up event
ppp: [wan] IPCP: state change Starting --> Req-Sent
ppp: [wan] IPCP: SendConfigReq #1
ppp: [wan]   IPADDR 0.0.0.0
ppp: [wan]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
ppp: [wan] IPV6CP: Up event
ppp: [wan] IPV6CP: state change Starting --> Req-Sent
ppp: [wan] IPV6CP: SendConfigReq #1
ppp: [wan] IPCP: rec'd Configure Reject #1 (Req-Sent)
ppp: [wan]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
ppp: [wan] IPCP: SendConfigReq #2
ppp: [wan]   IPADDR 0.0.0.0
ppp: [wan] IPV6CP: rec'd Configure Ack #1 (Req-Sent)
ppp: [wan] IPV6CP: state change Req-Sent --> Ack-Rcvd
ppp: [wan] IPCP: rec'd Configure Nak #2 (Req-Sent)
ppp: [wan]   IPADDR 123.255.40.190
ppp: [wan]     123.255.40.190 is OK
ppp: [wan] IPCP: SendConfigReq #3
ppp: [wan]   IPADDR 123.255.40.190
ppp: [wan] IPCP: rec'd Configure Ack #3 (Req-Sent)
ppp: [wan]   IPADDR 123.255.40.190
ppp: [wan] IPCP: state change Req-Sent --> Ack-Rcvd
ppp: [wan] IPCP: rec'd Configure Request #23 (Ack-Rcvd)
ppp: [wan]   IPADDR 111.69.1.254
ppp: [wan]     111.69.1.254 is OK
ppp: [wan] IPCP: SendConfigAck #23
ppp: [wan]   IPADDR 111.69.1.254
ppp: [wan] IPCP: state change Ack-Rcvd --> Opened
ppp: [wan] IPCP: LayerUp
ppp: [wan]   123.255.40.190 -> 111.69.1.254
ppp: [wan] IFACE: Up event
ppp: [wan] IFACE: Rename interface ng0 to pppoe0
ppp: [wan] IPV6CP: rec'd Configure Request #117 (Ack-Rcvd)
ppp: [wan] IPV6CP: SendConfigAck #117
ppp: [wan] IPV6CP: state change Ack-Rcvd --> Opened
ppp: [wan] IPV6CP: LayerUp
ppp: [wan]   8d4d:d67f:fb7a:b907 -> 02a0:a50f:fc7c:8612

ppp log

This was captured with a modem configured to bridge PPPoE (VPI/VCI 0/110). Max payload was negiotiated.

 ppp: [wan] Bundle: Interface ng0 created
 ppp: [wan_link0] Link: OPEN event
 ppp: [wan_link0] LCP: Open event
 ppp: [wan_link0] LCP: state change Initial --> Starting
 ppp: [wan_link0] LCP: LayerStart
 ppp: [wan_link0] PPPoE: Set PPP-Max-Payload to '1500'
 ppp: [wan_link0] PPPoE: Connecting to ''
 ppp: PPPoE: rec'd ACNAME "SNAP-08"
 ppp: [wan_link0] PPPoE: rec'd PPP-Max-Payload '1500'
 ppp: [wan_link0] PPPoE: connection successful
 ppp: [wan_link0] Link: UP event
 ppp: [wan_link0] LCP: Up event
 ppp: [wan_link0] LCP: state change Starting --> Req-Sent
 ppp: [wan_link0] LCP: SendConfigReq #1
 ppp: [wan_link0]   PROTOCOMP
 ppp: [wan_link0]   MRU 1500
 ppp: [wan_link0]   MAGICNUM 78b9739c
 ppp: [wan_link0] LCP: rec'd Configure Request #79 (Req-Sent)
 ppp: [wan_link0]   AUTHPROTO PAP
 ppp: [wan_link0]   MAGICNUM 3016a12b
 ppp: [wan_link0] LCP: SendConfigAck #79
 ppp: [wan_link0]   AUTHPROTO PAP
 ppp: [wan_link0]   MAGICNUM 3016a12b
 ppp: [wan_link0] LCP: state change Req-Sent --> Ack-Sent
 ppp: [wan_link0] LCP: rec'd Configure Ack #1 (Ack-Sent)
 ppp: [wan_link0]   PROTOCOMP
 ppp: [wan_link0]   MRU 1500
 ppp: [wan_link0]   MAGICNUM 78b9739c
 ppp: [wan_link0] LCP: state change Ack-Sent --> Opened
 ppp: [wan_link0] LCP: auth: peer wants PAP, I want nothing
 ppp: [wan_link0] PAP: using authname "username@snap.net.nz"
 ppp: [wan_link0] PAP: sending REQUEST #1 len: 42
 ppp: [wan_link0] LCP: LayerUp
 ppp: [wan_link0] PAP: rec'd ACK #1 len: 5
 ppp: [wan_link0] LCP: authorization successful
 ppp: [wan_link0] Link: Matched action 'bundle "wan" ""'
 ppp: [wan_link0] Link: Join bundle "wan"
 ppp: [wan] Bundle: Status update: up 1 link, total bandwidth 64000 bps
 ppp: [wan] IPCP: Open event
 ppp: [wan] IPCP: state change Initial --> Starting
 ppp: [wan] IPCP: LayerStart
 ppp: [wan] IPV6CP: Open event
 ppp: [wan] IPV6CP: state change Initial --> Starting
 ppp: [wan] IPV6CP: LayerStart
 ppp: [wan] IPCP: Up event
 ppp: [wan] IPCP: state change Starting --> Req-Sent
 ppp: [wan] IPCP: SendConfigReq #1
 ppp: [wan]   IPADDR 0.0.0.0
 ppp: [wan]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
 ppp: [wan] IPV6CP: Up event
 ppp: [wan] IPV6CP: state change Starting --> Req-Sent
 ppp: [wan] IPV6CP: SendConfigReq #1
 ppp: [wan] IPCP: rec'd Configure Reject #1 (Req-Sent)
 ppp: [wan]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
 ppp: [wan] IPCP: SendConfigReq #2
 ppp: [wan]   IPADDR 0.0.0.0
 ppp: [wan] IPV6CP: rec'd Configure Ack #1 (Req-Sent)
 ppp: [wan] IPV6CP: state change Req-Sent --> Ack-Rcvd
 ppp: [wan] IPCP: rec'd Configure Nak #2 (Req-Sent)
 ppp: [wan]   IPADDR 123.255.40.190
 ppp: [wan]     123.255.40.190 is OK
 ppp: [wan] IPCP: SendConfigReq #3
 ppp: [wan]   IPADDR 123.255.40.190
 ppp: [wan] IPCP: rec'd Configure Ack #3 (Req-Sent)
 ppp: [wan]   IPADDR 123.255.40.190
 ppp: [wan] IPCP: state change Req-Sent --> Ack-Rcvd
 ppp: [wan] IPCP: rec'd Configure Request #47 (Ack-Rcvd)
 ppp: [wan]   IPADDR 111.69.1.254
 ppp: [wan]     111.69.1.254 is OK
 ppp: [wan] IPCP: SendConfigAck #47
 ppp: [wan]   IPADDR 111.69.1.254
 ppp: [wan] IPCP: state change Ack-Rcvd --> Opened
 ppp: [wan] IPCP: LayerUp
 ppp: [wan]   123.255.40.190 -> 111.69.1.254
 ppp: [wan] IFACE: Up event
 ppp: [wan] IFACE: Rename interface ng0 to pppoe0
 ppp: [wan] IPV6CP: rec'd Configure Request #177 (Ack-Rcvd)
 ppp: [wan] IPV6CP: SendConfigAck #177
 ppp: [wan] IPV6CP: state change Ack-Rcvd --> Opened
 ppp: [wan] IPV6CP: LayerUp
 ppp: [wan]   020d:b9ff:fe33:06f8 -> 02a0:a50f:fc7c:8612
Document Actions