On 6 Mar 2007 16:11:20 -0800,
(E-Mail Removed) wrote:
>> man arp to see if dumping the arp cache to see if that works for you.
>
> good idea... btw since I use DHCP is there a way to print which fixed-
> address hosts are currently connected, like force to show them in
> "dhcpd.leases"?
Hmm, guessing you failed to read the arp man page or I do not
understand what you want.
$ arp -i eth0
Address HWtype HWaddress Flags Mask Iface
fw.home.invalid ether 00:A0:CC:26:06:34 C eth0
$ arp -n -i eth0
Address HWtype HWaddress Flags Mask Iface
192.168.2.1 ether 00:A0:CC:26:06:34 C eth0
Where we find
$ cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static <====== note the word static, means fixed.
IPADDR=192.168.2.1 <===== 3 guesses for that
NETMASK=255.255.255.0
ONBOOT=yes
METRIC=10
MII_NOT_SUPPORTED=no
USERCTL=no
RESOLV_MODS=yes
IPV6INIT=no
IPV6TO4INIT=no
LINK_DETECTION_DELAY=5
GATEWAY=76.184.128.1