Re: arp and /etc/ethers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 10/24/2010 08:42 PM, peasthope@shaw.ca wrote
>
> 'man arp' has no mention of a configuration file. How should
> arp reference /etc/ethers automatically at startup?
>
> Thanks, ... Peter E.
>
Perhaps missing from Lenny, but the arp manpage in squeeze include
information on it.
- -f filename, --file filename
Similar to the -s option, only this time the address info is
taken from file filename. This can be used if ARP entries for a
lot of hosts have to be set up. The name of the data file is
very often /etc/ethers, but this is not official. If no filename
is specified /etc/ethers is used as default.
The format of the file is simple; it only contains ASCII text
lines with a hostname, and a hardware address separated by
whitespace. Additionally the pub, temp and netmask flags can be
used.
Regards,
- --
Jordan Metzmeier
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCAAGBQJMxPh9AAoJEKj/C3qNthmTYzQQALskrI3j8nBOOxPyK3f657Cr
YmyK9DzaU0IqUBDs+9F1kFVI73hykakrCeyCmu5K2W5G8bqMsFyiuBfWBw9UxqCO
yqCP0rJlfrI1PiM+2Rz34V3FhPyvyZO6EfRJZX39UP7J7IarwxOQs9IyoYGoA1Di
OAOb4sLyr8li7C2tVd584Sz/uQP/RuCoZeCvU0NjK6WOvDbnI38YcZwZ5mDkS8UK
k6BakIhJbX1J1Ft+wjJsQtSUIXpcyqYpF22qAiyK/bz/gf3v6uG3HBVANMblubMe
09JAqFr8SAN7tje6+4A6XUK0VjZraKlE9K47OxzIAf2EakZP8q2qOpCZOm4HuUgu
9Px02uduuJbIkKRxKI53CCI0voIj7zleYQw64KNy7zN3SoX2Xij3nv/mO4x/YFI5
h6/cdtlkFqsfLmnBTHrtsRtxwRAQJyzJL2e5+T9EZQbFmBB894FZObLiA5zV1qhC
ahryig2EW4lX0kMr0IObeOZXX2+X9U0IxwYDPADiP3nVQZZQ7xqfB0gpjLHIKJpO
JOTwa8i6DAS/SjYRLc978nXBMrs2zs8QcZA60YKYw9QPobZVpNguRdpaQCtLAVqo
ZURfkGwKRWifPkOmBnh8qMpeZ446npR3WTnefOBRiceOkriT6HOGNcpzdDP/G8lL
Eu/CedJcZboJc08UE1rI
=xaxv
-----END PGP SIGNATURE-----
Reply to: