OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: cardinal on June 20, 2022, 05:59:30 pm

Title: Random IP renewal since 22.1.8_1
Post by: cardinal on June 20, 2022, 05:59:30 pm
Hey guys,

so i am getting random IP renewal every few days since my update to 22.1.8_1. Everything worked like a charm with 22.1.7_1 and i can't seem to find the reason why this is happening.
I did not change my config or anything at all. The last few days i tried different "solutions" but since the renewal happens randomly i cannot be sure if anything helped at all.

Some info about my config: https://imgur.com/a/0UWrfuq (https://imgur.com/a/0UWrfuq). Please be lenient ;)

Any help is appreciated! Thanks in advance!

Log of the last renewal:
Code: [Select]
2022-06-18T07:29:41 Notice opnsense plugins_configure newwanip (execute task : webgui_configure_do(,opt9))
2022-06-18T07:29:41 Notice opnsense plugins_configure newwanip (execute task : vxlan_configure_interface())
2022-06-18T07:29:41 Notice opnsense plugins_configure newwanip (execute task : unbound_configure_do(,opt9))
2022-06-18T07:29:41 Notice opnsense plugins_configure newwanip (execute task : openssh_configure_do(,opt9))
2022-06-18T07:29:41 Notice opnsense plugins_configure newwanip (execute task : opendns_configure_do())
2022-06-18T07:29:41 Notice opnsense plugins_configure newwanip (execute task : ntpd_configure_do())
2022-06-18T07:29:41 Notice opnsense plugins_configure newwanip (,opt9)
2022-06-18T07:29:41 Error opnsense /usr/local/etc/rc.newwanipv6: Resyncing OpenVPN instances for interface Internet.
2022-06-18T07:29:41 Notice opnsense plugins_configure vpn (execute task : openvpn_configure_do(,opt9))
2022-06-18T07:29:41 Notice opnsense plugins_configure vpn (execute task : ipsec_configure_do(,opt9))
2022-06-18T07:29:41 Notice opnsense plugins_configure vpn (,opt9)
2022-06-18T07:29:41 Error opnsense /usr/local/etc/rc.newwanipv6: The INTERNET_PPPOE monitor address is empty, skipping.
2022-06-18T07:29:41 Error opnsense /usr/local/etc/rc.newwanipv6: The INTERNET_DHCP6 monitor address is empty, skipping.
2022-06-18T07:29:41 Notice opnsense plugins_configure monitor (execute task : dpinger_configure_do())
2022-06-18T07:29:41 Notice opnsense plugins_configure monitor ()
2022-06-18T07:29:41 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: keeping current default gateway 'fe80::XXXX:XXXX:XXXX:XXXX%pppoe1'
2022-06-18T07:29:41 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: setting IPv6 default route to fe80::XXXX:XXXX:XXXX:XXXX
2022-06-18T07:29:41 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: IPv6 default gateway set to opt9
2022-06-18T07:29:41 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: keeping current default gateway '62.XXX.XXX.XXX'
2022-06-18T07:29:41 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: setting IPv4 default route to 62.XXX.XXX.XXX
2022-06-18T07:29:41 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: IPv4 default gateway set to opt9
2022-06-18T07:29:41 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: entering configure using 'opt9'
2022-06-18T07:29:41 Notice opnsense plugins_configure hosts (execute task : unbound_hosts_generate())
2022-06-18T07:29:41 Notice opnsense plugins_configure hosts (execute task : dnsmasq_hosts_generate())
2022-06-18T07:29:41 Notice opnsense plugins_configure hosts ()
2022-06-18T07:29:40 Notice opnsense plugins_configure dhcp (execute task : dhcpd_dhcp_configure(,inet6))
2022-06-18T07:29:40 Notice opnsense plugins_configure dhcp (,inet6)
2022-06-18T07:29:40 Error opnsense /usr/local/etc/rc.newwanipv6: On (IP address: 2003:c0:XXXX:XXXX:XXXX:XXXX:fe68:6780) (interface: Internet[opt9]) (real interface: pppoe1).
2022-06-18T07:29:40 Error opnsense /usr/local/etc/rc.newwanipv6: IPv6 renewal is starting on 'pppoe1'
2022-06-18T07:29:40 Notice dhcp6c dhcp6c REQUEST on pppoe1 - running newipv6
2022-06-18T07:29:39 Notice dhcp6c RTSOLD script - Sending SIGHUP to dhcp6c
2022-06-18T07:29:38 Notice opnsense plugins_configure newwanip (execute task : webgui_configure_do(,opt9))
2022-06-18T07:29:38 Notice opnsense plugins_configure newwanip (execute task : vxlan_configure_interface())
2022-06-18T07:29:38 Notice opnsense plugins_configure newwanip (execute task : unbound_configure_do(,opt9))
2022-06-18T07:29:38 Notice opnsense plugins_configure newwanip (execute task : openssh_configure_do(,opt9))
2022-06-18T07:29:38 Notice opnsense plugins_configure newwanip (execute task : opendns_configure_do())
2022-06-18T07:29:38 Notice opnsense plugins_configure newwanip (execute task : ntpd_configure_do())
2022-06-18T07:29:38 Notice opnsense plugins_configure newwanip (,opt9)
2022-06-18T07:29:38 Error opnsense /usr/local/etc/rc.newwanipv6: Resyncing OpenVPN instances for interface Internet.
2022-06-18T07:29:38 Notice opnsense plugins_configure vpn (execute task : openvpn_configure_do(,opt9))
2022-06-18T07:29:38 Notice opnsense plugins_configure vpn (execute task : ipsec_configure_do(,opt9))
2022-06-18T07:29:38 Notice opnsense plugins_configure vpn (,opt9)
2022-06-18T07:29:37 Notice opnsense plugins_configure newwanip (execute task : webgui_configure_do(,opt9))
2022-06-18T07:29:37 Notice opnsense plugins_configure newwanip (execute task : vxlan_configure_interface())
2022-06-18T07:29:37 Notice opnsense plugins_configure newwanip (execute task : unbound_configure_do(,opt9))
2022-06-18T07:29:37 Notice opnsense plugins_configure newwanip (execute task : openssh_configure_do(,opt9))
2022-06-18T07:29:37 Notice opnsense plugins_configure newwanip (execute task : opendns_configure_do())
2022-06-18T07:29:37 Notice opnsense plugins_configure newwanip (execute task : ntpd_configure_do())
2022-06-18T07:29:37 Notice opnsense plugins_configure newwanip (,opt9)
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanip: Resyncing OpenVPN instances for interface Internet.
2022-06-18T07:29:37 Notice opnsense plugins_configure vpn (execute task : openvpn_configure_do(,opt9))
2022-06-18T07:29:37 Notice opnsense plugins_configure vpn (execute task : ipsec_configure_do(,opt9))
2022-06-18T07:29:37 Notice opnsense plugins_configure vpn (,opt9)
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanip: IP address change detected, killing states of old ip 93.XXX.XXX.XXX
2022-06-18T07:29:37 Error dhcp6c transmit failed: Can't assign requested address
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanipv6: The INTERNET_PPPOE monitor address is empty, skipping.
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanipv6: The INTERNET_DHCP6 monitor address is empty, skipping.
2022-06-18T07:29:37 Notice opnsense plugins_configure monitor (execute task : dpinger_configure_do())
2022-06-18T07:29:37 Notice opnsense plugins_configure monitor ()
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: keeping current default gateway 'fe80::XXXX:XXXX:XXXX:XXXX%pppoe1'
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: setting IPv6 default route to fe80::XXXX:XXXX:XXXX:XXXX
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: IPv6 default gateway set to opt9
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: keeping current default gateway '62.XXX.XXX.XXX'
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: setting IPv4 default route to 62.XXX.XXX.XXX
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: IPv4 default gateway set to opt9
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: entering configure using 'opt9'
2022-06-18T07:29:37 Notice opnsense plugins_configure hosts (execute task : unbound_hosts_generate())
2022-06-18T07:29:37 Notice opnsense plugins_configure hosts (execute task : dnsmasq_hosts_generate())
2022-06-18T07:29:37 Notice opnsense plugins_configure hosts ()
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanip: The INTERNET_PPPOE monitor address is empty, skipping.
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanip: The INTERNET_DHCP6 monitor address is empty, skipping.
2022-06-18T07:29:37 Notice opnsense plugins_configure monitor (execute task : dpinger_configure_do())
2022-06-18T07:29:37 Notice opnsense plugins_configure monitor ()
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanip: ROUTING: keeping current default gateway 'fe80::XXXX:XXXX:XXXX:XXXX%pppoe1'
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanip: ROUTING: setting IPv6 default route to fe80::XXXX:XXXX:XXXX:XXXX
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanip: ROUTING: IPv6 default gateway set to opt9
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanip: ROUTING: keeping current default gateway '62.XXX.XXX.XXX'
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanip: ROUTING: setting IPv4 default route to 62.XXX.XXX.XXX
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanip: ROUTING: IPv4 default gateway set to opt9
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanip: ROUTING: entering configure using 'opt9'
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanipv6: Warning! dhcpd_dhcp6_configure() found no suitable IPv6 address on opt2
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanipv6: Warning! dhcpd_dhcp6_configure() found no suitable IPv6 address on opt3
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanipv6: Warning! dhcpd_dhcp6_configure() found no suitable IPv6 address on opt4
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanipv6: Warning! dhcpd_dhcp6_configure() found no suitable IPv6 address on opt6
2022-06-18T07:29:37 Notice dhcp6c RTSOLD script - Sending SIGHUP to dhcp6c
2022-06-18T07:29:37 Notice opnsense plugins_configure hosts (execute task : unbound_hosts_generate())
2022-06-18T07:29:37 Notice opnsense plugins_configure dhcp (execute task : dhcpd_dhcp_configure(,inet6))
2022-06-18T07:29:37 Notice opnsense plugins_configure dhcp (,inet6)
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanipv6: On (IP address: 2003:c0:XXXX:XXXX:XXXX:XXXX:fe68:6782) (interface: Internet[opt9]) (real interface: pppoe1).
2022-06-18T07:29:37 Notice opnsense plugins_configure hosts (execute task : dnsmasq_hosts_generate())
2022-06-18T07:29:37 Notice opnsense plugins_configure hosts ()
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanipv6: IPv6 renewal is starting on 'pppoe1'
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanip: On (IP address: 93.XXX.XXX.XXX) (interface: Internet[opt9]) (real interface: pppoe1).
2022-06-18T07:29:37 Error opnsense /usr/local/etc/rc.newwanip: IPv4 renewal is starting on 'pppoe1'
2022-06-18T07:29:19 Error dhcp6c transmit failed: Can't assign requested address
2022-06-18T07:28:36 Error dhcp6c transmit failed: Network is down
Title: Re: Random IP renewal since 22.1.8_1
Post by: franco on June 21, 2022, 09:08:39 am
Have you tried reverting to 22.1.7? The suspicion is that 7/8 might not be the cause.

# opnsense-revert -r 22.1.7 opnsense


Cheers,
Franco
Title: Re: Random IP renewal since 22.1.8_1
Post by: cardinal on June 21, 2022, 02:34:13 pm
Hey franco,

thanks for the reply ;)

I did not revert to an older release yet as i am waiting for the renewal to happen again. It worked fine for weeks/months before, tho. If nothing helps i am going to revert and see if it occurs again.
Do you have anything in mind causing this? I'll keep an eye out if you have got a suspicion.
Title: Re: Random IP renewal since use of 22.1.8_1
Post by: rebuilder on June 21, 2022, 08:50:03 pm
Having a similar problem running 22.1.8_1. Lose the IP after running about four/five days. Before that running 22.1.8 there were no problems. As above by cardinal no config changes were made.

I am running with 22.1.8 now. Will have data on possible failure caused by 22.1.8_1 in four or five days service time.