Date: Thu, 1 Sep 2005 11:27:14 -0400 From: Barney Wolff <barney@databus.com> To: freebsd-net@freebsd.org Subject: Re: Testing Ethernet Ports Message-ID: <20050901152714.GA62606@pit.databus.com> In-Reply-To: <20050901145814.GQ31769@localhost.localdomain> References: <9D2DBC148E2B4146BCC36C41DE9DFBFD066624E1@emss35m05.us.lmco.com> <20050901145814.GQ31769@localhost.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050901152714.GA62606>