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

Re: New NIC install



Vladimir Potapov wrote:

> I install on my OpenBSD box second NIC(xl0) .The first NIC fxp0 .I create
> file /etc/hostname.xl0 , which contain :
> inet 192.168.1.10 255.255.255.0 NONE
> After restart it and try to ping from another host(192.168.1.80) will  see:
> 
> arp: attempt to add entry for 192.168.1.80 on fxp0 by 00:0c:6e:38:d7:d7 on
> xl0 
> 
> What does it mean?

I thought I knew the answer to your question, but wasn't sure. 
Therefore, I consulted the oracle (man).

By doing "man arp" I found that arp is address resolution display and 
control.  An excerpt from the man page says:

The arp program displays and modifies the Internet-to-Ethernet address 
translation tables used by the address resolution protocol (arp(4)).

So, I'm concluding that what you're seeing is the host updating it's 
routing tables to reflect that it now knows the route to xl0 on 
192.169.1.10 which is via 00:0c:6e:38:d7:d7.

I think I'm correct, but maybe someone else can back me up or point out 
any errors in my assessment.  The moral of the story, though, is read 
the manual.  It will at least give you a starting point and often times 
is enough to help you get to the root of your problem without further 
help.  As Yoda would say, "Manual should you read.  Help you it will."

rvb