From owner-freebsd-net@FreeBSD.ORG Thu May 29 16:52:47 2003 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 33EA037B409; Thu, 29 May 2003 16:52:47 -0700 (PDT) Received: from relay3.softcomca.com (relay3.softcomca.com [168.144.1.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id A56CB43F93; Thu, 29 May 2003 16:52:42 -0700 (PDT) (envelope-from akanwar@digitarchy.com) Received: from M2W038.mail2web.com ([168.144.251.143]) by relay3.softcomca.com with Microsoft SMTPSVC(5.0.2195.5576); Thu, 29 May 2003 19:54:21 -0400 Message-ID: <191690-220035429235428215@M2W038.mail2web.com> X-Priority: 3 X-Originating-IP: 66.162.33.181 X-URL: http://mail2web.com/ From: "akanwar@digitarchy.com" To: sreekanth@redlinenetworks.com, mvsjetti@hss.hns.com, pete@he.iki.fi, ru@freebsd.org, freebsdnic@mailbox.cps.intel.com, freebsd-net@freebsd.org, akanwar@digitarchy.com Date: Thu, 29 May 2003 19:54:28 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 29 May 2003 23:54:21.0734 (UTC) FILETIME=[A018B460:01C3263D] Subject: RE: gratuitous ARP with em interface. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: akanwar@digitarchy.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2003 23:52:47 -0000 Thanks all for you replies=2E > I haven't tried this, but I think the problem would go away if you > changed WAIT_FOR_AUTO_NEG_DEFAULT to 0 in "if_em=2Eh"=2E Changed this=2E Did not work=2E=20 > If u can do kernel debugging put break point at the=20 > "arp_ifinit" and verify if this was getting called or=20 > not=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E cheers, mahesh= Will try this=2E > Could be attributed to the spanning tree in the switch=2EI have=20 > seen it happening(especially with cisco switches)=2EI bet you=20 > are not able to send out any packet(Not just Garp)=2E No=2E Spanning tree is turned off (Tried it with both IOS and Catalyst switches)=2E > I haven't looked that deep into why, but em is quite slow=20 > on coming up compared to fxp for example=2E Probably something to do wi= th=20 > hardware re-initialization=2E Correct, there is a delay=2E "ifconfig em0 inet x=2Ex=2Ex=2Ex/y" takes a f= ew seconds to complete whereas "ifconfig fxp0 inet x=2Ex=2Ex=2Ex/y" returns instantly=2E Is there a way to force gratituous arp ? ( Short of writing a raw socket utility) Thanks, -ansh > > >On Wed, May 28, 2003 at 07:57:07PM -0400, > > akanwar@digitarchy=2Ecom wrote: > > > > > > > > >>Hi all, > > >> > > >>Is there a known issue with alias IPs on em interfaces not > > sending out > > >>gratuitous arps ? > > >> > > >>The situation is as follows: > > >> I am running a custom redundancy daemon that migrates the > > IP address > > >>of a server from one interface to another in case the > > active network > > >>path fails=2E Till now I was experimenting with two fxp > > interfaces and > > >>everything worked perfectly=2E i=2Ee=2E when the ip address moved ov= er=20 > > >>(using a perl script to run ifconfig commands) it sent out > > grat=2E arps > > >>for each of its alias IPs=2E This allowed the router to > > update its Arp > > >>table and talk to the newly active interface=2E > > >> > > >>Now when I try running the code with em (gigabit Ethernet > > over copper) > > >>NICs, I simply do not see the gratuitous arps come out of the new=20= > > >>interface=2E > > >> > > >>I am at a loss to understand what has changed=2E Could it=20 > be that the=20 > > >>line DOWN -> UP time of the em interface is longer thereby > > causing a > > >>loss of ARPs ? Any suggestions ? > > >> > > >> > > >> > > >Yes, I can reproduce this too, no gratuitous ARP is sent=2E > > > > > > > > >Cheers, > > > > > > > > > > > > _______________________________________________ > > freebsd-net@freebsd=2Eorg mailing list=20 > > http://lists=2Efreebsd=2Eorg/mailman/listinfo/free> bsd-net To > > unsubscribe, send any mail to > > "freebsd-net-unsubscribe@freebsd=2Eorg" > > > > --- > > Incoming mail is certified Virus Free=2E > > Checked by AVG anti-virus system (http://www=2Egrisoft=2Ecom)=2E > > Version: 6=2E0=2E483 / Virus Database: 279 - Release Date: 5/19/2003 > > > > >=20 > _______________________________________________ > freebsd-net@freebsd=2Eorg mailing list=20 > http://lists=2Efreebsd=2Eorg/mailman/listinfo/free> bsd-net > To=20 > unsubscribe, send any mail to=20 > "freebsd-net-unsubscribe@freebsd=2Eorg" >=20 >=20 > --- > Incoming mail is certified Virus Free=2E > Checked by AVG anti-virus system (http://www=2Egrisoft=2Ecom)=2E > Version: 6=2E0=2E483 / Virus Database: 279 - Release Date: 5/19/2003 > =20 >=20 -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web=2Ecom/ =2E