From owner-freebsd-hackers Mon Sep 1 09:34:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA06866 for hackers-outgoing; Mon, 1 Sep 1997 09:34:22 -0700 (PDT) Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA06854 for ; Mon, 1 Sep 1997 09:34:15 -0700 (PDT) Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.8.7/8.8.5) id SAA28625; Mon, 1 Sep 1997 18:30:18 +0200 (SAT) From: John Hay Message-Id: <199709011630.SAA28625@zibbi.mikom.csir.co.za> Subject: Re: IPX problems In-Reply-To: <199709011531.MAA01599@gaia.coppe.ufrj.br> from Joao Carlos Mendes Luis at "Sep 1, 97 12:31:02 pm" To: jonny@mailhost.coppe.ufrj.br (Joao Carlos Mendes Luis) Date: Mon, 1 Sep 1997 18:30:18 +0200 (SAT) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Here's an output of my ifconfig: > ... > vx0: flags=8a43 mtu 1500 > inet 146.164.63.4 netmask 0xffffff00 broadcast 146.164.63.255 > ipx 92a43f00.60H > ether 00:60:97:a7:ab:42 ... > > Why does the vx0 interface gets the .60H node address instead of 006097a7ab42 ? I would guess that it is because the vx driver define struct vx_softc with something before struct arpcom. As far as I know it should start its structure with "struct arpcom", because the arp code and also ether_ioctl depends on it being right at the beginning. Try moving "struct arpcom arpcom" to before "int unit" in "struct vx_softc" in the file sys/dev/vx/if_vx_reg.h. John -- John Hay -- John.Hay@mikom.csir.co.za