OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Mellanox ConnectX-2 and up
« previous next »
  • Print
Pages: [1]

Author Topic: Mellanox ConnectX-2 and up  (Read 4295 times)

chrisrc

  • Newbie
  • *
  • Posts: 1
  • Karma: 1
    • View Profile
Mellanox ConnectX-2 and up
« on: January 20, 2021, 07:08:40 pm »
Hey,

I'm new to OPNSense as I just set it up to replace PFS last night. So far so good.

However, I used a 3rd party doc to enable a card I already had in the machine. It's wrong, and I figured out why. https://www.routerperformance.net/opnsense/mellanox-connecx-management-in-opnsense/

It tells you to load the driver by editing /boot/loader.conf via CLI. As those with experience know, this works for one reboot and then gets wiped. The best way to do it to ensure it stays is use the GUI. It also says the earliest card that can be used is a ConnectX-3. That's not true. The earliest is a ConnectX-2 as per my testing and current usage. To install....

  -System>Settings>Tunables and click "+ADD" on top right.
  -In the "Tunable" field enter mlx4en_load, in "Description" write whatever you want, and in Value put in YES
  -Save, go to top and click "Apply Changes", bounce, and you should now see your Mellanox ConnectX-2 and up card

Thanks!
Logged

TheAutomationGuy

  • Newbie
  • *
  • Posts: 23
  • Karma: 0
    • View Profile
Re: Mellanox ConnectX-2 and up
« Reply #1 on: April 13, 2023, 03:03:17 pm »
I just wanted to say thank you for posting this information.  I just installed one of these cards in my OPNsense device and it saved me a lot of headaches!
Logged
Just a hobbyist trying to figure all this out.

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Mellanox ConnectX-2 and up
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2