All of lore.kernel.org
 help / color / mirror / Atom feed
From: rgoldber-list-lartc@bitburst.com
To: lartc@vger.kernel.org
Subject: [LARTC] etherchannel/port group/bonding plus vlan works well
Date: Tue, 03 Jun 2003 05:18:27 +0000	[thread overview]
Message-ID: <marc-lartc-105461759820993@msgid-missing> (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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2003-06-03  5:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-03  5:18 rgoldber-list-lartc [this message]
2003-06-04 14:59 ` [LARTC] etherchannel/port group/bonding plus vlan works well William L. Thomson Jr.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-105461759820993@msgid-missing \
    --to=rgoldber-list-lartc@bitburst.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.