ARP'ın Ön Belleğinin(cache) Görünümü
ARP içine olmayan bir IP adresinin olmayan bir MAC adresi ile kaydı
C:\Users\Administrator>arp -s 192.168.101.101 00-aa-bb-cc-dd-ee
C:\Users\Administrator>arp -a 192.168.101.101 Interface: 10.214.36.74 --- 0xd Internet Address Physical Address Type 192.168.101.101 00-aa-bb-cc-dd-ee static Netsh kullanımı: technet.microsoft.com C:\Users\Administrator>
ARP Ön Belleğinin(cache) Silinmesi
Silmeden önce bakalım:Silme işlemi:
Sildikten sonra:
Bir dizi işlem
- Ön belleği silelim.
C:\Users\Administrator>netsh interface ip delete arpcache Ok.
- Olmayan IP adresi ile olan bir MAC adresini eşleyerek girelim:
C:\Users\Administrator>arp -s 192.168.101.101 00-14-a5-76-19-3f
- ARP Tablomuzda son duruma bakalım:
C:\Users\Administrator>arp -a Interface: 10.214.36.74 --- 0xd Internet Address Physical Address Type 10.214.36.3 68-b5-99-9a-6e-c0 dynamic 10.214.36.255 ff-ff-ff-ff-ff-ff static 192.168.101.101 00-14-a5-76-19-3f static 255.255.255.255 ff-ff-ff-ff-ff-ff static Interface: 192.168.68.1 --- 0x10 Internet Address Physical Address Type 192.168.68.255 ff-ff-ff-ff-ff-ff static Interface: 192.168.198.1 --- 0x11 Internet Address Physical Address Type 192.168.198.255 ff-ff-ff-ff-ff-ff static
- Bu adresi pingleyelim:
C:\Users\Administrator>ping 192.168.101.101 Pinging 192.168.101.101 with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 192.168.101.101: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), - MAC adresinin gerçek adresini pingleyelim:
C:\Users\Administrator>ping 10.214.36.246 Pinging 10.214.36.246 with 32 bytes of data: Reply from 10.214.36.246: bytes=32 time=7ms TTL=128 Reply from 10.214.36.246: bytes=32 time=2ms TTL=128 Reply from 10.214.36.246: bytes=32 time=2ms TTL=128 Reply from 10.214.36.246: bytes=32 time=2ms TTL=128 Ping statistics for 10.214.36.246: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 2ms, Maximum = 7ms, Average = 3ms - ARP Tablomuzda son duruma bakalım:
C:\Users\Administrator>arp -a Interface: 10.214.36.74 --- 0xd Internet Address Physical Address Type 10.214.36.3 68-b5-99-9a-6e-c0 dynamic 10.214.36.246 00-14-a5-76-19-3f dynamic 10.214.36.255 ff-ff-ff-ff-ff-ff static 192.168.101.101 00-14-a5-76-19-3f static 255.255.255.255 ff-ff-ff-ff-ff-ff static Interface: 192.168.68.1 --- 0x10 Internet Address Physical Address Type 192.168.68.255 ff-ff-ff-ff-ff-ff static Interface: 192.168.198.1 --- 0x11 Internet Address Physical Address Type 192.168.198.255 ff-ff-ff-ff-ff-ff static C:\Users\Administrator>
C:\Users\Administrator>netsh interface ip delete arpcache
Ok.
C:\Users\Administrator>arp -s 192.168.101.101 00-14-a5-76-19-3f
C:\Users\Administrator>ping 192.168.101.101
Pinging 192.168.101.101 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.101.101:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\Users\Administrator>arp -a
Interface: 10.214.36.74 --- 0xd
Internet Address Physical Address Type
10.214.36.3 68-b5-99-9a-6e-c0 dynamic
10.214.36.255 ff-ff-ff-ff-ff-ff static
192.168.101.101 00-14-a5-76-19-3f static
255.255.255.255 ff-ff-ff-ff-ff-ff static
Interface: 192.168.68.1 --- 0x10
Internet Address Physical Address Type
192.168.68.255 ff-ff-ff-ff-ff-ff static
Interface: 192.168.198.1 --- 0x11
Internet Address Physical Address Type
192.168.198.255 ff-ff-ff-ff-ff-ff static
C:\Users\Administrator>ping 10.214.36.246
Pinging 10.214.36.246 with 32 bytes of data:
Reply from 10.214.36.246: bytes=32 time=7ms TTL=128
Reply from 10.214.36.246: bytes=32 time=2ms TTL=128
Reply from 10.214.36.246: bytes=32 time=2ms TTL=128
Reply from 10.214.36.246: bytes=32 time=2ms TTL=128
Ping statistics for 10.214.36.246:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 2ms, Maximum = 7ms, Average = 3ms
C:\Users\Administrator>arp -a
Interface: 10.214.36.74 --- 0xd
Internet Address Physical Address Type
10.214.36.3 68-b5-99-9a-6e-c0 dynamic
10.214.36.246 00-14-a5-76-19-3f dynamic
10.214.36.255 ff-ff-ff-ff-ff-ff static
192.168.101.101 00-14-a5-76-19-3f static
255.255.255.255 ff-ff-ff-ff-ff-ff static
Interface: 192.168.68.1 --- 0x10
Internet Address Physical Address Type
192.168.68.255 ff-ff-ff-ff-ff-ff static
Interface: 192.168.198.1 --- 0x11
Internet Address Physical Address Type
192.168.198.255 ff-ff-ff-ff-ff-ff static
C:\Users\Administrator>Son olarak: ARP'ın kullanımı
C:\Users\Administrator>arp
Displays and modifies the IP-to-Physical address translation tables used by
address resolution protocol (ARP).
ARP -s inet_addr eth_addr [if_addr]
ARP -d inet_addr [if_addr]
ARP -a [inet_addr] [-N if_addr] [-v]
-a Displays current ARP entries by interrogating the current
protocol data. If inet_addr is specified, the IP and Physical
addresses for only the specified computer are displayed. If
more than one network interface uses ARP, entries for each ARP
table are displayed.
-g Same as -a.
-v Displays current ARP entries in verbose mode. All invalid
entries and entries on the loop-back interface will be shown.
inet_addr Specifies an internet address.
-N if_addr Displays the ARP entries for the network interface specified
by if_addr.
-d Deletes the host specified by inet_addr. inet_addr may be
wildcarded with * to delete all hosts.
-s Adds the host and associates the Internet address inet_addr
with the Physical address eth_addr. The Physical address is
given as 6 hexadecimal bytes separated by hyphens. The entry
is permanent.
eth_addr Specifies a physical address.
if_addr If present, this specifies the Internet address of the
interface whose address translation table should be modified.
If not present, the first applicable interface will be used.
Example:
> arp -s 157.55.85.212 00-aa-00-62-c6-09 .... Adds a static entry.
> arp -a .... Displays the arp table.




