From: Edgar Toernig <froese@gmx.de>
To: Nick Popoff <cryptic-lkml@bloodletting.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Testing Dual Ethernet via Loopback
Date: Wed, 21 Apr 2004 00:38:45 +0200 [thread overview]
Message-ID: <20040421003845.05c44356.froese@gmx.de> (raw)
In-Reply-To: <200404190614.21764.cryptic-lkml@bloodletting.com>
Nick Popoff wrote:
>
> So what I'm wondering is if there is a way to force Linux to actually
> utilize its network hardware in sending these packets to itself? In other
> words, a ping or file transfer from an IP assigned to eth0 to another IP
> assigned to eth1 should fail if I unplug the network cable connecting the
> two. Any advice on this would be much appreciated.
I don't know if there's some knob for that. What I'm always doing:
tcpdump on one interface and then a broadcast ping on the other one.
If you want to write a hardware test program maybe using raw ethernet
packets is the way to go. These can be send directly to a specific
interface and don't require it to be IP-configured. man 7 packet
Ciao, ET.
next prev parent reply other threads:[~2004-04-20 22:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-19 13:14 Nick Popoff
2004-04-20 19:26 ` Pavel Machek
2004-04-22 20:54 ` Richard B. Johnson
2004-04-22 22:33 ` Anton Blanchard
2004-04-20 22:38 ` Edgar Toernig [this message]
2004-04-20 13:46 Antony Suter
2004-04-20 16:01 ` Richard B. Johnson
2004-04-22 11:08 Nick Popoff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040421003845.05c44356.froese@gmx.de \
--to=froese@gmx.de \
--cc=cryptic-lkml@bloodletting.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®