Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: vw1968h@my-deja.com
Subject: Re: Can I ping over specific interfaces?
Date: 2000/09/21	[thread overview]
Message-ID: <8qdol7$iov$1@nnrp1.deja.com> (raw)
In-Reply-To: npoy5.14716$Rt3.983062@nntp2.onemain.com

In article <npoy5.14716$Rt3.983062@nntp2.onemain.com>,
  "Djones" <dalejava@freeshell.org> wrote:
> I have a DS20 with two network interfaces, tu0 and tu1, each with a
unique
> IP address.
>
> Is there a way to do a ping or traceroute over a specific interface?
The
> default is tu0 but I find the need to test packets over the second
interface

There is no specific ping command, but you can set a new route to test
the interface:
	# route add host1 yourGateway -dev tu1

If you ping to host1, the packet will go over interface tu1.
to show the routes type
	# netstat -r

to delete the route ty<pe:
	# route delete host1 yourGateway


stefan


Sent via Deja.com http://www.deja.com/
Before you buy.



  parent reply	other threads:[~2000-09-21  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-21  4:00 Can I ping over specific interfaces? Djones
2000-09-21  4:00 ` Marble Head
2000-09-21  4:00 ` vw1968h [this message]
2000-09-22  4:00 ` sm
2000-09-22  4:00   ` Djones
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox