LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   centos connect to two switches (https://www.linuxquestions.org/questions/linux-networking-3/centos-connect-to-two-switches-4175497825/)

donglee 03-11-2014 11:22 AM

centos connect to two switches
 
Hi, everybody! Can you help me? My operating system is centos 6.4, and I want it to conmmunicate with two CISCO WS-C2960S-24TS-L switches. The ports of the CISCO switches are in trunk mode. I want to know how to configure centos?

custangro 03-11-2014 11:29 AM

This is a good doc

http://www.how2centos.com/centos-6-channel-bonding/

TenTenths 03-12-2014 04:31 AM

and here's another:

http://www.howtoforge.com/network_card_bonding_centos

nikmit 03-12-2014 10:08 AM

Assuming your switches are stacked, you should be able to bond the interfaces on the Linux side and configure etherchannels at the switch side. This will provide you a single, loadbalanced and resilient link incorporating the two interfaces.

If what you are after is having two separate links and your question is about trunking multiple VLANs over those links (as you would with a XEN host) then all your config will be in /etc/network/interfaces, configuring subinterfaces for every VLAN required.


All times are GMT -5. The time now is 08:28 PM.