All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] etherchannel/port group/bonding plus vlan works well
@ 2003-06-03  5:18 rgoldber-list-lartc
  2003-06-04 14:59 ` William L. Thomson Jr.
  0 siblings, 1 reply; 2+ messages in thread
From: rgoldber-list-lartc @ 2003-06-03  5:18 UTC (permalink / raw)
  To: lartc


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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-04 14:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-03  5:18 [LARTC] etherchannel/port group/bonding plus vlan works well rgoldber-list-lartc
2003-06-04 14:59 ` William L. Thomson Jr.

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.