DHClient stops suddenly? WAN-Connection down a few times a day

Started by Bytechanger, February 07, 2022, 08:51:15 AM

Previous topic - Next topic
Hi,

first all works fine, but now, I see suddenly dhclient stops working some times?
I can“t see a reason for this...

When I reload Interface it gets same IP (ipv4 and ipv6) from WAN-site...



2022-02-07T07:15:34 Notice opnsense plugins_configure newwanip (execute task : webgui_configure_do(,opt4))
2022-02-07T07:15:34 Notice opnsense plugins_configure newwanip (execute task : vxlan_configure_interface())
2022-02-07T07:15:34 Notice opnsense plugins_configure newwanip (execute task : unbound_configure_do(,opt4))
2022-02-07T07:15:34 Notice opnsense plugins_configure newwanip (execute task : openssh_configure_do(,opt4))
2022-02-07T07:15:34 Notice opnsense plugins_configure newwanip (execute task : opendns_configure_do())
2022-02-07T07:15:34 Notice opnsense plugins_configure newwanip (execute task : ntpd_configure_do())
2022-02-07T07:15:34 Notice opnsense plugins_configure newwanip (execute task : dyndns_configure_do(,opt4))
2022-02-07T07:15:34 Notice opnsense plugins_configure newwanip (,opt4)
2022-02-07T07:15:34 Error opnsense /usr/local/etc/rc.newwanipv6: Resyncing OpenVPN instances for interface WAN_Glasfaser.
2022-02-07T07:15:34 Notice opnsense plugins_configure vpn (execute task : openvpn_configure_do(,opt4))
2022-02-07T07:15:34 Notice opnsense plugins_configure vpn (execute task : ipsec_configure_do(,opt4))
2022-02-07T07:15:34 Notice opnsense plugins_configure vpn (,opt4)
2022-02-07T07:15:34 Error opnsense /usr/local/etc/rc.newwanipv6: The WAN_GLASFASER_DHCP monitor address is empty, skipping.
2022-02-07T07:15:34 Error opnsense /usr/local/etc/rc.newwanipv6: The WAN_GLASFASER_DHCP6 monitor address is empty, skipping.
2022-02-07T07:15:34 Notice opnsense plugins_configure monitor (execute task : dpinger_configure_do())
2022-02-07T07:15:34 Notice opnsense plugins_configure monitor ()
2022-02-07T07:15:34 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: keeping current default gateway 'fe80::ff:XX:XX%vtnet0'
2022-02-07T07:15:34 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: setting IPv6 default route to fe80::ff:XX:XX
2022-02-07T07:15:34 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: IPv6 default gateway set to opt4
2022-02-07T07:15:34 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: keeping current default gateway '100.111.0.1'
2022-02-07T07:15:34 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: setting IPv4 default route to 100.111.0.1
2022-02-07T07:15:34 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: IPv4 default gateway set to opt4
2022-02-07T07:15:34 Error opnsense /usr/local/etc/rc.newwanipv6: ROUTING: entering configure using 'opt4'
2022-02-07T07:15:34 Notice opnsense plugins_configure hosts (execute task : unbound_hosts_generate())
2022-02-07T07:15:34 Notice opnsense plugins_configure hosts (execute task : dnsmasq_hosts_generate())
2022-02-07T07:15:34 Notice opnsense plugins_configure hosts ()
2022-02-07T07:15:34 Notice opnsense plugins_configure dhcp (execute task : dhcpd_dhcp_configure(,inet6))
2022-02-07T07:15:34 Notice opnsense plugins_configure dhcp (,inet6)
2022-02-07T07:15:34 Error opnsense /usr/local/etc/rc.newwanipv6: On (IP address: 2a00:XX:XX:XX:XX:XX) (interface: WAN_Glasfaser[opt4]) (real interface: vtnet0).
2022-02-07T07:15:34 Error opnsense /usr/local/etc/rc.newwanipv6: IPv6 renewal is starting on 'vtnet0'
2022-02-07T07:15:34 Notice dhcp6c dhcp6c REQUEST on vtnet0 - running newipv6
2022-02-07T07:15:33 Notice opnsense plugins_configure dns (execute task : unbound_configure_do(1))
2022-02-07T07:15:33 Notice opnsense plugins_configure dns (execute task : dnsmasq_configure_do(1))
2022-02-07T07:15:33 Notice opnsense plugins_configure dns (1)
2022-02-07T07:15:32 Error opnsense /usr/local/etc/rc.configure_interface: Warning! dhcpd_dhcp6_configure() found no suitable IPv6 address on opt7
2022-02-07T07:15:32 Error opnsense /usr/local/etc/rc.configure_interface: Warning! dhcpd_dhcp6_configure() found no suitable IPv6 address on opt1
2022-02-07T07:15:32 Error opnsense /usr/local/etc/rc.configure_interface: Warning! dhcpd_dhcp6_configure() found no suitable IPv6 address on opt2
2022-02-07T07:15:32 Error opnsense /usr/local/etc/rc.configure_interface: Warning! dhcpd_dhcp6_configure() found no suitable IPv6 address on lan
2022-02-07T07:15:32 Notice opnsense plugins_configure dhcp (execute task : dhcpd_dhcp_configure(1))
2022-02-07T07:15:32 Notice opnsense plugins_configure dhcp (1)
2022-02-07T07:15:32 Notice opnsense plugins_configure ipsec (execute task : ipsec_configure_do(1,opt4))
2022-02-07T07:15:32 Notice opnsense plugins_configure ipsec (1,opt4)
2022-02-07T07:15:32 Error opnsense /usr/local/etc/rc.configure_interface: ROUTING: keeping current default gateway 'fe80::ff:XX:XX%vtnet0'
2022-02-07T07:15:32 Error opnsense /usr/local/etc/rc.configure_interface: ROUTING: setting IPv6 default route to fe80::ff:XX:XX
2022-02-07T07:15:32 Error opnsense /usr/local/etc/rc.configure_interface: ROUTING: IPv6 default gateway set to opt4
2022-02-07T07:15:32 Error opnsense /usr/local/etc/rc.configure_interface: ROUTING: keeping current default gateway '100.111.0.1'
2022-02-07T07:15:32 Error opnsense /usr/local/etc/rc.configure_interface: ROUTING: setting IPv4 default route to 100.111.0.1
2022-02-07T07:15:32 Error opnsense /usr/local/etc/rc.configure_interface: ROUTING: IPv4 default gateway set to opt4
2022-02-07T07:15:32 Error opnsense /usr/local/etc/rc.configure_interface: ROUTING: entering configure using 'opt4'
2022-02-07T07:15:32 Notice dhcp6c RTSOLD script - Sending SIGHUP to dhcp6c
2022-02-07T07:15:32 Error opnsense /usr/local/etc/rc.configure_interface: Accept router advertisements on interface vtnet0
2022-02-07T07:15:32 Notice opnsense plugins_configure newwanip (execute task : webgui_configure_do(,opt4))
2022-02-07T07:15:32 Notice opnsense plugins_configure newwanip (execute task : vxlan_configure_interface())
2022-02-07T07:15:32 Notice opnsense plugins_configure newwanip (execute task : unbound_configure_do(,opt4))
2022-02-07T07:15:32 Notice opnsense plugins_configure newwanip (execute task : openssh_configure_do(,opt4))
2022-02-07T07:15:32 Notice opnsense plugins_configure newwanip (execute task : opendns_configure_do())
2022-02-07T07:15:32 Notice opnsense plugins_configure newwanip (execute task : ntpd_configure_do())
2022-02-07T07:15:32 Notice opnsense plugins_configure newwanip (execute task : dyndns_configure_do(,opt4))
2022-02-07T07:15:32 Notice opnsense plugins_configure newwanip (,opt4)
2022-02-07T07:15:32 Error opnsense /usr/local/etc/rc.newwanip: Resyncing OpenVPN instances for interface WAN_Glasfaser.
2022-02-07T07:15:32 Notice opnsense plugins_configure vpn (execute task : openvpn_configure_do(,opt4))
2022-02-07T07:15:32 Notice opnsense plugins_configure vpn (execute task : ipsec_configure_do(,opt4))
2022-02-07T07:15:32 Notice opnsense plugins_configure vpn (,opt4)
2022-02-07T07:15:32 Error opnsense /usr/local/etc/rc.newwanip: IP address renew, killing all previous states
2022-02-07T07:15:31 Error opnsense /usr/local/etc/rc.newwanip: The WAN_GLASFASER_DHCP monitor address is empty, skipping.
2022-02-07T07:15:31 Error opnsense /usr/local/etc/rc.newwanip: The WAN_GLASFASER_DHCP6 monitor address is empty, skipping.
2022-02-07T07:15:31 Notice opnsense plugins_configure monitor (execute task : dpinger_configure_do())
2022-02-07T07:15:31 Notice opnsense plugins_configure monitor ()
2022-02-07T07:15:31 Error opnsense /usr/local/etc/rc.newwanip: ROUTING: keeping current default gateway 'fe80::XX:XX:XX%vtnet0'
2022-02-07T07:15:31 Error opnsense /usr/local/etc/rc.newwanip: ROUTING: setting IPv6 default route to fe80::XX:XX:XX
2022-02-07T07:15:31 Error opnsense /usr/local/etc/rc.newwanip: ROUTING: IPv6 default gateway set to opt4
2022-02-07T07:15:31 Error opnsense /usr/local/etc/rc.newwanip: ROUTING: keeping current default gateway '100.111.0.1'
2022-02-07T07:15:31 Error opnsense /usr/local/etc/rc.newwanip: ROUTING: setting IPv4 default route to 100.111.0.1
2022-02-07T07:15:31 Error opnsense /usr/local/etc/rc.newwanip: ROUTING: IPv4 default gateway set to opt4
2022-02-07T07:15:31 Error opnsense /usr/local/etc/rc.newwanip: ROUTING: entering configure using 'opt4'
2022-02-07T07:15:31 Notice opnsense plugins_configure hosts (execute task : unbound_hosts_generate())
2022-02-07T07:15:31 Notice opnsense plugins_configure hosts (execute task : dnsmasq_hosts_generate())
2022-02-07T07:15:31 Notice opnsense plugins_configure hosts ()
2022-02-07T07:15:31 Error opnsense /usr/local/etc/rc.newwanip: On (IP address: 100.111.XX.XX) (interface: WAN_Glasfaser[opt4]) (real interface: vtnet0).
2022-02-07T07:15:31 Error opnsense /usr/local/etc/rc.newwanip: IPv4 renewal is starting on 'vtnet0'
2022-02-07T07:15:31 Notice dhclient Creating resolv.conf
2022-02-07T07:15:31 Notice dhclient route add default 100.111.0.1
2022-02-07T07:15:31 Notice dhclient New Routers (vtnet0): 100.111.0.1
2022-02-07T07:15:31 Notice dhclient New Broadcast Address (vtnet0): 100.111.255.255
2022-02-07T07:15:31 Notice dhclient New Subnet Mask (vtnet0): 255.255.0.0
2022-02-07T07:15:31 Notice dhclient New IP Address (vtnet0): 100.111.XX.XX
[b]2022-02-07T07:15:29 Critical dhclient exiting. [/b]
[b]2022-02-07T07:15:29 Error dhclient connection closed [/b]
2022-02-07T06:13:00 Notice dhclient Creating resolv.conf

Hi !
Did you find a solution to you issue ?

I'm not sure I have same issue, but I recently noticed that my backup WAN gateway (second WAN) sometimes appear down in opensense.
A simple DHCP release/renew (interface/overview menu) is good enough to get the gateway back to green.

my backup wan is a LTE router set in bridge mode.
One day, I will understand all of this !

Same here with Vodafone. A simple release/renew or saving the gateway config without a change brings it up again.

Yes, I confirm : saving gateway settings and apply (without any modification) bring it back alive  :o
One day, I will understand all of this !

Does anyone has a solution or workaround for this?
One day, I will understand all of this !