Question about "arp -s ... pub" and virtual ips

From: <jreed_at_wukon.appliedtheory.com>
Date: Fri, 20 Oct 2000 07:24:46 -0400

One of our hosts has virtual ips originally set up by
programmers. They did them using an ifconfig command *PLUS*
an arp command in inet.local, as follows:

/sbin/ifconfig le0 inet aaa.bbb.ccc alias
/sbin/arp -s aaa.bbb.ccc 08:00:2B:9F:78:7F pub

where the MAC address is that of le0.

I had to move this IP to a different host yesterday,
and set it up the same way, and since then access has
been flaky. Some machines can get to it and others can't,
and yesterday some hosts could get there and today they
can't.

The old host that originally had the virtual IP
has had it removed with an "ifconfig ... -alias ..."
command, and I used arp on that host to see if it had
a definition for the virtual in its cache, it doesn't.

The new host won't take the "arp" commands anyway, and it
doesn't show the virtual in its own cache, but here is a view
from a host on the same net that can't reach the virtual. Observe
how there I remove the arp entry, and then it reappears, with
the MAC of the original host. I talked to networking, and they
supposedly cleared the arp cache on the router, but that isn't
helping. Observe:

# arp -a | grep aaa
aaa.bbb.ccc (111.222.33.44) at 08-00-2b-96-b4-11
# arp -d aaa.bbb.ccc
ftp.ajb.org (111.222.33.44) deleted
# arp -a | grep aaa
# ping aaa.bbb.ccc
PING aaa.bbb.ccc (111.222.33.44): 56 data bytes


----aaa.bbb.ccc PING Statistics----
12 packets transmitted, 0 packets received, 100% packet loss
# arp -a | grep aaa
aaa.bbb.ccc (111.222.33.44) at 08-00-2b-96-b4-11

I'm thinking the "pub" option on the original arp put the info
somewhere on the net and that location is keeping that arp and
screwing everything up over and over again.

Does anyone have any suggestions as to how to find that location
and straighten this out? Also, is there any reason to do the
"arp ... pub" command at all when setting up virtuals, or is
this something from some programmer's fantasy??

Thanks very much for any help you can give!!

-- 
Judith Reed
jreed_at_appliedtheory.com
Received on Fri Oct 20 2000 - 11:26:12 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT