FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-04-2008, 01:16 PM
Jonas Meurer
 
Default ethernet bonding device and virtual devices

Hello,

I just setup a system with two hardware ethernet devices (eth0 and eth1)
to share these devices in a bonding device. I use 'mode=0 miimon=100
downdelay=2000 updelay=200' as options to the bonding kernel module, and
my /etc/network/interfaces contains the following:

auto bond0
iface bond0 inet static
address 86.30.195.27
netmask 255.255.255.248
network 86.30.195.24
broadcast 86.30.195.31
gateway 86.30.195.25
up /sbin/ifenslave bond0 eth0
up /sbin/ifenslave bond0 eth1

that works so far, but now I want to add virtual devices to enable more
ip addresses. i tried the following:

auto bond0:0
iface bond0:0 inet static
address 86.30.195.28
netmask 255.255.255.248
network 86.30.195.24
broadcast 86.30.195.31
gateway 86.30.195.25

'ifup bond0:0' bings up the device, and indeed it is even reachable via
ping from outside. But after some extensive ping tests for all ips I
discovered several packet losses at pinging the ips of the virtual
devices. That seems to get better everytime I retry but still I'm
concerned whether the way I configured my system is correct at all.

Maybe virtual devices are not really supported for bonding devices, and
maybe a better solution exists for adding more ip addresses to a bonding
device.

I'm looking forward to hear your opinions :-)

greetings,
jonas


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

Thread Tools




All times are GMT. The time now is 01:28 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org