Shortly before 10am my PPPoE DSL connection died.
The first mention of it in the log is about 5 minutes later:
Oct 19 10:03:01 check_reload_status: rc.newwanip starting
Oct 19 10:03:03 php: : Informational: rc.newwanip is starting .
Oct 19 10:03:03 php: : rc.newwanip working with (IP address: 216.8.131.217) (interface: wan) (interface real: xl0).
Oct 19 10:03:08 php: : Informational: DHClient spawned /etc/rc.newwanip and the new ip is wan - 216.8.131.217.
Oct 19 10:03:08 php: : Creating rrd update script
Oct 19 10:03:08 php: : pfSense package system has detected an ip change 216.8.131.235 -> 216.8.131.217 ... Restarting packages.
What i don't understand is that the first pfSense realizes there is a problem is when something detected a new ip. i thought that when using PPPoE DSL, the router itself requests an IP from the ISP's DHCP server. If that were the case then i would see some log activity from the router saying how it would be initiating a PPPoE connection, logging in, getting an ip, the new ip it got, etc.
So my DSL modem must have lost connection shortly before 10am. i assume the modem kept trying to reconnect, and after 5 minutes of retries it was finally able to re-establish a connection over the phone lines to the ISP. Does this mean that when my modem connects, my ISP is assigning me an IP? And if the IP is assigned to me when my modem connects, but
before my router "dials" the PPPoE connection, does that mean that the PPPoE protocol allows for the calling router to be
told what IP it has been operating on since the modem connected?
Additionally, how does pfSense finally realize that the connection had a problem? Is it only because
check_reload_status watchdog process detected an IP change? How is
check_reload_status detecting an IP change when the router itself didn't change the IP? Is
check_reload_status connecting to some
checkmyip.org type service that you guys are running and seeing that the IP has changed - which then triggers a PPPoE reconnect?
What would happen if when my modem reconnected, the ISP happened to gave me the same IP. Would pfSense never realize that it needed to reconnect using PPPoE because
check_reload_status never saw a
new ip; and i'd be stuck offline until i manually initiated a disconnect/reconnect?
Put it another way: how is my PPPoE DSL link coming back after it "fails"?