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.
136 questions
9 votes
3 answers
1k views
Can I find the IP address used by a remote interface, if its IP range is not known, maybe using arp?
Is it possible to discover the IP address used by a remote host, if its IP range is not known? Maybe using ARP? I have two PCs connected via direct cable (no switch); I forgot the IP range used by the ...
1 vote
0 answers
32 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
2 answers
168 views
ubuntu arp problem with who-has x.x.x.x tell y.y.y.y
i have a single server which two VM(ubuntu) configured as ubuntu-edge(with frr module for routing - wan side) and ubuntu-fw(for lan side), between these machines there is a virtual internal interface. ...
0 votes
1 answer
98 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
0 answers
34 views
get connected lan hosts via arp and output on single line
I'm using the following nmap command nmap -sP 192.168.1.0/24 | awk '{print $1}'`| awk '/Nmap scan report for/{print " "$5,$6;}/MAC Address:/{print $3;}' which outputs box1.lan (192.168.1....
0 votes
2 answers
184 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
1k views
How to Get All Network Interface IP Address using BMC/IPMI
I have Many server booted up to Debian 12 connected to a common switch. All I know is their BMC Macs and bmc passwords for each unit(all of them not from same manufacturer). Is there a standard way to ...
0 votes
1 answer
578 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 ...
1 vote
1 answer
502 views
Setting up network manually, no dhcp, IPV4 only
I’m trying to configure ip (static, so without dhcp), there are some problems that I can't resolve by my self, because I do not understand it in a whole. Sorry if it is already answered, but as I said,...
2 votes
1 answer
249 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
3k views
ARP table shows incomplete entry and connectivity lost
I have Linux device running 4.14.7 kernel. My device-A is directly connected to third-party device(Device-B) over 1Gig port. A UDHCPD server runs on dev-A which always assigns single IP address as per ...
0 votes
1 answer
628 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
159 views
How do I get all MAC addresses of all devices on my LAN that have an IP address (equivalent of doas nmap -sn but for IPv6)?
#!/usr/bin/bash echo "Give me your private IP and its mask";read given if [[ "$given" =~ ^([0-9]{1,3}\.){3}[0-9]{1,3}/{0,1}[0-9]{1,3} ]]; then echo "version 4" ...
0 votes
1 answer
447 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 ...
0 votes
1 answer
1k views
Can't see connected devices ip with "iw dev wlan0 station dump" on raspberry
I have successfully turned my Raspberry Pi into a WiFi access point, but I'm having trouble getting notifications when a new device connects or disconnects from it. Specifically, I would like to ...