Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - pstretch

#1
I've been investigating an issue on OPNsense 26.7 where the WAN interface obtains a DHCP lease successfully and the associated gateway appears online, but the firewall does not install an IPv4 default route after boot.

Symptoms
  • WAN interface is configured via DHCP.
  • DHCP lease is acquired successfully.
  • Gateway status shows the WAN gateway as online.
  • No IPv4 default route exists in the routing table after startup.
  • As a result, outbound Internet connectivity does not work.
  • Gateway monitoring continues to report the gateway as online despite the missing default route.

Diagnosis

Immediately after boot:

  • WAN interface has a valid DHCP address.
  • Gateway object exists and is reported as online.
  • Routing table does not contain a default IPv4 route (0.0.0.0/0).

Running the following command manually restores normal operation:
configctl interface routes configure

After executing the command:

  • The default IPv4 route is installed.
  • Internet connectivity is restored immediately.
  • No further intervention is required until the next reboot.

#After reboot
netstat -rn4 | grep default
# no output

# Fix
configctl interface routes configure
 
# Afterwards
netstat -rn4 | grep default
default 83.217.167.129 UGS igb0


Has anyone seen a similar problem or have any further information, please?

#2
21.1 Legacy Series / Re: Errors after boot
February 12, 2021, 10:33:02 AM
Quote from: d3pr3cat3d on February 12, 2021, 03:15:49 AM
Is the network interface for re0 working?
The device seems to be mostly working okay, but crashes intermittently with similar errors. Enabling IDS triggers the same errors.

Quote from: d3pr3cat3d on February 12, 2021, 03:15:49 AM
If not, I am curious what version is your driver?
I've checked the logs and found:
re0: version:1.96.04
re1: version:1.96.04

Quote from: d3pr3cat3d on February 12, 2021, 03:15:49 AM
Run and post the output of:
# strings /boot/kernel/if_re.ko
Output from strings /boot/kernel/if_re.ko is https://pastebin.com/iEyGTWk3

The cards are being identified by FreeBDS as:
vendor     = 'Realtek Semiconductor Co., Ltd.'
device     = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
#3
21.1 Legacy Series / Errors after boot
February 12, 2021, 12:54:29 AM

OPNsense 21.1.1-amd64. Realtek NICs.

I'm consistently seeing the errors below at boot right after the login prompt appears:

eastpect[6925]   nm1::re0^: permanently promiscuous mode enabled
kernel   648.759502 [ 320] generic_netmap_register   Emulated adapter for re0 activated
eastpect[6925]   nm0::re0: permanently promiscuous mode enabled
kernel   648.671895 [1130] generic_netmap_attach     Emulated adapter for re0 created (prev was NULL)
kernel   re0: permanently promiscuous mode enabled
kernel   648.659279 [1035] generic_netmap_dtor       Emulated netmap adapter for re0 destroyed
kernel   648.659253 [1130] generic_netmap_attach     Emulated adapter for re0 created (prev was NULL)

Can anyone give my any pointers for a fix please?