Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
[SOLVED] Interfaces always UP even if cable are unplugged
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Interfaces always UP even if cable are unplugged (Read 6476 times)
farsoft
Newbie
Posts: 13
Karma: 0
[SOLVED] Interfaces always UP even if cable are unplugged
«
on:
September 06, 2016, 05:00:06 pm »
Hello everybody.
This is my first post.
I’ve bought two Deciso OPNsense A10 Dual Core SSD appliances in order to set up a HA cluster.
Everything seemed to work correctly but when I’ve started to do some failover tests, I’ve noticed that when I shut down the interfaces on the switches side or even if I unplug the network cables from any of the OPNsense interfaces, the status remains “active”.
If I disable / enable OPNsense interfaces from the GUI, then the status changes to “no carrier”. If I plug the cables, the interfaces go UP but if I unplugged again, the interfaces remain “active”.
I've got same behaviour in both appliances.
For instance, now the cable at em0 interface is unplugged but here is the status of the interface:
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO>
ether f4:90:ea:10:17:a8
inet6 fe80::f690:eaff:fe10:17a8%em0 prefixlen 64 scopeid 0x1
inet 172.31.167.85 netmask 0xffffff00 broadcast 172.31.167.255
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: Ethernet 1000baseT (1000baseT <full-duplex>)
status: active
My OPNsense version is 16.7.3-amd64.
I’ve searched at the forum and googled also but I haven’t found any similar problem.
Have you got any idea, please?
Thank you very much.
Regards.
farsoft
«
Last Edit: September 07, 2016, 08:56:14 am by farsoft
»
Logged
AdSchellevis
Administrator
Hero Member
Posts: 907
Karma: 184
Re: Interfaces always UP even if cable are unplugged
«
Reply #1 on:
September 06, 2016, 08:29:35 pm »
Hi farsoft,
It's a bug in FreeBSD's intel driver, which is a modified version of the original from intel unfortunately.
We very recently discovered this one, after we already spend quite some time searching for another issue with the same driver which made IPS unusable.
There is however a very simple fix, you can install the intel original driver using ports and disable the FreeBSD default one.
Code:
[Select]
pkg install intel-em-kmod
Then add the following to your /boot/loader.conf:
Code:
[Select]
if_em_updated_load="YES"
Next reboot and all should be fine again.
We probably will add some gui code to handle this easily in a later version,
Best regards,
Ad
Logged
farsoft
Newbie
Posts: 13
Karma: 0
Re: Interfaces always UP even if cable are unplugged
«
Reply #2 on:
September 06, 2016, 09:26:20 pm »
Hi Ad,
Thank you very much for your answer.
I will install the original Intel driver tomorrow morning.
I will keep you informed.
Best regards,
farsoft
Logged
farsoft
Newbie
Posts: 13
Karma: 0
Re: Interfaces always UP even if cable are unplugged
«
Reply #3 on:
September 07, 2016, 08:55:39 am »
Hi again Ad,
I confirm that everything works fine with Intel's original driver.
Thank you very much!
Best regards,
farsoft
Logged
AdSchellevis
Administrator
Hero Member
Posts: 907
Karma: 184
Re: [SOLVED] Interfaces always UP even if cable are unplugged
«
Reply #4 on:
September 07, 2016, 07:54:12 pm »
Hi farsoft,
Thanks for reporting back!
Best regards,
Ad
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: [SOLVED] Interfaces always UP even if cable are unplugged
«
Reply #5 on:
September 18, 2016, 11:46:14 pm »
A plugin named "os-intel-em" will be available with 16.7.4 onward.
We are currently debating if we should make it the default for 17.1. Opinions welcome.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
[SOLVED] Interfaces always UP even if cable are unplugged