WAN PPPOE Change pubblic ip random



  • hi, as the title I pfsense with the wan in pppoe that continues to randomly change ip public,
    I checked pfsense in ipv4 static on WAN with my adsl modem in pppoe and all perfect,
    but when I use pfsense in pppoe with the modem in bridge mode, change ip public without any reason ...

    thanks in advance

    I also loose the logs ..
    ( the "......" is private info )

    Sep 29 08:34:47 check_reload_status Linkup starting hn0
    Sep 29 08:34:47 kernel hn0: network changed, change 1
    Sep 29 08:34:47 kernel hn0: link state changed to DOWN
    Sep 29 08:34:48 check_reload_status Reloading filter
    Sep 29 08:34:52 check_reload_status Linkup starting hn0
    Sep 29 08:34:52 kernel hn0: link state changed to UP
    Sep 29 08:34:53 ppp Multi-link PPP daemon for FreeBSD
    Sep 29 08:34:53 ppp process 60102 started, version 5.8 (nobody@pfSense_v2_4_3_amd64-pfSense_v2_4_3-job-08 16:18 16-Mar-2018)
    Sep 29 08:34:53 ppp waiting for process 47945 to die...
    Sep 29 08:34:53 ppp caught fatal signal TERM
    Sep 29 08:34:53 ppp [wan] IFACE: Close event
    Sep 29 08:34:53 ppp [wan] IPCP: Close event
    Sep 29 08:34:53 ppp [wan] IPCP: state change Opened --> Closing
    Sep 29 08:34:53 ppp [wan] IPCP: SendTerminateReq #4
    Sep 29 08:34:53 ppp [wan] IPCP: LayerDown
    Sep 29 08:34:53 check_reload_status Rewriting resolv.conf
    Sep 29 08:34:53 ppp [wan] IFACE: Delete route 0.0.0.0/0 192.168.100.1 failed: No such process
    Sep 29 08:34:53 ppp [wan] IFACE: Removing IPv4 address from pppoe0 failed(IGNORING for now. This should be only for PPPoE friendly!): Can't assign requested address
    Sep 29 08:34:53 ppp [wan] IFACE: Down event
    Sep 29 08:34:53 ppp [wan] IFACE: Rename interface pppoe0 to pppoe0
    Sep 29 08:34:53 ppp [wan] IPV6CP: Close event
    Sep 29 08:34:53 ppp [wan] IPV6CP: state change Stopped --> Closed
    Sep 29 08:34:53 ppp [wan] IPCP: rec'd Terminate Ack #4 (Closing)
    Sep 29 08:34:53 ppp [wan] IPCP: state change Closing --> Closed
    Sep 29 08:34:53 ppp [wan] IPCP: LayerFinish
    Sep 29 08:34:53 ppp [wan] Bundle: No NCPs left. Closing links...
    Sep 29 08:34:53 ppp [wan] Bundle: closing link "wan_link0"...
    Sep 29 08:34:53 ppp [wan_link0] PPPoE: connection closed
    Sep 29 08:34:53 ppp [wan_link0] Link: DOWN event
    Sep 29 08:34:53 ppp [wan_link0] Link: giving up after 0 reconnection attempts
    Sep 29 08:34:53 ppp [wan_link0] LCP: Close event
    Sep 29 08:34:53 ppp [wan_link0] LCP: state change Opened --> Closing
    Sep 29 08:34:53 ppp [wan_link0] Link: Leave bundle "wan"
    Sep 29 08:34:53 ppp [wan] Bundle: Status update: up 0 links, total bandwidth 9600 bps
    Sep 29 08:34:53 ppp [wan] IPCP: Close event
    Sep 29 08:34:53 ppp [wan] IPV6CP: Close event
    Sep 29 08:34:53 ppp [wan] IPCP: Down event
    Sep 29 08:34:53 ppp [wan] IPCP: state change Closed --> Initial
    Sep 29 08:34:53 ppp [wan] IPV6CP: Down event
    Sep 29 08:34:53 ppp [wan] IPV6CP: state change Closed --> Initial
    Sep 29 08:34:53 ppp [wan_link0] LCP: SendTerminateReq #2
    Sep 29 08:34:53 ppp [wan_link0] LCP: LayerDown
    Sep 29 08:34:53 ppp [wan_link0] LCP: Down event
    Sep 29 08:34:53 ppp [wan_link0] LCP: LayerFinish
    Sep 29 08:34:53 ppp [wan_link0] LCP: state change Closing --> Initial
    Sep 29 08:34:53 ppp [wan_link0] Link: CLOSE event
    Sep 29 08:34:53 ppp [wan_link0] LCP: Close event
    Sep 29 08:34:54 ppp waiting for process 47945 to die...
    Sep 29 08:34:55 ppp waiting for process 47945 to die...
    Sep 29 08:34:55 ppp [wan] Bundle: Shutdown
    Sep 29 08:34:55 snmpd 24276 SIOCGIFDESCR (pppoe0): Device not configured
    Sep 29 08:34:55 ppp [wan_link0] Link: Shutdown
    Sep 29 08:34:55 ppp process 47945 terminated
    Sep 29 08:34:56 ppp web: web is not running
    Sep 29 08:34:56 ppp [wan] Bundle: Interface ng0 created
    Sep 29 08:34:56 ppp [wan_link0] Link: OPEN event
    Sep 29 08:34:56 kernel ng0: changing name to 'pppoe0'
    Sep 29 08:34:56 ppp [wan_link0] LCP: Open event
    Sep 29 08:34:56 ppp [wan_link0] LCP: state change Initial --> Starting
    Sep 29 08:34:56 ppp [wan_link0] LCP: LayerStart
    Sep 29 08:34:56 ppp [wan_link0] PPPoE: Connecting to ''
    Sep 29 08:34:56 ppp PPPoE: rec'd ACNAME "r-pd900"
    Sep 29 08:34:56 ppp [wan_link0] PPPoE: connection successful
    Sep 29 08:34:56 ppp [wan_link0] Link: UP event
    Sep 29 08:34:56 ppp [wan_link0] LCP: Up event
    Sep 29 08:34:56 ppp [wan_link0] LCP: state change Starting --> Req-Sent
    Sep 29 08:34:56 ppp [wan_link0] LCP: SendConfigReq #1
    Sep 29 08:34:56 ppp [wan_link0] PROTOCOMP
    Sep 29 08:34:56 ppp [wan_link0] MRU 1492
    Sep 29 08:34:56 ppp [wan_link0] MAGICNUM 0xa3205396
    Sep 29 08:34:56 ppp [wan_link0] LCP: rec'd Configure Request #85 (Req-Sent)
    Sep 29 08:34:56 ppp [wan_link0] MRU 1492
    Sep 29 08:34:56 ppp [wan_link0] AUTHPROTO PAP
    Sep 29 08:34:56 ppp [wan_link0] MAGICNUM 0x38a1eeb8
    Sep 29 08:34:56 ppp [wan_link0] LCP: SendConfigAck #85
    Sep 29 08:34:56 ppp [wan_link0] MRU 1492
    Sep 29 08:34:56 ppp [wan_link0] AUTHPROTO PAP
    Sep 29 08:34:56 ppp [wan_link0] MAGICNUM 0x38a1eeb8
    Sep 29 08:34:56 ppp [wan_link0] LCP: state change Req-Sent --> Ack-Sent
    Sep 29 08:34:56 ppp [wan_link0] LCP: rec'd Configure Ack #1 (Ack-Sent)
    Sep 29 08:34:56 ppp [wan_link0] PROTOCOMP
    Sep 29 08:34:56 ppp [wan_link0] MRU 1492
    Sep 29 08:34:56 ppp [wan_link0] MAGICNUM 0xa3205396
    Sep 29 08:34:56 ppp [wan_link0] LCP: state change Ack-Sent --> Opened
    Sep 29 08:34:56 ppp [wan_link0] LCP: auth: peer wants PAP, I want nothing
    Sep 29 08:34:56 ppp [wan_link0] PAP: using authname "........."
    Sep 29 08:34:56 ppp [wan_link0] PAP: sending REQUEST #1 len: 22
    Sep 29 08:34:56 ppp [wan_link0] LCP: LayerUp
    Sep 29 08:34:57 ppp [wan_link0] PAP: rec'd ACK #1 len: 5
    Sep 29 08:34:57 ppp [wan_link0] LCP: authorization successful
    Sep 29 08:34:57 ppp [wan_link0] Link: Matched action 'bundle "wan" ""'
    Sep 29 08:34:57 ppp [wan_link0] Link: Join bundle "wan"
    Sep 29 08:34:57 ppp [wan] Bundle: Status update: up 1 link, total bandwidth 64000 bps
    Sep 29 08:34:57 ppp [wan] IPCP: Open event
    Sep 29 08:34:57 ppp [wan] IPCP: state change Initial --> Starting
    Sep 29 08:34:57 ppp [wan] IPCP: LayerStart
    Sep 29 08:34:57 ppp [wan] IPV6CP: Open event
    Sep 29 08:34:57 ppp [wan] IPV6CP: state change Initial --> Starting
    Sep 29 08:34:57 ppp [wan] IPV6CP: LayerStart
    Sep 29 08:34:57 ppp [wan] IPCP: Up event
    Sep 29 08:34:57 ppp [wan] IPCP: state change Starting --> Req-Sent
    Sep 29 08:34:57 ppp [wan] IPCP: SendConfigReq #1
    Sep 29 08:34:57 ppp [wan] IPADDR 0.0.0.0
    Sep 29 08:34:57 ppp [wan] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Sep 29 08:34:57 ppp [wan] PRIDNS 0.0.0.0
    Sep 29 08:34:57 ppp [wan] SECDNS 0.0.0.0
    Sep 29 08:34:57 ppp [wan] IPV6CP: Up event
    Sep 29 08:34:57 ppp [wan] IPV6CP: state change Starting --> Req-Sent
    Sep 29 08:34:57 ppp [wan] IPV6CP: SendConfigReq #1
    Sep 29 08:34:57 ppp [wan] IPCP: rec'd Configure Request #24 (Req-Sent)
    Sep 29 08:34:57 ppp [wan] IPADDR 192.168.100.1
    Sep 29 08:34:57 ppp [wan] 192.168.100.1 is OK
    Sep 29 08:34:57 ppp [wan] IPCP: SendConfigAck #24
    Sep 29 08:34:57 ppp [wan] IPADDR 192.168.100.1
    Sep 29 08:34:57 ppp [wan] IPCP: state change Req-Sent --> Ack-Sent
    Sep 29 08:34:57 ppp [wan] IPCP: rec'd Configure Reject #1 (Ack-Sent)
    Sep 29 08:34:57 ppp [wan] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
    Sep 29 08:34:57 ppp [wan] IPCP: SendConfigReq #2
    Sep 29 08:34:57 ppp [wan] IPADDR 0.0.0.0
    Sep 29 08:34:57 ppp [wan] PRIDNS 0.0.0.0
    Sep 29 08:34:57 ppp [wan] SECDNS 0.0.0.0
    Sep 29 08:34:57 ppp [wan_link0] LCP: rec'd Protocol Reject #86 (Opened)
    Sep 29 08:34:57 ppp [wan_link0] LCP: protocol IPV6CP was rejected
    Sep 29 08:34:57 ppp [wan] IPV6CP: protocol was rejected by peer
    Sep 29 08:34:57 ppp [wan] IPV6CP: state change Req-Sent --> Stopped
    Sep 29 08:34:57 ppp [wan] IPV6CP: LayerFinish
    Sep 29 08:34:57 ppp [wan] IPCP: rec'd Configure Nak #2 (Ack-Sent)
    Sep 29 08:34:57 ppp [wan] IPADDR .................
    Sep 29 08:34:57 ppp [wan] ................ is OK
    Sep 29 08:34:57 ppp [wan] PRIDNS ...........
    Sep 29 08:34:57 ppp [wan] SECDNS ...............
    Sep 29 08:34:57 ppp [wan] IPCP: SendConfigReq #3
    Sep 29 08:34:57 ppp [wan] IPADDR ..................
    Sep 29 08:34:57 ppp [wan] PRIDNS .................
    Sep 29 08:34:57 ppp [wan] SECDNS .................
    Sep 29 08:34:57 ppp [wan] IPCP: rec'd Configure Ack #3 (Ack-Sent)
    Sep 29 08:34:57 ppp [wan] IPADDR ................
    Sep 29 08:34:57 ppp [wan] PRIDNS ..............
    Sep 29 08:34:57 ppp [wan] SECDNS ...............
    Sep 29 08:34:57 ppp [wan] IPCP: state change Ack-Sent --> Opened
    Sep 29 08:34:57 ppp [wan] IPCP: LayerUp
    Sep 29 08:34:57 ppp [wan] ............... -> 192.168.100.1
    Sep 29 08:34:57 check_reload_status Rewriting resolv.conf
    Sep 29 08:34:58 check_reload_status rc.newwanip starting pppoe0
    Sep 29 08:34:58 ppp [wan] IFACE: Up event
    Sep 29 08:34:58 ppp [wan] IFACE: Rename interface ng0 to pppoe0
    Sep 29 08:34:59 php-fpm 322 /rc.newwanip: rc.newwanip: Info: starting on pppoe0.
    Sep 29 08:34:59 php-fpm 322 /rc.newwanip: rc.newwanip: on (IP address: ..............) (interface: WAN[wan]) (real interface: pppoe0).
    Sep 29 08:34:59 php-fpm 322 /rc.newwanip: IP Address has changed, killing states on former IP Address ...............
    Sep 29 08:34:59 php-fpm 322 /rc.newwanip: ROUTING: setting default route to 10.0.0.1
    Sep 29 08:35:01 rc.gateway_alarm 74657 >>> Gateway alarm: WAN_PPPOE (Addr:192.168.100.1 Alarm:1 RTT:0ms RTTsd:0ms Loss:100%)
    Sep 29 08:35:01 rc.gateway_alarm 75271 >>> Gateway alarm: WANGW (Addr:10.0.0.1 Alarm:1 RTT:0ms RTTsd:0ms Loss:100%)
    Sep 29 08:35:01 check_reload_status updating dyndns WAN_PPPOE
    Sep 29 08:35:01 check_reload_status Restarting ipsec tunnels
    Sep 29 08:35:01 check_reload_status updating dyndns WANGW
    Sep 29 08:35:01 check_reload_status Restarting OpenVPN tunnels/interfaces
    Sep 29 08:35:01 check_reload_status Restarting ipsec tunnels
    Sep 29 08:35:01 check_reload_status Reloading filter
    Sep 29 08:35:01 check_reload_status Restarting OpenVPN tunnels/interfaces
    Sep 29 08:35:01 check_reload_status Reloading filter
    Sep 29 08:35:02 php-fpm 322 /rc.newwanip: phpDynDNS: updating cache file /conf/dyndns_wannoip'..................'0.cache: ...............
    Sep 29 08:35:02 php-fpm 322 /rc.newwanip: phpDynDNS (................): (Success) DNS hostname update successful.
    Sep 29 08:35:02 php-fpm 12696 /rc.dyndns.update: phpDynDNS (..................): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
    Sep 29 08:35:02 php-fpm 78439 /rc.dyndns.update: phpDynDNS (..................): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
    Sep 29 08:35:03 php-fpm 38764 /rc.linkup: ROUTING: setting default route to 10.0.0.1
    Sep 29 08:35:03 check_reload_status Restarting ipsec tunnels
    Sep 29 08:35:03 check_reload_status updating dyndns wan
    Sep 29 08:35:03 check_reload_status Reloading filter
    Sep 29 08:35:03 php-fpm 322 /rc.newwanip: Resyncing OpenVPN instances for interface WAN.
    Sep 29 08:35:03 php-fpm 322 /rc.newwanip: Creating rrd update script
    Sep 29 08:35:04 php-fpm 78439 /rc.dyndns.update: phpDynDNS (...............): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
    Sep 29 08:35:05 php-cgi notify_monitor.php: Message sent to ........................ OK
    Sep 29 08:35:05 php-fpm 322 /rc.newwanip: pfSense package system has detected an IP change or dynamic WAN reconnection - ...................... -> ................. - Restarting packages.
    Sep 29 08:35:05 check_reload_status Starting packages
    Sep 29 08:35:05 snmpd 9532 disk_OS_get_disks: adding device 'da0' to device list
    Sep 29 08:35:06 php-fpm 12696 /rc.start_packages: Restarting/Starting all packages.