Re: dual Ethernet adapters?
If it is a really dumb switch you don't need a bond on the switch. In my experience most simple switches can move the mac address from one port to another so fast that without bonding setup it will act as round-robin on the switch end (if linux is setup round-robin). On the better managed switches it will detect the mac address existing on both ports and complain and/or disable a port. The high volume of complaining will cause the management processor to work hard. On newer software defined switches they will generally have issues trying to move the mac addresses around as on a virtual switch (many switches acting like one) that has to be done in software and won't be able to keep up. So put the linux machine in round-robin bonding mode, and connect to switch. Do some testing and see how much bandwidth you can get, if you exceed about 130Mbytes/sec on a dual gb link then it is probably working. You should be able to see the amount of data going over each interface with sar -n DEV (install sysstat) and google how to change it sampling rate down to 1minute. Note with nfs and/or disk access being involved you may not be able to sustain anywhere close to that rate. When I have tested my gbit setup I almost never get anywhere close to the rate even when I am trying, so it might be best to install sar and see if you are getting anywhere close to 1gbit now. If you have a switch that supports lacp/802 something then setup both sides of the bond to lacp/802* with layer3+4 routing on the linux end. On Wed, May 6, 2020 at 5:48 PM ToddAndMargo via users wrote: > > On 2020-05-06 15:11, Tom Horsley wrote: > > On Wed, 6 May 2020 15:02:08 -0700 > > ToddAndMargo via users wrote: > > > >> Not to ask too silly a question, but what happens when > >> you have dual Ethernet adapters and you hook both of > >> them to your (switching) hub? > > > > Mostly you need something that supports "bonding" to > > go faster. As near as I can tell, 99.9% of all traffic > > always goes through one ethernet if they are both configured > > on the same subnet. > > Would I have to bond at both the Lixux side and > the switching hub side? > ___ > users mailing list -- users@lists.fedoraproject.org > To unsubscribe send an email to users-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: dual Ethernet adapters?
From: "ToddAndMargo via users" mailto:users@lists.fedoraproject.org>> Date: Thursday, 7 May 2020 at 00:03:05 To: "Community support for Fedora users" mailto:users@lists.fedoraproject.org>> Cc: "ToddAndMargo" mailto:toddandma...@zoho.com>> Subject: dual Ethernet adapters? Hi All, Not to ask too silly a question, but what happens when you have dual Ethernet adapters and you hook both of them to your (switching) hub? You go twice as fast? Very seldom. You might try bonding, but remember about “the weakest link in the chain”. Dual adapters are very helpfull when dealing with multiple segments, or multiple internet providers. Many thanks, -T Tony Ewell, B.S.E.E. Owner, Rent-A-Nerd Computer Services 775-265-5150, 9:00 am to 5:00 pm PST/PDT -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~ ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten. This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The State accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: dual Ethernet adapters?
On 5/6/20 8:13 PM, ToddAndMargo via users wrote: On 2020-05-06 15:55, Samuel Sieb wrote: Would I have to bond at both the Lixux side and the switching hub side? Yes, the switch has to understand the bonding or you can get very interesting results. And I presume the hub have to be twice as fast as your Ethernet cards to take advantage of it. Most switches advertise that they can handle full duplex on all ports at once, so it's not the switch bandwidth that's the problem. It's whatever you're connecting to. If you try to download from another computer with only one network card, that's all you'll get. This is more for servers where there are multiple clients trying to get data at the same time or for a computer that is downloading from multiple locations at once on the local network. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: dual Ethernet adapters?
On 2020-05-06 15:58, Samuel Sieb wrote: On 5/6/20 3:44 PM, ToddAndMargo via users wrote: By the way, both are hubs. "switch" is a short name for a type of hub. I suppose that's correct, but it's terminology that's not used now. If you say "hub" to someone that's too young to have actually used one, they most likely won't know what you're talking about. They're just switches now. True. That is why I put "switch" in there somewhere so they can figure out what I am talking about. With my customers I always use the word "hub" as that they understand. To them "switch" is what they turn their lights on and off with. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: dual Ethernet adapters?
On 2020-05-06 15:55, Samuel Sieb wrote: Would I have to bond at both the Lixux side and the switching hub side? Yes, the switch has to understand the bonding or you can get very interesting results. And I presume the hub have to be twice as fast as your Ethernet cards to take advantage of it. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: dual Ethernet adapters?
On 5/6/20 3:44 PM, ToddAndMargo via users wrote: By the way, both are hubs. "switch" is a short name for a type of hub. I suppose that's correct, but it's terminology that's not used now. If you say "hub" to someone that's too young to have actually used one, they most likely won't know what you're talking about. They're just switches now. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: dual Ethernet adapters?
On 5/6/20 3:45 PM, ToddAndMargo via users wrote: On 2020-05-06 15:11, Tom Horsley wrote: On Wed, 6 May 2020 15:02:08 -0700 ToddAndMargo via users wrote: Not to ask too silly a question, but what happens when you have dual Ethernet adapters and you hook both of them to your (switching) hub? Mostly you need something that supports "bonding" to go faster. As near as I can tell, 99.9% of all traffic always goes through one ethernet if they are both configured on the same subnet. Would I have to bond at both the Lixux side and the switching hub side? Yes, the switch has to understand the bonding or you can get very interesting results. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: dual Ethernet adapters?
On Wed, 6 May 2020 15:45:39 -0700 ToddAndMargo via users wrote: > Would I have to bond at both the Lixux side and > the switching hub side? I assume so, I've never used it. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: dual Ethernet adapters?
On 2020-05-06 15:14, Samuel Sieb wrote: On 5/6/20 3:02 PM, ToddAndMargo via users wrote: Not to ask too silly a question, but what happens when you have dual Ethernet adapters and you hook both of them to your (switching) hub? You go twice as fast? Only if you have a smart switch that does bonding or trunking. Then you can configure a bonded interface across both and it will load balance. Otherwise, you will get a different IP address on each one and one of them will be the default and the other won't be used. Hi Sam, Perfect explanation. Thank you -T ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: dual Ethernet adapters?
On 2020-05-06 15:11, Tom Horsley wrote: On Wed, 6 May 2020 15:02:08 -0700 ToddAndMargo via users wrote: Not to ask too silly a question, but what happens when you have dual Ethernet adapters and you hook both of them to your (switching) hub? Mostly you need something that supports "bonding" to go faster. As near as I can tell, 99.9% of all traffic always goes through one ethernet if they are both configured on the same subnet. Would I have to bond at both the Lixux side and the switching hub side? ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: dual Ethernet adapters?
On 2020-05-06 15:15, Digimer wrote: On 2020-05-06 6:02 p.m., ToddAndMargo via users wrote: Hi All, Not to ask too silly a question, but what happens when you have dual Ethernet adapters and you hook both of them to your (switching) hub? You go twice as fast? Many thanks, Yes and no... There's seven bonding modes, six of which aggregate bandwidth in various ways (one, mode=1, is focused on reliability). So with those, you'll double your bandwidth. Of course, this is bandwidth to the switch (point of order, "hub" is an old style that shares bandwidth to all ports, modern switches are per port). If you've got data coming/going from more that one source, you'll potentially benefit, but between two machines, you'll need the other machine to also have enough bandwidth as connections always go at the slowest link. Thank you. Good explanation. By the way, both are hubs. "switch" is a short name for a type of hub. https://en.wikipedia.org/wiki/Network_switch A network switch (also called switching hub, bridging hub, officially MAC bridge)[1] is networking hardware that connects devices on a computer network by using packet switching to receive and forward data to the destination device. I use the word "hub" because it is proper English: https://www.merriam-webster.com/dictionary/hub 1 : the central part of a circular object (such as a wheel or propeller) spokes attached to the hub of the wheel 2a : a center of activity : focal point The island is a major tourist hub. b : an airport or city through which an airline routes most of its traffic c : a central device that connects multiple computers on a single network (see network entry 1 sense 3b) And since not everyone know the difference, I put "Switching" in parenthesis. "Level 3" would also be short for "level 3 switching hub" -T ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: dual Ethernet adapters?
On 2020-05-06 6:02 p.m., ToddAndMargo via users wrote: > Hi All, > > Not to ask too silly a question, but what happens when > you have dual Ethernet adapters and you hook both of > them to your (switching) hub? > > You go twice as fast? > > Many thanks, Yes and no... There's seven bonding modes, six of which aggregate bandwidth in various ways (one, mode=1, is focused on reliability). So with those, you'll double your bandwidth. Of course, this is bandwidth to the switch (point of order, "hub" is an old style that shares bandwidth to all ports, modern switches are per port). If you've got data coming/going from more that one source, you'll potentially benefit, but between two machines, you'll need the other machine to also have enough bandwidth as connections always go at the slowest link. -- Digimer Papers and Projects: https://alteeve.com/w/ "I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops." - Stephen Jay Gould ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: dual Ethernet adapters?
On 5/6/20 3:02 PM, ToddAndMargo via users wrote: Not to ask too silly a question, but what happens when you have dual Ethernet adapters and you hook both of them to your (switching) hub? You go twice as fast? Only if you have a smart switch that does bonding or trunking. Then you can configure a bonded interface across both and it will load balance. Otherwise, you will get a different IP address on each one and one of them will be the default and the other won't be used. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: dual Ethernet adapters?
On Wed, 6 May 2020 15:02:08 -0700 ToddAndMargo via users wrote: > Not to ask too silly a question, but what happens when > you have dual Ethernet adapters and you hook both of > them to your (switching) hub? Mostly you need something that supports "bonding" to go faster. As near as I can tell, 99.9% of all traffic always goes through one ethernet if they are both configured on the same subnet. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org