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 - flowerpower

#1
Hi to all,
I'm using OPNsense 21.7.8-amd64
I have 2 different interfaces on my opnsense server: LAN (10.0.0.10/16) and WIFI (192.168.1.1./16)
At the moment I have setted on System -> Settings --> General  2 DNS servers: 10.0.1.10 and 10.0.0.18 (Windows DC servers)
All works fine for LAN interface, so for example if I ping from the LAN test.mydomain.org it's returned 10.0.1.19
but if I ping the same hostname from the wifi the ping return to me the external IP address of my internet provider.
Why?
And how can I set different DNS servers for different interfaces/networks?

Thank you in advance!
#2
I have edited loader.conf.local not overwritten by the system. But yes I will use the opnsense UI. Thanks!
#3
Finally I have solved the problem!!

I have put inside /boot/loader.conf.local  (if not exists you need to create this file) the following lines:

if_bnxt_load="YES"
dev.bnxt.0.iflib.override_nrxqs="8"
dev.bnxt.0.iflib.override_ntxqs="8"
dev.bnxt.1.iflib.override_nrxqs="8"
dev.bnxt.1.iflib.override_ntxqs="8"


Like reported on this FreeBSD bugzilla thread:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245981
It's a bug with FreeBSD 12.1 (hardenedBSD of opnsense 21.7 is based on this FreeBSD version) and the Broadcom NetXtreme-E DELL firmware (installed on my PowerEdge R340)

The number of queue size is derived from the number of cores on socket connected to the controller, like described here: https://nxmnpg.lemoda.net/4/bnxt


I hope this  can help someone
#4
Hi,
I have created a file /boot/loader.conf.local with this row inside:
if_bnxt_load="YES"

than I have rebooted the server and in the attached image you can see what I see with the command
kldstat -v

but the OS doesn't recognize the network cards. I can use the 10G networks cards only if I unload and reload the driver... really strange
#5
Hi, thanks for the answer.
I noticed that if I unload and reload the driver the OS recognize the network cards:


kldunload if_bnxt.ko
kldload if_bnxt.ko


But if I reboot the server the problem happens again...
I have attached an image with red circled the 10g network cards recognized by the OS after the unload and reload the driver

What can I do for resolve?
#6
"ifconfig -a" result in the attached image
#7
Hi to all,
I have a DELL PowerEdge R340 with 4 network cards:
2 x Embedded Gigabit Network cards
2x BCM57416 NetXtreme-E Dual-Media 10G RDMA Ethernet Controller
OPNsense 21.7 installed (hardenedbsd 12.1)

Problem: OPNsense not recognize the BCM57416 10G networks cards
The OS found the hardware interfaces like in the image attached but seems that not has the driver for these cards.

Instead pfSense 2.5.2 (freebsd 12.2) found correctly these cards.

Why OPNSense doesn't recognize these cards? I can solve this problem?

Thanks in advance to those who will help me