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

Re: [Openbsd-misc] Re: New NIC install



hi,

i think that the 2 network cards are on the same switch/hub and they both
know
the mac adres for the machine, attempting to write it to the arp cache.

since that happends and the other nic says, hey i know this one, it has mac
addr
bla:bla:bla (mac address there ;p) i will add it to the arp cache.

and it gives errors like that ;0

you can do static arp, or turnof arp resolution on one of the 2 nics
ifconfig $nic-name -arp

hope this helps a bit..

cheers



--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

-----Oorspronkelijk bericht-----
Van: openbsd-misc-bounces@lists.elvandar.org
[mailto:openbsd-misc-bounces@lists.elvandar.org]Namens Rick Barter
Verzonden: maandag 2 februari 2004 14:46
Aan: OpenBSD
Onderwerp: [Openbsd-misc] 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

_______________________________________________
Openbsd-misc mailing list
Openbsd-misc@lists.elvandar.org
http://lists.elvandar.org/mailman/listinfo/openbsd-misc