× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Perhaps I can just explain what I am trying to do.

I want to write a program which pings the next hop periodically to see if the connection is still up, If it isn't I want to end the interface(s), vary the ethernet line off and on and then restart the interface.

We are having trouble on some sites and this is the only way to recover the connection.

Albert

----- Original Message -----
From: "Scott Klement" <midrange-l@xxxxxxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Subject: Re: Retrieve interface and next hop
Date: Sat, 21 Feb 2009 03:12:00 -0600


Hello...

I guess I have the same problem with the question that Tom cites. I
understand that you want to retrieve the IP address of something --
but... of what? I know, the IP address "of a TCP/IP interface" -- but
how could you possibly specify *which* TCP/IP interface? If I wanted to
write a program that looked up the IP address for an interface, what
would be the input to that program?

There can be many TCP/IP interfaces for a given line description or
ethernet card. Normally, you distinguish interfaces based on IP address...

If I can somehow get past that roadblock, then I may be able to answer
the question...

Tom Liotta wrote:
Can you describe this more fully? As I look at things, I pretty
much think it like "an I/P address _is_ a TCP/IP interface." That
is, if you prompt the ADDTCPIFC command, the first key parameter
is the IP address.

So, in order to know _which_ interface to obtain the IP address
from, you'd supply... the IP address.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.