I have a new router with freebsd 14.0-RELEASE with
(re1 is a pci-e card, which I thought make a problem, but the same problem is with another card)
for some reason, at least once a week, his dhcpd stops working, that is, it does not issue addresses. Moreover, restarting dhcpd does not help, and restarting netif hangs ssh and it’s impossible to connect back. Only reboot helps
I found this in the logs
I tried to use in /boot/loader.conf
What can be wrong?
Code:
re0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
options=60241b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,LRO,WOL_MAGIC,RXCSUM_IPV6,TXCSUM_IPV6>
ether 78:98:e8:c1:f8:a1
inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=60251b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,LRO,WOL_MAGIC,RXCSUM_IPV6,TXCSUM_IPV6>
ether 50:91:e3:c9:08:b2
media: Ethernet autoselect
status: no carrier
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
re2: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
options=60251b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,LRO,WOL_MAGIC,RXCSUM_IPV6,TXCSUM_IPV6>
ether 74:56:3c:e3:47:ca
inet X.X.X.X netmask 0xffffff00 broadcast X.X.X.X
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
(re1 is a pci-e card, which I thought make a problem, but the same problem is with another card)
for some reason, at least once a week, his dhcpd stops working, that is, it does not issue addresses. Moreover, restarting dhcpd does not help, and restarting netif hangs ssh and it’s impossible to connect back. Only reboot helps
I found this in the logs
Code:
Feb 23 02:38:40 alperin dhcpd[1012]: send_packet: Host is down
Feb 23 02:38:40 alperin dhcpd[1012]: dhcp.c:4131: Failed to send 300 byte long packet over fallback interface.
Feb 23 02:38:41 alperin dhcpd[1012]: send_packet: Host is down
Feb 23 02:38:41 alperin dhcpd[1012]: dhcp.c:4131: Failed to send 300 byte long packet over fallback interface.
Feb 23 02:38:43 alperin dhcpd[1012]: send_packet: Host is down
Feb 23 02:38:43 alperin dhcpd[1012]: dhcp.c:4131: Failed to send 300 byte long packet over fallback interface.
Feb 23 02:38:47 alperin dhcpd[1012]: send_packet: Host is down
Feb 23 02:38:47 alperin dhcpd[1012]: dhcp.c:4131: Failed to send 300 byte long packet over fallback interface.
Feb 23 02:38:56 alperin dhcpd[1012]: send_packet: Host is down
Feb 23 02:38:56 alperin dhcpd[1012]: dhcp.c:4131: Failed to send 300 byte long packet over fallback interface.
Feb 23 02:39:13 alperin dhcpd[1012]: send_packet: Host is down
Feb 23 02:39:13 alperin dhcpd[1012]: dhcp.c:4131: Failed to send 300 byte long packet over fallback interface.
Feb 23 02:39:46 alperin dhcpd[1012]: send_packet: Host is down
Feb 23 02:39:46 alperin dhcpd[1012]: dhcp.c:4131: Failed to send 300 byte long packet over fallback interface.
Feb 23 02:40:53 alperin dhcpd[1012]: send_packet: Host is down
Feb 23 02:40:53 alperin dhcpd[1012]: dhcp.c:4131: Failed to send 300 byte long packet over fallback interface.
I tried to use in /boot/loader.conf
Code:
if_re_load="YES"
if_re_name="/boot/modules/if_re.ko"
hw.re.max_rx_mbuf_sz="2048"
What can be wrong?