12-01-2011
yes,you're right,that's the reason why you can't ping your gateway
you can telnet into your router and add a arp map in hand,just input your ip with the unix pc's en2 mac addres,then i think it will work
10 More Discussions You Might Find Interesting
1. IP Networking
Hi,
When I pinged a machin, I got to be seen a different kind of
reply from that machine.
This is as below : "Reply from 136.128.11.116: Source quench received." Which I felt like an un-usual message.
So what does this mean.
Regards & Thanks in advance.
Vishwa. (4 Replies)
Discussion started by: S.Vishwanath
4 Replies
2. UNIX for Dummies Questions & Answers
Hi there hope list can help
I'm looking for a command that does the following
lets say i ping a server 00.00.000.00
and this server is up and running how do i get the ping command to return a UP or a Down
meaning
if the command is true do this
if the command is False do this
... (2 Replies)
Discussion started by: nemex
2 Replies
3. AIX
We can ping out but the return never comes back even to localhost
ping localhost
PING loopback: (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0 ms
it just sits there....
any ideas, any files to check (1 Reply)
Discussion started by: csaunders
1 Replies
4. UNIX for Dummies Questions & Answers
Hi ,
I have one system installed on Linux Red Hat 3.0. I have ip of system 3.156.168.*** and i want to ping some port that is on this IP which command i can do this?
sam70 (1 Reply)
Discussion started by: sam70
1 Replies
5. IP Networking
hi,
I m trying to ping ip on the network . The machine is started but i can't access and can't ping it .. But when i restarts that machine that works fine..... can anybody have an idea about this problem ??
if then reply ..
thanks (2 Replies)
Discussion started by: tahir23
2 Replies
6. Linux
Hi All,
Need your help one more time.
I am trying to ping a linux machine which is not responding to ping.
However traceroute can reach the machine and I can log in to it by ssh. I have checked /proc/sys/net/ipv4/icmp_echo_ignore_all it is already set as "0".
It is not happening in the... (1 Reply)
Discussion started by: ailnilanjan
1 Replies
7. Shell Programming and Scripting
Hi,
I develop simple animation ping script on Solaris Platform. It is like Cisco ping.
Examples and source code are below.
bash-3.00$ gokcell 152.155.180.8 30
Sending 30 Ping Packets to 152.155.180.8
!!!!!!!!!!!!!.!!!!!!!!!!!!!!!.
% 93.33 success... % 6.66 packet loss...... (1 Reply)
Discussion started by: gokcell
1 Replies
8. IP Networking
I am unable to ping my remote server.My server is unable to ping the same. both are able to ping the gateway. both the ip's are on same network.i use a proxy tunnel on my remote server.Help if any clues. (6 Replies)
Discussion started by: oslbhavana
6 Replies
9. Shell Programming and Scripting
Hi
I am using perl to ping a list of nodes - with script below :
$p = Net::Ping->new("icmp");
if ($p->ping($host,1)){
print "$host is alive.\n";
}
else {
print "$host is unreacheable.\n";
}
$p->close();... (4 Replies)
Discussion started by: tavanagh
4 Replies
10. Programming
help with bash script!
im am working on this script to make sure my server will stay online, so i made this script..
HOSTS="192.168.138.155"
COUNT=4
pingtest(){
for myhost in "$@"
do
ping -c "$COUNT" "$myhost" &&return 1
done
return 0
}
if pingtest $HOSTS
#100% failed... (4 Replies)
Discussion started by: mort3924
4 Replies
LEARN ABOUT DEBIAN
net::libdnet::arp
Net::Libdnet::Arp(3pm) User Contributed Perl Documentation Net::Libdnet::Arp(3pm)
NAME
Net::Libdnet::Arp - high level API to access libdnet arp_* functions
SYNOPSIS
use Net::Libdnet::Arp;
my $h = Net::Libdnet::Arp->new;
my $mac = $h->get('10.0.0.1');
my $sucess = $h->add('10.0.0.1', '00:11:22:33:44:55');
my $sucess = $h->delete('10.0.0.1', '00:11:22:33:44:55');
my $data;
$h->loop(&arp_print, $data);
sub arp_print {
my ($e, $data) = @_;
printf("%s at %s
", $e->{arp_pa}, $e->{arp_ha});
}
DESCRIPTION
This modules is a higher level abstraction for libdnet arp_* functions.
METHODS
new ()
Returns an object to access arp cache table on success, undef otherwise.
get (scalar)
Returns the mac address of specified IP address, undef otherwise.
add (scalar, scalar)
Adds an entry to arp cache table. Returns 1 on success, undef otherwise. First parameter is the IP address, second is the mac address.
delete (scalar, scalar)
Deletes an entry from arp cache table. Returns 1 on success, undef otherwise. First parameter is the IP address, second is the mac
address.
loop (subref, [ scalarref ])
Calls the specified sub ref for each entry in the arp cache table. The second optional parameter is a scalar ref, to store state
information (if any).
AUTHOR
Patrice <GomoR> Auffret
COPYRIGHT AND LICENSE
You may distribute this module under the terms of the BSD license. See LICENSE file in the source distribution archive.
Copyright (c) 2008-2011, Patrice <GomoR> Auffret
perl v5.14.2 2011-10-15 Net::Libdnet::Arp(3pm)