Network(Public network) get disconnected automaically again and again
Hi Team,
The network gets disconnected, again and again, I have to manually disable and re-enable the network setting to get it working. After checking the server logs It seems to be a DNS server issue. Below are the logs for your reference.
Aug 16 15:33:37 xxxxxxxx systemd-
Aug 16 15:33:37 xxxxxxxx systemd-
Aug 16 15:33:37 xxxxxxxx systemd-
Aug 16 15:33:37 xxxxxxxx systemd-
Aug 16 15:33:37 xxxxxxxx systemd-
Aug 16 15:33:37 xxxxxxxx systemd-
Aug 16 15:33:37 xxxxxxxx systemd-
root@xxxx:~# cat /etc/resolv.conf
# This file is managed by man:systemd-
#
# This is a dynamic resolv.conf file for connecting local clients directly to
# all known uplink DNS servers. This file lists all configured search domains.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-
# operation for /etc/resolv.conf.
nameserver 8.8.8.8
nameserver 127.0.0.1
root@xxxxxx:~# ls -aril /etc/resolv.conf
359761264 lrwxrwxrwx 1 root root 32 Aug 16 15:41 /etc/resolv.conf -> /run/systemd/
root@xxxxxx:~# cat /run/systemd/
# This file is managed by man:systemd-
#
# This is a dynamic resolv.conf file for connecting local clients directly to
# all known uplink DNS servers. This file lists all configured search domains.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-
# operation for /etc/resolv.conf.
nameserver 8.8.8.8
nameserver 127.0.0.1
I have checked some article and unlink the previous config file and relink it again with /run/systemd/
But the issue still persists, Also checked the systemd-resolve --status
root@xxxxxx:~# systemd-resolve --status
Global
DNS Servers: 8.8.8.8
DNSSEC NTA: 10.in-addr.arpa
Link 2 (eno1)
Current Scopes: none
LLMNR setting: yes
MulticastDNS setting: no
DNSSEC setting: no
DNSSEC supported: no
Logs
-------
ug 16 16:07:00 xxxxxx dhcpcd[967]: eno1: carrier lost
Aug 16 16:07:00 xxxxxx kernel: e1000e: eno1 NIC Link is Down
Aug 16 16:07:03 xxxxxx dhcpcd[967]: eno1: carrier acquired
Aug 16 16:07:03 xxxxxx kernel: e1000e: eno1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
Aug 16 16:07:03 xxxxxx NetworkManager[
Aug 16 16:07:03 xxxxxx dhcpcd[967]: eno1: IAID d5:60:80:e0
Aug 16 16:07:03 xxxxxx dhcpcd[967]: eno1: rebinding lease of 192.168.1.31
Aug 16 16:07:04 xxxxxx dhcpcd[967]: eno1: soliciting an IPv6 router
Aug 16 16:07:06 xxxxxx systemd-
Aug 16 16:07:06 xxxxxx systemd-
Aug 16 16:07:08 xxxxxx dhcpcd[967]: eno1: probing for an IPv4LL address
Aug 16 16:07:08 xxxxxx dhcpcd[967]: eno1: DHCP lease expired
Aug 16 16:07:08 xxxxxx dhcpcd[967]: eno1: soliciting a DHCP lease
Aug 16 16:07:10 xxxxxx systemd-
Aug 16 16:07:11 xxxxxx systemd-
Aug 16 16:07:13 xxxxxx dhcpcd[967]: eno1: using IPv4LL address 169.254.129.33
Aug 16 16:07:13 xxxxxx dhcpcd[967]: eno1: adding route to 169.254.0.0/16
Aug 16 16:07:13 xxxxxx avahi-daemon[896]: Registering new address record for 169.254.129.33 on eno1.IPv4.
Aug 16 16:07:14 xxxxxx systemd-
Aug 16 16:07:15 xxxxxx systemd-
Aug 16 16:07:16 xxxxxx dhcpcd[967]: eno1: no IPv6 Routers available
Aug 16 16:07:20 xxxxxx systemd-
Aug 16 16:07:25 xxxxxx systemd-
Aug 16 16:07:25 xxxxxx systemd-
Aug 16 16:07:29 xxxxxx whoopsie[1260]: [16:07:29] Cannot reach: https:/
Aug 16 16:07:29 xxxxxx whoopsie[1260]: [16:07:29] offline
Aug 16 16:07:30 xxxxxx systemd-
Aug 16 16:07:30 xxxxxx systemd-
Aug 16 16:07:31 xxxxxx systemd-
Aug 16 16:07:32 xxxxxx systemd-
Aug 16 16:07:33 xxxxxx systemd-
Aug 16 16:07:34 xxxxxx systemd-
Aug 16 16:07:36 xxxxxx systemd-
Aug 16 16:07:41 xxxxxx systemd-
Aug 16 16:07:42 xxxxxx systemd-
Aug 16 16:07:43 xxxxxx systemd-
Aug 16 16:07:45 xxxxxx whoopsie[1260]: [16:07:45] Cannot reach: https:/
Aug 16 16:07:45 xxxxxx systemd-
Aug 16 16:07:46 xxxxxx dhcpcd[967]: eno1: carrier lost
Aug 16 16:07:46 xxxxxx kernel: e1000e: eno1 NIC Link is Down
Aug 16 16:07:46 xxxxxx dhcpcd[967]: eno1: deleting route to 169.254.0.0/16
Aug 16 16:07:46 xxxxxx avahi-daemon[896]: Withdrawing address record for 169.254.129.33 on eno1.
Aug 16 16:07:49 xxxxxx NetworkManager[
Aug 16 16:07:49 xxxxxx kernel: e1000e: eno1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
Aug 16 16:07:49 xxxxxx dhcpcd[967]: eno1: carrier acquired
Aug 16 16:07:49 xxxxxx dhcpcd[967]: eno1: IAID d5:60:80:e0
Aug 16 16:07:50 xxxxxx dhcpcd[967]: eno1: soliciting a DHCP lease
Aug 16 16:07:50 xxxxxx systemd-
Aug 16 16:07:50 xxxxxx dhcpcd[967]: eno1: soliciting an IPv6 router
Aug 16 16:07:53 xxxxxx systemd-
Aug 16 16:07:53 xxxxxx systemd-
Aug 16 16:07:54 xxxxxx systemd-
Aug 16 16:07:54 xxxxxx dhcpcd[967]: eno1: offered 192.168.1.31 from 192.168.1.98
Aug 16 16:07:54 xxxxxx dhcpcd[967]: eno1: probing address 192.168.1.31/24
Aug 16 16:07:56 xxxxxx systemd-
Aug 16 16:07:56 xxxxxx systemd-
Aug 16 16:07:57 xxxxxx systemd-
Aug 16 16:07:57 xxxxxx systemd-
Aug 16 16:07:57 xxxxxx whoopsie[1260]: [16:07:57] online
Aug 16 16:07:58 xxxxxx systemd-
Aug 16 16:07:59 xxxxxx NetworkManager[
Aug 16 16:07:59 xxxx dbus-daemon[820]: [system] Activating via systemd: service name='org.
Aug 16 16:07:59 xxxxxx whoopsie[1260]: [16:07:59] offline
Aug 16 16:07:59 xxxxxx systemd[1]: Starting Network Manager Script Dispatcher Service...
Aug 16 16:07:59 xxxxxx dbus-daemon[820]: [system] Successfully activated service 'org.freedeskto
Aug 16 16:07:59 xxxxxx systemd[1]: Started Network Manager Script Dispatcher Service.
Aug 16 16:07:59 xxxxxx nm-dispatcher[
Aug 16 16:07:59 xxxxxx nm-dispatcher[
Aug 16 16:07:59 xxxxxx dhcpcd[967]: eno1: leased 192.168.1.31 for 28800 seconds
Aug 16 16:07:59 xxxxxx dhcpcd[967]: eno1: adding route to 192.168.1.0/24
Aug 16 16:07:59 xxxxxx dhcpcd[967]: eno1: adding default route via 192.168.1.98
Aug 16 16:07:59 xxxxxx avahi-daemon[896]: Registering new address record for 192.168.1.31 on eno1.IPv4.
Aug 16 16:08:02 xxxxxx dhcpcd[967]: eno1: no IPv6 Routers available
Please check and let me know the root cause of the issue.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Lalit Singh Dhidwal for more information if necessary.