* Can I ping over specific interfaces?
@ 2000-09-21 4:00 Djones
2000-09-21 4:00 ` vw1968h
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Djones @ 2000-09-21 4:00 UTC (permalink / raw)
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
tu1.
The man pages for ping and traceroute don't seem to have anything that
helped, at least that I saw.
Are there tools available to test network connections that will provide this
info if ping and traceroute can't? I know tools exist but I need the
ability to specify the interface.
Thanks
Dale
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Can I ping over specific interfaces?
2000-09-21 4:00 Can I ping over specific interfaces? Djones
@ 2000-09-21 4:00 ` vw1968h
2000-09-21 4:00 ` Marble Head
2000-09-22 4:00 ` sm
2 siblings, 0 replies; 5+ messages in thread
From: vw1968h @ 2000-09-21 4:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Can I ping over specific interfaces?
2000-09-21 4:00 Can I ping over specific interfaces? Djones
2000-09-21 4:00 ` vw1968h
@ 2000-09-21 4:00 ` Marble Head
2000-09-22 4:00 ` sm
2 siblings, 0 replies; 5+ messages in thread
From: Marble Head @ 2000-09-21 4:00 UTC (permalink / raw)
Are these two interfaces on the same network?
It doesn't seem very useful to have them set up that way... Maybe I'm wrong.
If they're not on the same network, the default isn't necessarily tu0; the
default is whichever one seems applicable.
Djones 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
> tu1.
>
> The man pages for ping and traceroute don't seem to have anything that
> helped, at least that I saw.
>
> Are there tools available to test network connections that will provide this
> info if ping and traceroute can't? I know tools exist but I need the
> ability to specify the interface.
>
> Thanks
>
> Dale
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Can I ping over specific interfaces?
2000-09-21 4:00 Can I ping over specific interfaces? Djones
2000-09-21 4:00 ` vw1968h
2000-09-21 4:00 ` Marble Head
@ 2000-09-22 4:00 ` sm
2000-09-22 4:00 ` Djones
2 siblings, 1 reply; 5+ messages in thread
From: sm @ 2000-09-22 4:00 UTC (permalink / raw)
What are you ping'ing ?
You need a route ... you use default route unless you have host route to
node on second i/f.
Do you have both tu's configured w/ TCPIP ?
e.g. netstat -rn gives you 2 tu's with different routes ?
ping will pick interface based on destination !
"Djones" <dalejava@freeshell.org> wrote in message
news:npoy5.14716$Rt3.983062@nntp2.onemain.com...
> 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
> tu1.
>
> The man pages for ping and traceroute don't seem to have anything that
> helped, at least that I saw.
>
> Are there tools available to test network connections that will provide
this
> info if ping and traceroute can't? I know tools exist but I need the
> ability to specify the interface.
>
> Thanks
>
> Dale
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Can I ping over specific interfaces?
2000-09-22 4:00 ` sm
@ 2000-09-22 4:00 ` Djones
0 siblings, 0 replies; 5+ messages in thread
From: Djones @ 2000-09-22 4:00 UTC (permalink / raw)
My DS20 is set with 2 interfaces, 1 for local network, 1 for a link to our
off-site web site. TCP/IP is running fine over both. We've had problems
with AT&T's link for our web site.
If I ping the web server, I've been going out via the local network
connection to our local provider then to the web site. This route has
bypassed (and hidden) some problems.
I've tested:
route add host1 gateway -dev tu1
which looks promising.
I now think I need to work with someone here on our firewall side. Once
I've set up a route, I need to get the firewall updated as well.
Thanks for everyone's responses. It's given me more information to pursue.
Dale
"sm" <tecshark@hotmail.com> wrote in message
news:iuOy5.79738$i5.2940180@news1.rdc2.on.home.com...
> What are you ping'ing ?
>
> You need a route ... you use default route unless you have host route to
> node on second i/f.
>
> Do you have both tu's configured w/ TCPIP ?
> e.g. netstat -rn gives you 2 tu's with different routes ?
>
> ping will pick interface based on destination !
>
> "Djones" <dalejava@freeshell.org> wrote in message
> news:npoy5.14716$Rt3.983062@nntp2.onemain.com...
> > 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
> > tu1.
> >
> > The man pages for ping and traceroute don't seem to have anything that
> > helped, at least that I saw.
> >
> > Are there tools available to test network connections that will provide
> this
> > info if ping and traceroute can't? I know tools exist but I need the
> > ability to specify the interface.
> >
> > Thanks
> >
> > Dale
> >
> >
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-09-22 4:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-21 4:00 Can I ping over specific interfaces? Djones
2000-09-21 4:00 ` vw1968h
2000-09-21 4:00 ` Marble Head
2000-09-22 4:00 ` sm
2000-09-22 4:00 ` Djones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox