User Tools

Site Tools


networking:arp:add_an_entry_in_arp_cache_table

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
networking:arp:add_an_entry_in_arp_cache_table [2021/01/07 09:57] peternetworking:arp:add_an_entry_in_arp_cache_table [2021/01/07 10:02] (current) – removed peter
Line 1: Line 1:
-====== Networking - ARP - Add an entry in ARP cache Table ====== 
- 
-<code bash> 
-arp  -s  192.168.1.43  12:48:08:bb:a5:bb 
-</code> 
-  
- 
-<WRAP important> 
-Make sure the IP address is a valid one in the above command. 
-</WRAP> 
- 
----- 
- 
-===== Add multiple entries to the ARP cache table at once ===== 
- 
-The **arp** utility supports taking entries from a file. 
- 
-Simply pass the file path as an argument to arp command. 
- 
-By default the **/etc/ethers** file is used.   
- 
-The file content should look like this: 
- 
-<file bash> 
-12:f7:fd:48:aa:79 192.168.1.40 
-12:48:08:aa:a5:bb 192.168.1.43 
-</file> 
- 
-Now you can give the path of the file as argument. 
- 
-<code bash> 
-arp -f /etc/ethers 
-</code> 
  
networking/arp/add_an_entry_in_arp_cache_table.1610013450.txt.gz · Last modified: 2021/01/07 09:57 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki