Can't Ping


 
Thread Tools Search this Thread
Special Forums IP Networking Can't Ping
# 8  
Old 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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Ping test sends mail when ping fails

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

2. Shell Programming and Scripting

How to get reason for ping failure using perls Net::Ping->new("icmp");?

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

3. IP Networking

PING

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

4. Shell Programming and Scripting

Animation Ping on Solaris Like Cisco Ping

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

5. Linux

Not able to ping

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

6. IP Networking

can't ping by ip

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

7. UNIX for Dummies Questions & Answers

Ping

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

8. AIX

ping

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

9. UNIX for Dummies Questions & Answers

ping

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

10. IP Networking

About Ping

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
Login or Register to Ask a Question
arp(8)							      System Manager's Manual							    arp(8)

NAME
arp - Displays and controls Address Resolution Protocol (ARP) tables SYNOPSIS
/usr/sbin/arp [-u] [-n] hostname arp -a [-u] [-n] [-i] [system] arp -d hostname arp -f filename arp -g hostname arp -s [-u] hostname hardware_addr [temp] [pub] [trail] FLAGS
Displays all of the current ARP entries. Deletes the entry for hostname if the user issuing the command has superuser authority. Reads entries from filename and adds those entries to the ARP tables. Use of this flag requires superuser privilege. Entries in the file have the following format: hostname hardware_addr [temp] [pub] [trail] Fields in this format are as follows: Specifies the remote host identified by the entry. Specifies the hardware address of the remote host. The address is given as 6 hexadecimal bytes separated by colons. Specifies that this ARP table entry is temporary. When this argument is not used, the table entry is permanent. Indicates that the table entry will be published and that the current system will act as an ARP server, responding to requests for hostname even though the host address is not its own. Indicates that the trailer encapsulation may be sent to this host. Sends a gratuitous ARP packet. The hostname can be a local host name, alias, or IP address. Displays the interface with which the ARP entry is associated. Displays numeric IP addresses and hardware addresses only. When this flag is not specified, arp displays hostnames, numeric IP addresses, and hardware addresses. Creates a single ARP entry for hostname. Use of this flag requires superuser privilege. The arguments are explained in the discussion of the -f flag. Displays the MAC address in noncanonical form with address bytes reversed and separated by a colon character (:). By default, all addresses are displayed in canonical form with address bytes separated by the hyphen character (-). When used with the -s flag, this indicates that the hardware_addr is in noncanonical form. DESCRIPTION
The arp command displays or modifies the current ARP entry for the host specified by hostname. The host may be specified by name or num- ber, using Internet dot notation. With no flags, the program displays the current ARP entry for hostname. The ARP tables can be displayed by any user, but only the superuser can modify them. EXAMPLES
To display the ARP address-mapping tables for the local host, enter: arp -a alpha1.dec.com (16.181.20.2) at 08-00-2b-2c-f5-31 alpha2.dec.com (16.100.21.20) at 08-00-2b-3c-2d-fd To display the ARP address-map- ping tables for the local host and the interface, enter: arp -a -i jupiter (192.45.20.2) at 08-00-2b-1a-f8-23 (tu0) sigma (204.126.98.16) at 08-00-2b-5f-1d-33 (tu1) To add a single entry for the remote host laszlo to the ARP mapping tables temporarily, enter: arp -s laszlo 08:00:2b:0f:44:23 temp The address is considered canonical even though the bytes are separated by colons. For input, the arp command does not use the colon (:) and hyphen (-) characters to indicate whether the address is canonical or noncanonical. Note that you must have superuser authority to execute this command. To add a single entry for the remote host laszlo to the ARP mapping tables temporarily, enter: arp -u -s laszlo 10:00:d4:f0:22:c4 temp The -u flag indicates the address is noncanonical. Note that you must have superuser authority to execute this command. To add mul- tiple entries to the ARP mapping tables from the file newentries, enter: arp -f newentries Note that you must have superuser authority to execute this command. FILES
Specifies the command path. RELATED INFORMATION
Commands: netstat(1), ifconfig(8) Protocols: arp(7) Specifications: RFC 826 delim off arp(8)