From owner-freebsd-questions Mon Apr 26 18: 0:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id DE69E152FC for ; Mon, 26 Apr 1999 18:00:31 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id VAA28941; Mon, 26 Apr 1999 21:00:42 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199904270100.VAA28941@cc942873-a.ewndsr1.nj.home.com> Subject: Re: Problem with ifconfig aliases In-Reply-To: from Andy Dills at "Apr 26, 99 08:33:11 pm" To: andy@xecu.net (Andy Dills) Date: Mon, 26 Apr 1999 21:00:42 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Andy Dills wrote, > However, whenever I try to do this on reseller3, I get: > > reseller3# ifconfig ep0 inet 208.244.234.134 netmask 255.255.255.248 alias > ifconfig: ioctl (SIOCAIFADDR): File exists > > It then shows up in the ifconfig -a: > ep0: flags=8847 mtu 1500 > inet 208.244.234.132 netmask 0xfffffff8 broadcast 208.244.234.135 > inet 208.244.234.134 netmask 0xfffffff8 broadcast 208.244.234.135 > ether 00:20:af:1b:0c:97 > > However, the ip address is unpingable or unreachable in any way. This is > not the case with reseller2, which is running the same release (as shown > above) and is using the same type of ethernet card. > > Does anybody have any suggestions as to how I can correct or debug this? I believe the problem lies in the fact you are putting both addresses on the same LAN. Could you also send the output of 'netstat -rn' to verify this? What do pings and traceroutes return? When I set my own address to another on my LAN, I get the same error message and a messed up routing table. Why are you aliasing two addresses on the same LAN? I am not aware of a really good reason to do that. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message