hpux >> HP-UX "ping -i" vs. Linux "ping -I"

by Ulrich Windl » Wed, 10 Sep 2008 21:50:42 GMT

Hi,

I have a problem with a missing feature in HP-UX ping that is present in Linux
ping:

Option "-i address" for HP-UX ping sets the source address only if the
destination address is a braodcast address.

In Linux option "-I address" sets the source address unconditionally.

(Both systems require the requested source address to be configured on a local
interface)

What I need is the Linux feature for HP-UX. Does anybody have the C source
program that works for HP-UX. I have no idea how difficult it is to port the
Linux sources to HP-UX.

Thanks,
Ulrich


hpux >> HP-UX "ping -i" vs. Linux "ping -I"

by Rick Jones » Thu, 11 Sep 2008 01:45:44 GMT










While you are porting other ping programs it would be a good thing if
you could get an ER filed through the RC. Yes, it is red tape, but
the HP-UX ping guys won't _really_ know without it.

rick jones
--
denial, anger, bargaining, depression, acceptance, rebirth...
where do you want to be today?
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...



Similar Threads

1. ping response not showing TTL on HP-UX

2. Windows ping and Linux ping command?

OK, there must be some fundumental difference
in the ping command that linux uses as opposed to
the ping command that Windows uses.

Can anyone here elaborate?


3. Ping Alias: HP Releases its First Linux-powered Laptop - Windows Vista

4. Ping from cron not having same effect as ping from console

I'm running a RedHat Enterprise 2.1 server as a group development
platform.  We're having some network problems which are being worked
on, but right now I need a workaround.  The problem is that this
server drops off of the network a couple of times a day.  I've found
that if I just ping another server from that server it comes back on
the network, everybody can see it and everything is fine.

To keep the server on the network I set up a cron job to ping another
server every two minutes.  I can see this ping running every two
minutes with "ps -e | grep ping".  However, the machine still drops
off of the network.  When the server drops off of the network I wait
until I see the cron ping as above and then verify that it is still
off of the network.  So the cron ping doesn't get the machine back on
the network.  Then I do a ping from a console and the server comes
back on the network.

For some reason the cron ping doesn't have the same effect that a ping
from the console does.  The crontab ping entry is by the same user
that I am logged in as when I do the ping from the console.

Anyone have any suggestions?  Why does a ping from the console have a
different effect than a ping from cron.

5. Ping 224.0.0.2 ping: sendmsg: Operation not permitted

6. Some services working but can't ping (not ping-able)

7. Strange network problems - pings to host are fine, pings from host fail

8. happy ping, was miserable ipv6 ping latency through freebsd 4.7 as router

Kirk Strauser wrote:

> 
>>I think the freenet6 gobbles gif0--their binary is non-hackable of course,
>>sigh. Otherwise I'd just swap the gifs around.
> 
> 
> That couldn't be farther from the truth.  When the client runs, it calls
> OS-specific scripts to do the actual network setup.  In our case, look at:
> 
>     /usr/local/bin/tspc-freebsd44.sh
> 
> Hack it to your heart's content.

Hi Kirk--

Yah some parts can be hacked. Actually my script is in
/usr/local/tsp/template and I'm using the 0.9.8 client.

Well the ping is happy now anyways--must have been
a problem between the chair and the keyboard :)

Now its just the reverse dns wont work. This is a freenet6
issue tho. Thanks for the replies.

../Steven