Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"Debian" method for bonding & vlan

138 views
Skip to first unread message

Rob Heilman

unread,
Feb 27, 2008, 3:00:24 PM2/27/08
to
I have seen/used a couple different ways to setup Ethernet bonding and
subsequently 802.1q vlans on top of the bond. Just curious if anyone
knows the "Debian" way of doing this? Right now I use entries in

/etc/modules
8021q

/etc/modprobe.d/arch/i386
alias bond0 bonding
options bond0 mode=1 miimon=100 primary=eth0

/etc/network/interfaces
auto bond0
iface bond0 inet static
address 192.168.0.77
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
up /sbin/ifenslave bond0 eth1 eth0
auto bond0.20
iface bond0.20 inet static
address 192.168.1.77
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
pre-up /sbin/vconfig add bond0 20

but I am always open to other ideas. More importantly I like to stay in
the Debian mold as I can for supportability and to avoid surprises
during upgrades. If there is a Debian supported method of accomplishing
the same thing please share.

Thanks.

-rh


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Gilles Mocellin

unread,
Feb 27, 2008, 5:50:14 PM2/27/08
to

All of this seems good to me.
Personaly, I prefer to create a new file /etc/modprobe.d/bonding for the
bonding module configuration.

Considering VLans, I must apology, I have never used Vlans on my servers.

signature.asc
0 new messages