networking:arp:add_an_entry_in_arp_cache_table
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
networking:arp:add_an_entry_in_arp_cache_table [2021/01/07 09:57] – peter | networking: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 | ||
- | </ | ||
- | |||
- | |||
- | <WRAP important> | ||
- | Make sure the IP address is a valid one in the above command. | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== 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 **/ | ||
- | |||
- | The file content should look like this: | ||
- | |||
- | <file bash> | ||
- | 12: | ||
- | 12: | ||
- | </ | ||
- | |||
- | Now you can give the path of the file as argument. | ||
- | |||
- | <code bash> | ||
- | arp -f /etc/ethers | ||
- | </ | ||
networking/arp/add_an_entry_in_arp_cache_table.1610013425.txt.gz · Last modified: 2021/01/07 09:57 by peter