In Linux, how can I see all MAC addresses present in a broadcast domain, and how can I configure a broadcast domain?

  • Did you try man arp? – user3405291 Jun 30 '17 at 10:06
  • man arp is a huge beast. Is there anything specific you can point me to. – MortyRick Jun 30 '17 at 12:14

You can see all MAC addresses present in a broadcast domain by executing the following command :-

nmap -sP

for more help run

nmap --help

A broadcast domain is a logical division of a computer network, in which all nodes can reach each other by broadcast at the data link layer. A broadcast domain can be within the same LAN segment or it can be bridged to other LAN segments.

In terms of current popular technologies: Any computer connected to the same Ethernet repeater or switch is a member of the same broadcast domain. Further, any computer connected to the same set of inter-connected switches/repeaters is a member of the same broadcast domain. Routers and other higher-layer devices form boundaries between broadcast domains.

So you couldn't configure broadcast domain on your Machine, but you can found all machines using arp or nmap as mentioned in previous answer.

  • Thanks for your answer. However, I was asking if I can create virtual VLANs in Linux such that I can place different interfaces in separate broadcast domains. – MortyRick Jul 4 '17 at 0:22
  • You can configure subinterfaces. here simple article how to do it. – Alexander Tolkachev Jul 4 '17 at 14:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.