Difference between revisions of "Redhat: Network Diagnostics"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| + | == Ping == | ||
| + | |||
== Arp == | == Arp == | ||
| Line 12: | Line 14: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| − | == Remove an ARP entry == | + | === Remove an ARP entry === |
<syntaxhighlight> | <syntaxhighlight> | ||
| Line 18: | Line 20: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| − | == Add an ARP entry == | + | === Add an ARP entry === |
<syntaxhighlight> | <syntaxhighlight> | ||
arp -s <hostname> <MAC address> | arp -s <hostname> <MAC address> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 08:31, 25 August 2013
Ping
Arp
Address Resolution Protocol associates IP addresses with MAC addresses. Running ARM will display the a list of recent connections, showing the IP address, hostname and MAC address.
[root@head ~]# arp
Address HWtype HWaddress Flags Mask Iface
compute000-ipmi.compute ether 00:25:90:58:5c:bf C eth0
compute002.compute.bost ether 00:25:90:58:5c:56 C eth0
pxe ether 52:54:00:e7:3e:7d C br0
172.28.12.3 ether fc:2f:40:c8:7c:08 C br0Remove an ARP entry
arp -d <hostname>Add an ARP entry
arp -s <hostname> <MAC address>