Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

On switches I can show mac addresses on any port by "show mac-address-table port X" Is there any way to do this on FreeBSD and Linux systems?

share|improve this question

closed as off topic by Chris S Jun 6 '13 at 14:42

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Welcome to Server Fault! Sorry, but Server Fault is for Professional System Administrators (et al) only. Your question appears to be for non-professional use and might be on-topic on Super User or Unix & Linux, but you should search their sites and check their FAQs before posting. Thank you! –  Chris S Jun 6 '13 at 14:42

2 Answers 2

up vote 0 down vote accepted

tcpdump -e -i eth0 works find for me

share|improve this answer

Try the arp -a command, at least this works on FreeBSD.

share|improve this answer
    
what about pppoe server. There is no IPs, so ARP table will be empty. –  user1531295 Jun 6 '13 at 12:11

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