From owner-freebsd-hackers Tue Jan 2 8:41:10 2001 From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 2 08:41:07 2001 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from homer.softweyr.com (bsdconspiracy.net [208.187.122.220]) by hub.freebsd.org (Postfix) with ESMTP id B1A7B37B400 for ; Tue, 2 Jan 2001 08:41:06 -0800 (PST) Received: from [127.0.0.1] (helo=softweyr.com ident=Fools trust ident!) by homer.softweyr.com with esmtp (Exim 3.16 #1) id 14DUaS-00005m-00; Tue, 02 Jan 2001 09:47:00 -0700 Sender: wes@FreeBSD.ORG Message-ID: <3A520604.39F63679@softweyr.com> Date: Tue, 02 Jan 2001 09:47:00 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: =?iso-8859-1?Q?F=E9lix=2DAntoine?= Paradis Cc: hackers@freebsd.org Subject: Re: ARP question. References: <5.0.2.1.0.20010102023010.00a101f0@pop6.sympatico.ca> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Félix-Antoine Paradis wrote: > > Hi, > When we do a "dmesg" on a 4.2-STABLE box, we get: > > arp: 200.42.126.18 moved from 00:e0:7d:7b:53:f0 to 00:c0:df:f4:ac:05 on ed0 This means exactly what is says: IP address 200.42.126.18 was originally associated with ethernet MAC address ...:53:f0, but has moved to ...:ac:05. > > and, in ifconfig, it says: > > ed0: flags=8843 mtu 1500 > inet 200.42.126.20 netmask 0xffffff00 broadcast 200.42.126.255 > inet6 fe80::2e0:7dff:fe7b:548a%ed0 prefixlen 64 scopeid 0x1 > ether 00:e0:7d:7b:54:8a > > ed0 is connected to a switch. we want to know what the "arp: " message > means. on the linux box, we have: > > eth0 Link encap:Ethernet HWaddr 00:C0:DF:F4:AC:05 > inet addr:200.42.126.18 Bcast:200.42.126.23 Mask:255.255.255.248 Yes, this interface is now showing what ARP reported above. > eth1 Link encap:Ethernet HWaddr 00:E0:7D:7B:53:F0 > inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 And this one is not. > Both eth0 and eth1 are connected to that same switch. Did the Linux box reboot when you got the ARP message? If so, the Linux box has reversed the order of the ethernet interfaces. If not, the Linux box is routing packets over the wrong interface, which can happen when you have two networks mingled together like this. What kind of switch is this? -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message