[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Network Problems



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Mar 22, 2018 at 09:46:02AM +0000, Thomas Pircher wrote:
> On Thu, 22 Mar 2018, David wrote:
> > Does Debian keep a table of MAC addresses? If so where can I locate it?
>
> The kernel does. You can get the ARP table e.g. with
>
>     ip neigh list

There's also the arp (8) command: you can query and manipulate
the ARP table (arp stands for "address resolution protocol", which
is tasked with keeping this MAC -- IP mapping up to date).

For example, just typing "sudo arp" will show you a list of known
IP Address to MAC address mappings. With "arp -s <ip> <mac>" you
can set one such mappings. And so on.

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlqzglkACgkQBcgs9XrR2kai7wCdH863goBZDFtVIFpJeqVoHxEu
3/4An1ELnMKk9e8y8FBo3Xr9ZZ6022A8
=FwQH
-----END PGP SIGNATURE-----


Reply to: