WAN Link down and up randomly during the day

Hi guys!

I have some clients that has some issue with WAN. Multiple times in the day, eth0 (WAN) link turns down and up for about a second. It cause disconnection.

Version: 1.4

There is the logs

Sep 20 09:07:18 vyos kernel: [307242.362455] igb 0000:01:00.0 eth0: igb: eth0 NIC Link is Down
Sep 20 09:07:18 vyos netplugd[869]: eth0: state INSANE flags 0x00011043 UP,BROADCAST,RUNNING,MULTICAST,10000 -> 0x00001003 UP,BROADCAST,MULTICAST
Sep 20 09:07:19 vyos ntpd[3235]: Deleting interface #62 eth0, fe80::2a0:c9ff:fe82:fa00%2#123, interface stats: received=0, sent=0, dropped=0, active_time=255321 secs
Sep 20 09:07:19 vyos ntpd[3235]: Deleting interface #64 eth0, 70.80.95.76#123, interface stats: received=728, sent=743, dropped=0, active_time=255259 secs
Sep 20 09:07:24 vyos kernel: [307247.482842] igb 0000:01:00.0 eth0: igb: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
Sep 20 09:07:24 vyos netplugd[869]: eth0: state INSANE flags 0x00001003 UP,BROADCAST,MULTICAST -> 0x00011043 UP,BROADCAST,RUNNING,MULTICAST,10000
Sep 20 09:07:25 vyos ntpd[3235]: Listen normally on 65 eth0 70.80.95.76:123
Sep 20 09:07:25 vyos ntpd[3235]: Listen normally on 66 eth0 [fe80::2a0:c9ff:fe82:fa00%2]:123
Sep 20 09:07:27 vyos kernel: [307250.983487] igb 0000:01:00.0 eth0: igb: eth0 NIC Link is Down
Sep 20 09:07:27 vyos netplugd[869]: eth0: state INSANE flags 0x00011043 UP,BROADCAST,RUNNING,MULTICAST,10000 -> 0x00001003 UP,BROADCAST,MULTICAST
Sep 20 09:07:28 vyos ntpd[3235]: Deleting interface #65 eth0, 70.80.95.76#123, interface stats: received=0, sent=2, dropped=0, active_time=3 secs
Sep 20 09:07:28 vyos ntpd[3235]: Deleting interface #66 eth0, fe80::2a0:c9ff:fe82:fa00%2#123, interface stats: received=0, sent=0, dropped=0, active_time=3 secs
Sep 20 09:07:33 vyos kernel: [307257.166888] igb 0000:01:00.0 eth0: igb: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
Sep 20 09:07:33 vyos netplugd[869]: eth0: state INSANE flags 0x00001003 UP,BROADCAST,MULTICAST -> 0x00011043 UP,BROADCAST,RUNNING,MULTICAST,10000
Sep 20 09:07:34 vyos ntpd[3235]: Listen normally on 67 eth0 70.80.95.76:123
Sep 20 09:07:34 vyos ntpd[3235]: Listen normally on 68 eth0 [fe80::2a0:c9ff:fe82:fa00%2]:123
Sep 20 09:38:38 vyos vyos-configd[653]: Received message: {"type": "node", "data": "VYOS_TAGNODE_VALUE=eth0/usr/libexec/vyos/conf_mode/interfaces-ethernet.py"}
Sep 20 09:38:38 vyos systemd[1]: Stopping DHCP client on eth0...
Sep 20 09:38:39 vyos ntpd[3235]: Deleting interface #67 eth0, 70.80.95.76#123, interface stats: received=24, sent=27, dropped=0, active_time=1865 secs
Sep 20 09:38:40 vyos dhclient[121867]: DHCPRELEASE of 70.80.95.76 on eth0 to 10.23.113.23 port 67
Sep 20 09:38:40 vyos dhclient-script-vyos[121871]: Current dhclient PID: 121867, Parent PID: 1, IP version: 4, All dhclients for interface eth0: 121867
Sep 20 09:38:40 vyos dhclient-script-vyos[121871]: Passing command to /usr/sbin/ip: "-4 addr flush dev eth0 label eth0"
Sep 20 09:38:40 vyos dhclient-script-vyos[121871]: Deleting search domains with tag "dhcp-eth0" via vyos-hostsd-client
Sep 20 09:38:40 vyos vyos-hostsd[654]: Request data: {"type": "search_domains", "op": "delete", "data": ["dhcp-eth0"]}
Sep 20 09:38:40 vyos dhclient-script-vyos[121871]: Deleting nameservers with tag "dhcp-eth0" via vyos-hostsd-client
Sep 20 09:38:40 vyos vyos-hostsd[654]: Request data: {"type": "name_servers", "op": "delete", "data": ["dhcp-eth0"]}
Sep 20 09:38:40 vyos dhclient-script-vyos[121871]: Deleting default route: via 70.80.95.1 dev eth0 metric 210
Sep 20 09:38:40 vyos dhclient-script-vyos[121871]: Checking if the route presented in kernel: default via 70.80.95.1 dev eth0 metric 210
Sep 20 09:38:40 vyos dhclient-script-vyos[121871]: Converted vtysh command: "no ip route 0.0.0.0/0 70.80.95.1 eth0 tag 210 210 "
Sep 20 09:38:41 vyos systemd[1]: dhclient@eth0.service: Succeeded.
Sep 20 09:38:41 vyos systemd[1]: Stopped DHCP client on eth0.
Sep 20 09:38:41 vyos systemd[1]: dhclient@eth0.service: Consumed 19.028s CPU time.
Sep 20 09:38:41 vyos systemd[1]: Starting DHCP client on eth0...
Sep 20 09:38:41 vyos systemd[1]: Started DHCP client on eth0.
Sep 20 09:38:41 vyos dhclient-script-vyos[121939]: Current dhclient PID: 121934, Parent PID: 121933, IP version: 4, All dhclients for interface eth0: 121933 121934
Sep 20 09:38:41 vyos dhclient-script-vyos[121939]: Passing command to /usr/sbin/ip: "link set dev eth0 up"
Sep 20 09:38:41 vyos dhclient[121934]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Sep 20 09:38:41 vyos dhclient[121934]: DHCPREQUEST for 70.80.95.76 on eth0 to 255.255.255.255 port 67
Sep 20 09:38:41 vyos dhclient-script-vyos[121988]: Current dhclient PID: 121934, Parent PID: 1, IP version: 4, All dhclients for interface eth0: 121934
Sep 20 09:38:41 vyos dhclient-script-vyos[121988]: Passing command to /usr/sbin/ip: "-4 addr add 70.80.95.76/255.255.255.0 broadcast 255.255.255.255 valid_lft 259200 preferred_lft 259200 dev eth0 label eth0"
Sep 20 09:38:41 vyos dhclient-script-vyos[121988]: Checking if the route presented in kernel: default via 70.80.95.1 dev eth0 metric 210
Sep 20 09:38:41 vyos dhclient-script-vyos[121988]: Converted vtysh command: "ip route 0.0.0.0/0 70.80.95.1 eth0 tag 210 210 "
Sep 20 09:38:41 vyos dhclient-script-vyos[121988]: Deleting nameservers with tag "dhcp-eth0" via vyos-hostsd-client
Sep 20 09:38:42 vyos vyos-hostsd[654]: Request data: {"type": "name_servers", "op": "delete", "data": ["dhcp-eth0"]}
Sep 20 09:38:42 vyos dhclient-script-vyos[121988]: Adding nameservers "24.200.241.37 24.202.72.13 24.200.0.1" with tag "dhcp-eth0" via vyos-hostsd-client
Sep 20 09:38:42 vyos vyos-hostsd[654]: Request data: {"type": "name_servers", "op": "add", "data": {"dhcp-eth0": ["24.200.241.37", "24.202.72.13", "24.200.0.1"]}}
Sep 20 09:38:43 vyos ntpd[3235]: Listen normally on 69 eth0 70.80.95.76:123

Does anyone know why it happens? It’s not only one setup but some setup does this issue. Thanks!

I got the same issue with another client

DHCP seems to release and renew. I don’t know why.

Version 1.3

There is the log

Sep 20 13:08:31 vyos systemd[1]: Stopping DHCP client on eth0...
Sep 20 13:08:31 vyos systemd[1]: dhclient@eth0.service: Main process exited, code=killed, status=15/TERM
Sep 20 13:08:32 vyos dhclient[27826]: DHCPRELEASE of 184.163.33.156 on eth0 to 10.23.113.11 port 67
Sep 20 13:08:32 vyos dhclient-script-vyos[27827]: Current dhclient PID: 27826, Parent PID: 1, IP version: -4, All dhclients for interface eth0:                                                                      
Sep 20 13:08:32 vyos dhclient-script-vyos[27827]: Passing command to /usr/sbin/ip: "-4 addr flush dev eth0 label eth0"
Sep 20 13:08:32 vyos dhclient-script-vyos[27827]: Deleting search domains with tag "dhcp-eth0" via vyos-hostsd-client
Sep 20 13:08:33 vyos vyos-hostsd[636]: Request data: {"type": "search_domains", "op": "delete", "data": ["dhcp-eth0"]}
Sep 20 13:08:33 vyos dhclient-script-vyos[27827]: Deleting nameservers with tag "dhcp-eth0" via vyos-hostsd-client
Sep 20 13:08:33 vyos ntpd[2990]: Deleting interface #94 eth0, 184.163.33.156#123, interface stats: received=11, sent=29, dropped=0, active_time                                                                      =763 secs
Sep 20 13:08:33 vyos ntpd[2990]: Deleting interface #95 eth0, fe80::2a0:c9ff:fede:1d8%2#123, interface stats: received=0, sent=0, dropped=0, ac                                                                      tive_time=763 secs
Sep 20 13:08:33 vyos vyos-hostsd[636]: Request data: {"type": "name_servers", "op": "delete", "data": ["dhcp-eth0"]}
Sep 20 13:08:33 vyos dhclient-script-vyos[27827]: Deleting default route: via 184.163.33.1 dev eth0
Sep 20 13:08:33 vyos dhclient-script-vyos[27827]: Checking if the route presented in kernel: default via 184.163.33.1 dev eth0
Sep 20 13:08:33 vyos dhclient-script-vyos[27827]: Converted vtysh command: "no ip route 0.0.0.0/0 184.163.33.1 eth0 tag 210 210 "
Sep 20 13:08:33 vyos systemd[1]: dhclient@eth0.service: Succeeded.
Sep 20 13:08:33 vyos systemd[1]: Stopped DHCP client on eth0.
Sep 20 13:08:33 vyos systemd[1]: Starting DHCP client on eth0...
Sep 20 13:08:33 vyos systemd[1]: Started DHCP client on eth0.
Sep 20 13:08:33 vyos dhclient-script-vyos[27891]: Current dhclient PID: 27889, Parent PID: 27888, IP version: -4, All dhclients for interface e                                                                      th0: 27888 27889
Sep 20 13:08:34 vyos dhclient-script-vyos[27891]: Passing command to /usr/sbin/ip: "link set dev eth0 up"
Sep 20 13:08:34 vyos dhclient[27889]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 20 13:08:34 vyos dhclient[27889]: DHCPREQUEST for 184.163.33.156 on eth0 to 255.255.255.255 port 67
Sep 20 13:08:34 vyos dhclient-script-vyos[27935]: Current dhclient PID: 27889, Parent PID: 1, IP version: -4, All dhclients for interface eth0:                                                                       27889
Sep 20 13:08:34 vyos dhclient-script-vyos[27935]: Passing command to /usr/sbin/ip: "-4 addr add 184.163.33.156/255.255.255.0 broadcast 255.255.                                                                      255.255 valid_lft 133269 preferred_lft 133269 dev eth0 label eth0"
Sep 20 13:08:34 vyos dhclient-script-vyos[27935]: Checking if the route presented in kernel: default via 184.163.33.1 dev eth0
Sep 20 13:08:34 vyos dhclient-script-vyos[27935]: Converted vtysh command: "ip route 0.0.0.0/0 184.163.33.1 eth0 tag 210 210 "
Sep 20 13:08:34 vyos dhclient-script-vyos[27935]: Deleting nameservers with tag "dhcp-eth0" via vyos-hostsd-client
Sep 20 13:08:35 vyos vyos-hostsd[636]: Request data: {"type": "name_servers", "op": "delete", "data": ["dhcp-eth0"]}
Sep 20 13:08:35 vyos dhclient-script-vyos[27935]: Adding nameservers "24.48.19.13 24.202.72.13 24.53.0.2" with tag "dhcp-eth0" via vyos-hostsd-                                                                      client
Sep 20 13:08:35 vyos vyos-hostsd[636]: Request data: {"type": "name_servers", "op": "add", "data": {"dhcp-eth0": ["24.48.19.13", "24.202.72.13"                                                                      , "24.53.0.2"]}}
Sep 20 13:08:37 vyos ntpd[2990]: Listen normally on 96 eth0 184.163.33.156:123
Sep 20 13:08:37 vyos ntpd[2990]: Listen normally on 97 eth0 [fe80::2a0:c9ff:fede:1d8%2]:123

Hi @fegauthier , do you have dmesg output?
Can you confirm that switch or some devices connected to these router does not block ports?