Questions tagged [arp]
Questions pertaining to ARP (Address Resolution Protocol) a communication protocol used for discovering the link layer address, such as a MAC address, associated with a given internet layer address, typically an IPv4 address.
135 questions
1 vote
0 answers
27 views
Why does including --opcode command in arptables work on wifi router 1 but not on wifi router 2
I have a shell script on my linux computer that has these arptables command; $ cat arptables.sh mac_address="AA:BB:CC:DD:EE:FF" arptables -P INPUT DROP arptables -P OUTPUT DROP arptables -...
0 votes
1 answer
82 views
How to get router to respond to ARP requests from switch so i can manage it
I have a web managed switch on my network. It is connected to a router, along with the host PC i am on. I cannot ping it through the router. Router is Fedora server. the router's applicable interfaces ...
0 votes
2 answers
164 views
Why does a network interface need to have a routing table entry configured to answer ARP requests?
I'm using a fresh minimal Ubuntu server 24.04.1 LTS install. I run these commands as root to set up networking and do some experiments: apt install -y netcat-traditional tcpdump inetutils-ping ip ...
0 votes
1 answer
522 views
Why is 00:00:00:00:00:00 address used instead of broadcast address ff:ff:ff:ff:ff:ff in ARP?
The following is my stripped down ARP ruleset, only broadcast rules are shown, other rules (not shown here) are not relevant. Please see code comments that are questions (?) #!/usr/sbin/nft -f add ...
2 votes
1 answer
226 views
arptables not working with nmap
I'm trying to implement a way to prevent network scans from my notebook. One of the things I want is to allow arp request to specific hosts, like my gateway. I added some rules using arptables and ...
0 votes
1 answer
613 views
What's the differnce between "Connection timed out" v/s "No route to host" for ncat command?
I tried to use ncat command to 2 diff unknown IPs from a CENTOS 7 (linux) terminal. [abc@localhost ~]$ ncat -zv 10.11.78.5 22 Ncat: Version 7.50 ( https://nmap.org/ncat ) Ncat: No route to host. [abc@...
0 votes
1 answer
439 views
Linux and KVM Qemu VM - "Couldn't ARP for host" despite that host and VM are both bridged and in the same subnet
I am using KVM Qemu in Kali linux host, and trying to practice ARP spoofing. In the Kali linux (which is connected to wired ethernet network), I have set up the following configuration (from tutorials ...
3 votes
1 answer
118 views
What are ARP hardware type 37, opcode 21 and protocol type 0x90bd?
I am currently testing netfilter / nftables / nft. As a starting point, I have made a ruleset that drops nearly everything in and out, and have written the rules so that every dropped packet is logged....