pfSense Gold Subscription

Author Topic: The link state of an interface (bridge member) goes up/down continuously  (Read 19312 times)

0 Members and 1 Guest are viewing this topic.

Offline chpalmer

  • Hero Member
  • *****
  • Posts: 1786
  • Karma: +93/-3
    • View Profile
    • Home of Cablenut
Re: The link state of an interface (bridge member) goes up/down continuously
« Reply #30 on: November 07, 2013, 07:17:54 pm »

I added the 4 highlighted lines to my existing file.

Otherwise you could chance it and gitsync...

P.S. statements made by me are not necessarily condoned by the management of this fine organization.  http://badmodems.com

Offline mattlach

  • Full Member
  • ***
  • Posts: 168
  • Karma: +9/-0
    • View Profile
Re: The link state of an interface (bridge member) goes up/down continuously
« Reply #31 on: November 07, 2013, 07:21:04 pm »
Please pardon my ignorance, but how do I apply this fix?

Do I just replace my existing /etc/rc.newwanip with this file?

So, I just tried doing this, rebooted the pfSense box, but my devices keep going up and down.

My configuration is an AMD E350 board with two Intel Pro/1000 dual NIC's and the on board Realtek 8111C junk.

Any thoughts?

So, making these changes to /etc/rc.newwanip did not fix the problem on it's own, but then I decided to try to just disable the onboard ethernet (Realtek 8111C) and that actually did the trick.  They are no longer cycling for me.

I left the Realtek interface on just as an extra port in case I ever needed it, not something to rely on, as I know they are garbage, but I hadn't considered that it could interfere with the proper working of my good NIC's

Thanks for the help folks.

Offline stephenw10

  • Administrator
  • Hero Member
  • *****
  • Posts: 11959
  • Karma: +469/-15
    • View Profile
Re: The link state of an interface (bridge member) goes up/down continuously
« Reply #32 on: November 07, 2013, 08:28:31 pm »
Just for reference using the system patches package takes away the possibility of typo errors. You just enter the commit number and everything is done for you.

Steve

Offline ceama

  • Newbie
  • *
  • Posts: 7
  • Karma: +5/-0
    • View Profile
Re: The link state of an interface (bridge member) goes up/down continuously
« Reply #33 on: December 21, 2013, 10:57:55 pm »
Thought I'd report back that this worked for me too.
I have another bridge of fxp(4) NICs that didn't have that problem so as you say it's not all NICs that are affected.

First chance I've had to try the System Patches package. Nice.  :)

Steve
I have an issue that has almost the same symptoms with Sun hardware part 501-5406-07.  I know there has to be hundreds of units out there with this hardware in them.  I have personally built about 25 units with this quad fast Ethernet card.  I tried to submit it to Redmine but it was rejected.  I can fix it myself but I was wondering if it should be fixed in the pfSense code or in the hme driver.  Also, being new at reporting bugs, I am curious if I should try to contact the author of the driver if Redmine rejects it?  It is a real bug in my opinion.  I am a little surprised I haven't heard any one else complaining.  Here is the Redmine issue with the reject by Chris Buechler. https://redmine.pfsense.org/issues/3373
It defines the issue.

Offline stephenw10

  • Administrator
  • Hero Member
  • *****
  • Posts: 11959
  • Karma: +469/-15
    • View Profile
Re: The link state of an interface (bridge member) goes up/down continuously
« Reply #34 on: December 22, 2013, 06:48:43 am »
Sounds exactly like this thread: http://forum.pfsense.org/index.php/topic,69125.15.html
Unfortunately that wasn't really resolved usefully in my opinion.

Steve

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21488
  • Karma: +1456/-26
    • View Profile
Re: The link state of an interface (bridge member) goes up/down continuously
« Reply #35 on: December 23, 2013, 10:11:44 am »
If you are using the system patches package make sure that not only you get patch  58ee84b4b2f9daba87e44abf663026c6266a7cd8 but also 793299b8f5bdc0fd167093cc5ab9f3f30f0d77ac

Both could be relevant to similar issues, but it would still only apply for interfaces that were set to an IP type of "none" (typically bridged interfaces)
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline jdp0418

  • Jr. Member
  • **
  • Posts: 66
  • Karma: +3/-0
    • View Profile
Re: The link state of an interface (bridge member) goes up/down continuously
« Reply #36 on: December 30, 2013, 12:33:34 pm »
I would like to chime in and also confirm this fix worked for me. 

I am using a Soekris Net6501-50 with the Intel 82574L 4 port Gigabit Ethernet card.  I experienced the same issue with an interface configured into a bridge group bouncing continuously when connecting a device and establishing link.  This patch worked for me. 

I applied it using the System Patch package.  For anyone who is unfamiliar with it, it's pretty easy.  Install the "System Patch" package, and then under the Patches screen, add the link from jimp.  Fetch the patch, test it (making sure it doesn't have any issues applying), and then apply the patch.  It seemed to work without rebooting, but I did anyway just for good measure.

