From owner-freebsd-net@FreeBSD.ORG Thu Sep 1 15:27:19 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 1D71016A41F for ; Thu, 1 Sep 2005 15:27:19 +0000 (GMT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (p72-0-224-2.acedsl.com [72.0.224.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AB1B43D4C for ; Thu, 1 Sep 2005 15:27:15 +0000 (GMT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.13.3/8.13.3) with ESMTP id j81FREJd064878 for ; Thu, 1 Sep 2005 11:27:14 -0400 (EDT) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.13.3/8.13.3/Submit) id j81FREkN064877 for freebsd-net@freebsd.org; Thu, 1 Sep 2005 11:27:14 -0400 (EDT) (envelope-from barney) Date: Thu, 1 Sep 2005 11:27:14 -0400 From: Barney Wolff To: freebsd-net@freebsd.org Message-ID: <20050901152714.GA62606@pit.databus.com> References: <9D2DBC148E2B4146BCC36C41DE9DFBFD066624E1@emss35m05.us.lmco.com> <20050901145814.GQ31769@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050901145814.GQ31769@localhost.localdomain> User-Agent: Mutt/1.5.9i Subject: Re: Testing Ethernet Ports X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2005 15:27:19 -0000 On Thu, Sep 01, 2005 at 09:58:14AM -0500, Will Maier wrote: > On Thu, Sep 01, 2005 at 10:36:04AM -0400, Ames, Jonathan (N-ENSCO) wrote: > > Can someone give me a hand with this? > > Here goes... > > > A PC has two ethernet ports, both directly on the motherboard. > > Can I connect them externally with an ethernet cable and ping from > > one port to the other to test them both? How? > > Lemme see if I parsed your question correctly: > * box.A.nic.1 --cable--> box.A.nic.2 > > Is that what you're talking about? Sure. Use a crossover cable, > assign each interface a different IP on the same subnet (eg 10.0.0.1 > and 10.0.0.2) and ping from one to the other: I don't believe this will do what's wanted - the packets will not actually go thru the NICs, as the OS is smart enough to realize that the dest is internal. With a crossover cable (not required with gigabit nics) you can't tell, so if you try it use a switch and look at the lights. -- Barney Wolff http://www.databus.com/bwresume.pdf I never met a computer I didn't like.