Skip to contentSkip to conversation

etherchannel/port group/bonding plus vlan works well

LARTC [email protected] 2 participants 2 messages Jun 3, 2003 – Jun 4, 2003

lore
Share & tools
lore
#0 lore raw

I figured I should post this because before I went to do it I searched the web for caveats etc and didn't really find much. So anyway, I set up bonding + vlan for a project. Computer is dell powerdge 350 with 2 intel 82559 10/100 nic running stock 2.4.20. I tried both the eepro100
and the e100 drivers for the nics, both work 802.1q and bonding are modules.
Switch is cisco 2924xl-en running ios 12.0(5)XU.

here is the bare bones of the script to bring things up on the computer (assumes nic drivers are loaded already)

modprobe bonding
ip link set bond0 up
ip link set eth0 up
ip link set eth1 up
ifenslave bond0 eth0
ifenslave bond0 eth1
modprobe 8021q
vconfig add bond0 5
ip link set bond0.5 up
ip address add 10.0.5.1/24 dev bond0.5
vconfig add bond0 10
ip address add 10.0.10.1/24 dev bond0.10
ip link set bond0.10 up

ANd here is the bare bones of the config for the switch

interface FastEthernet0/1
port group 1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/2
port group 1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/5
switchport access vlan 5
!
interface FastEthernet0/10
switchport access vlan 10
!

and all works quite well

going to be adding pppoe, advanced shaping, and freeswan into this too. the final result should be a pretty juicy network box :)

-

Ryan
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

Ryan,
That's one way.

Quoted 4 lines · On Tue, 2003-06-03 at 01:18, [email protected] wrote:

Computer is dell powerdge 350 with 2
intel 82559 10/100 nic running stock 2.4.20. I tried both the eepro100
and the e100 drivers for the nics, both work 802.1q and bonding are modules.
Switch is cisco 2924xl-en running ios 12.0(5)XU.

I recommend sticking with e100 and getting the latest version from Intel.

In the mean time also get a package from Intel called IANS. IANS will allow you to load balance or bond up to like 8 nics to one IP.

I used it for several years and it was assume.

Quoted 18 lines

ANd here is the bare bones of the config for the switch

interface FastEthernet0/1
port group 1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/2
port group 1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/5
switchport access vlan 5
!
interface FastEthernet0/10
switchport access vlan 10
!

My switch config was different. When using IANS all I had to do was set up a port group and map the interfaces to it.

interface FastEthernet2/3
description Ethernet 1
duplex full
speed 100
port group 1
!
interface FastEthernet2/4
description Ethernet 2
duplex full
speed 100
port group 1
!

Quoted 1 line

and all works quite well

Always good to know of other ways to do it. Your way is good to know, because IANS requires at least one Intel nic.

Signature · 12 lines
Sincerely,
William L. Thomson Jr.
Support Group
Obsidian-Studios, Inc.
3548 Jamestown Ln.
Jacksonville, FL 32223
Phone/Fax  904.260.2445
http://www.obsidian-studios.com

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/