Thanks for those who contributed to this thread and thanks to jimp for the fix!
« Last Edit: December 30, 2013, 12:41:01 pm by jdp0418 »

Offline webroy

  • Jr. Member
  • **
  • Posts: 58
  • Karma: +0/-0
    • View Profile
Re: The link state of an interface (bridge member) goes up/down continuously
« Reply #37 on: January 14, 2014, 05:36:28 am »
I have a bridged setting (WAN - DMZ) on a asus server rs300-e7 with 4 NIC. i have done this patch https://github.com/pfsense/pfsense/commit/f3a4601c85c4de78caa4f12fefd64067fd83dbe8

unfortunatly i still recieve a lot of time outs on every server behind the DMZ.

the first rule in the WAN is Allow ICMP from all to all. Are there any options which i can test?

p.s. it looks like the more data is beeing processed by pfsense the more time outs it gets.... all loggings are out on the rules. pftop is showing ok status

Offline webroy

  • Jr. Member
  • **
  • Posts: 58
  • Karma: +0/-0
    • View Profile
Re: The link state of an interface (bridge member) goes up/down continuously
« Reply #38 on: January 14, 2014, 05:49:24 am »
i am almost certain that if there are more connections through the pfsense firewall the more time outs we get, the server hardware is 3 years old with 32GB of ram... states counts is now 6125 and a recieve some pings traffic in is 1MB traffic out is 3MB ..

Offline stephenw10

  • Administrator
  • Hero Member
  • *****
  • Posts: 11959
  • Karma: +469/-15
    • View Profile
Re: The link state of an interface (bridge member) goes up/down continuously
« Reply #39 on: January 14, 2014, 05:52:58 am »
Where are yoy seeing these 'timeouts'?

Steve

Offline webroy

  • Jr. Member
  • **
  • Posts: 58
  • Karma: +0/-0
    • View Profile
Re: The link state of an interface (bridge member) goes up/down continuously
« Reply #40 on: January 14, 2014, 06:43:25 am »
when i ping to servers behind the pfsense firewall. ( i have now 2 servers behind that)

the pfsense box itselfs does not give time out, when i ping to other servers (not behind the pfsense ) no time out occurs.

I have also got a server, when i put this behind the pfsense firewall ping time outs occurrs , and when i put it back behind the sonicwall firewall no ping time out occurs

Like i said, the more traffic over the pfsense the more time out occurs.... the hardware should not be a problem:

24GB memory Intel Xeon 3470 Raid 4x 1TB raid 10

When ping time outs also apache etc is connecting
« Last Edit: January 14, 2014, 06:49:42 am by webroy »

Offline stephenw10

  • Administrator
  • Hero Member
  • *****
  • Posts: 11959
  • Karma: +469/-15
    • View Profile
Re: The link state of an interface (bridge member) goes up/down continuously
« Reply #41 on: January 14, 2014, 08:51:23 am »
That doesn't sound like the interface flapping problem described in this thread. Are you seeing the interface going up and down in the logs?

Steve

Offline webroy

  • Jr. Member
  • **
  • Posts: 58
  • Karma: +0/-0
    • View Profile
Re: The link state of an interface (bridge member) goes up/down continuously
« Reply #42 on: January 14, 2014, 09:04:25 am »
I had that until i did:

https://github.com/pfsense/pfsense/commit/f3a4601c85c4de78caa4f12fefd64067fd83dbe8

now i dont have that anymore but still the ping time outs when more traffic comes over the firewall

Offline webroy

  • Jr. Member
  • **
  • Posts: 58
  • Karma: +0/-0
    • View Profile
Re: The link state of an interface (bridge member) goes up/down continuously
« Reply #43 on: January 14, 2014, 09:14:24 am »
The lan cards in the asus server are Intel® 82574L known issues with that type of LAN?

Offline stephenw10

  • Administrator
  • Hero Member
  • *****
  • Posts: 11959
  • Karma: +469/-15
    • View Profile
Re: The link state of an interface (bridge member) goes up/down continuously
« Reply #44 on: January 14, 2014, 12:47:22 pm »
No the 82574L is well tested and widely used.

I think this is probably unrelated to the bridge issue, maybe start a new thread.

Interestingly I see that JimP has actually posted three patches for this issue:

Initially:
https://github.com/pfsense/pfsense/commit/f3a4601c85c4de78caa4f12fefd64067fd83dbe8

and then:
https://github.com/pfsense/pfsense/commit/58ee84b4b2f9daba87e44abf663026c6266a7cd8
and
https://github.com/pfsense/pfsense/commit/793299b8f5bdc0fd167093cc5ab9f3f30f0d77ac

Have you done this?:
https://doc.pfsense.org/index.php/Tuning_and_Troubleshooting_Network_Cards#Intel_igb.284.29_and_em.284.29_Cards

Steve