From owner-freebsd-net@FreeBSD.ORG Fri Feb 18 08:22:22 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9782616A4CE for ; Fri, 18 Feb 2005 08:22:22 +0000 (GMT) Received: from softnet.si (jessie.softnet.si [212.103.128.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF5F543D46 for ; Fri, 18 Feb 2005 08:22:20 +0000 (GMT) (envelope-from marko.lerota@optima-telekom.hr) Received: from [213.253.113.133] (HELO redcloud.local) by softnet.si (CommuniGate Pro SMTP 4.1.8) with ESMTP id 12242624 for freebsd-net@freebsd.org; Fri, 18 Feb 2005 09:22:15 +0100 To: freebsd-net@freebsd.org Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWgnbRLVpRNVY9jMRPh s21jSlEyNVX45Mv4zI+sbUclFAtMVpT8V0lFAAACZ0lEQVR4nG3Tv2vbQBQHcFMogWyeNeVK BLXGl5j6xnABOaNTuXFGmWpwtw519yj4soW6AatT4GKD3+aDZrl/rt/Tr9qlGiz7Pn7v3bsf HVc/NrIiSfElqH53GgijcCqzk/+AmBF5cN0DsFlIRGMh/oHuqxkTM6VlzB4EoZEs2aSZOASb EQJYZpweQshE697GTDndBXtgp9LIT9+OpDGHEfb9knk+nx+jfN1JCVZMCl6XwFm0a2EXztZD 3s4fj47ZbKI2VeBmJImeEfGLJ+M9sDPilX7IB5rN6sdfcGhuoHU+LC4nxfnI7YOJtdb95Gb+ fbgJ2uJ2ZgaA++f5ZzBqNCCYfMTd5q0BfBVNqm7I8gUjQ+YtXotRW6PH9AEj+dKs/KuNQAl5 o/NY+QkonW8aQAl0oXMYPvRiXIM4pRJifbXytnhTA8alBx/jefG2ar3DBlt34/PXz9M+nMVN iNaPUdCApJc2ItejOmLGoK1qQLV9pJmXBnL10DYoBA5aHNfj8ZNwZa5O4CzgTJeilKJmrQJs IHIt1/7/Sg2p3iq/Hz0/5W05rq4M9aN2B5FLohUP4ylVyfxhEIjAs8J4PhIJ9U+CEroogib5 BXAf7bB4vkfAzgPFt1tM9sJZAOH+lCexhwswuNtim4QTZdokqo4o89LkH7V6iFxICeqfp+Wh fmUuGPunLj2Meti6Cn4DjJ/UReROqR+aqawAi/JkfgKE64rrfkhjU8MtT8ivR4S5n6Yo08A7 HvgAlHDWRSGlNSDxwK9HtXy4FS2I60EdUIJM+Ut9OZNJG4CpbEQW1VBQoQoPuBw2EVa4P0u0 TgzQF+VoAAAAAElFTkSuQmCC From: Marko Lerota Date: Fri, 18 Feb 2005 09:23:09 +0100 Message-ID: <86ll9mcm4y.fsf@redcloud.local> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: redundant ethernet interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Feb 2005 08:22:22 -0000 I have two nic bge0 and bge0, and I would like them to have the same IP address in case that my redundant switch stop responding. Bridge is not an option, I tried with netgraph but I did not succeed. Does anyone have some solution? I followed the examples from google groups and I stuck with duplicated packets when both ethernets are plugged and 50% packet loss when one ethernet is unplugged, damn !!#@!#@!$%^@$#@ here is my config rc.conf ifconfig_bge0="1.2.3.4 netmask 255.255.0.0 media 100baseTX mediaopt full-duplex" ifconfig_bge1="media 100baseTX mediaopt full-duplex" and /usr/local/etc/rc.d/bonding.sh #!/bin/sh ifconfig bge1 up kldload /boot/kernel/ng_ether.ko kldload /boot/kernel/ng_one2many.ko ngctl mkpeer bge0: one2many upper one ngctl connect bge0: bge0:upper lower many0 ngctl connect bge1: bge0:upper lower many1 ngctl msg bge1: setpromisc 1 ngctl msg bge1: setautosrc 0 ngctl msg bge0:upper setconfig "{xmitAlg=1 failAlg=1 enabledLinks =[ 1 1 ] }" manual for this sucks -- One cannot sell the earth upon which the people walk Tacunka Witco