LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-25-2019, 09:16 AM   #1
tpandre2718
LQ Newbie
 
Registered: Jul 2019
Location: San Francisco Bay Area
Distribution: CentOS
Posts: 2

Rep: Reputation: Disabled
Keeping ethernet carrier up during reboot


The embedded network device I am working on will reboot after upgrade. The reboot takes about 10 seconds, but because the interface carrier goes down it engages STP at the switch which can make the reboot feel like its taking as long as a minute which many of our customers find objectionable.

I know that the switch can be configured "portfast" to circumvent this and really is the preferred solution, but we increasingly find that our customers do not have trained IT on staff for this function. Instead they use consultants that charge on a case basis. Or their IT staff is too busy to handle the request. Our device does not perform bridging so STP is not useful anyway.

The hardware is exclusively Intel x86_64 and we use only standard Intel ethernet chipsets (igb and e1000e, 10Gb is coming soon).

So my question is: can carrier be left "up" during a reboot? We use 'kexec' to load the new software directly so we're not going through the BIOS. I don't care about packet loss during this time (it's happening for the duration of STP anyway) and certainly don't want to leave the DMA controller enabled.

Is there a patch available that can do this? We are using CentOS-7.
 
Old 07-25-2019, 04:13 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Hello and welcome to LQ.

Kind of doubt it in your case but you'd have to study this nic onboard more. Even higher end server nic's could drop for a while. Why that switch is so fast may be under rapid stp.

Guess the simple solution might be to place a hub/switch between them??
 
Old 07-25-2019, 04:33 PM   #3
tpandre2718
LQ Newbie
 
Registered: Jul 2019
Location: San Francisco Bay Area
Distribution: CentOS
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
Hello and welcome to LQ.

Kind of doubt it in your case but you'd have to study this nic onboard more. Even higher end server nic's could drop for a while. Why that switch is so fast may be under rapid stp.

Guess the simple solution might be to place a hub/switch between them??
Thanks, we've done the dumb hub in one or two extreme cases which does solve the problem, but it is not a generic solution for us. We'd have to ship the hub and assume maintenance for it as well, so it's a no-go.
 
Old 07-25-2019, 09:48 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Others here may have some ideas and might chime in.

Does this need to be rebooted? How many times do you have to upgrade this stuff? I was trying to recall the cisco class way back and I'd think there is some way to ignore all that but changing and saving all those switch runs may be a lot of effort.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Detecting the carrier during boot time. stf92 Slackware 2 07-11-2017 09:33 PM
Keeping multiple desktops after reboot Martin Rinehart Linux - Newbie 2 06-26-2006 09:48 AM
No Carrier Detected when Check Carrier = no jojotx0 Linux - Software 2 06-02-2006 10:52 AM
keeping the firewall off during reboot sborden Linux - Security 2 08-19-2004 07:58 PM
keeping rwin & other settings after reboot lmix Linux - Newbie 1 10-22-2003 06:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration