Re: Help to use twin 1 gig lan ports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This one time, at band camp, Robin Mordasiewicz wrote:
> On Tue, 27 Sep 2005, Jim Christiansen wrote:
> 
> >I've just purchased a server board with two 1 gig lan ports.  I would like 
> >to set one up for inbound traffic and  the other for outbound traffic.  
> >Can this be done??
> >
> >If this isn't possible is there another way to use these two ports to 
> >enhance network through-put??
> 
> Your switch must support trunking of some sort. Most Cisco, or SMC

Its not trunking support that you need. Trunking is used for the spanning of VLAN information. Natively cisco switches will support the setup as described below. I have various setups using the bonding module, albeit that most of them are setup with mode=1 in modprobe.conf, which is the configuration for fail over rather than increased bandwidth. I also use the 8021q module with bonding to join multiple vlans

With the cisco switches (IOS and CATOS) it works whether the switchports are in access or trunk mode

> 
> you want to bond the interfaces.
> The files you need to edit are
> /etc/sysconfig/network-scripts/ifcfg-bond0
> /etc/sysconfig/network-scripts/ifcfg-eth0
> /etc/sysconfig/network-scripts/ifcfg-eth1
> /etc/modprobe.conf
> 
> [root@smtcorav02 ~ ]# cat /etc/sysconfig/network-scripts/ifcfg-bond0
> DEVICE=bond0
> ONBOOT=yes
> IPADDR=10.10.4.247
> BROADCAST=10.10.4.255
> NETMASK=255.255.255.0
> NETWORK=10.10.4.0
> GATEWAY=10.10.4.254
> BOOTPROTO=none
> USERCTL=no
> BONDING_SLAVE0="eth0"
> BONDING_SLAVE1="eth1"
> [root@smtcorav02 ~ ]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
> DEVICE=eth0
> BOOTPROTO=none
> ONBOOT=no
> TYPE=Ethernet
> MASTER=bond0
> SLAVE=yes
> USERCTL=no
> [root@smtcorav02 ~ ]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
> DEVICE=eth1
> BOOTPROTO=none
> ONBOOT=no
> TYPE=Ethernet
> MASTER=bond0
> SLAVE=yes
> USERCTL=no
> [root@smtcorav02 ~ ]# cat /etc/modprobe.conf
> alias bond0 bonding
> options bonding miimon=100 mode=balance-xor
> alias net-pf-10 off
> alias eth0 e1000
> alias eth1 e1000
> alias scsi_hostadapter megaraid_mbox
> alias usb-controller ehci-hcd
> alias usb-controller1 uhci-hcd
> 
> 

-- 
slr,

ISP Systems Specialist
Telkom Internet
#qmail-ldap @ irc.freenode.net

This message has been made from 100% recycled bits.

----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/MU/E d? s+:+ a- C++++>+++++ USL++++$ P++++ !E(---)W+@ !N
o?(--) K? !w(---) O- M+ V PS+@ PE Y-- PGP++>+++ !t(---) !5 !X
R-- !tv b(++) DI++ !D(----) G+++>++++ e++>* h----(*) r+++ y++++
-----END GEEK CODE BLOCK------

Attachment: pgpFjkojucF6S.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux