From owner-freebsd-questions@FreeBSD.ORG Sun Oct 24 15:18:14 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 794BE16A4CE for ; Sun, 24 Oct 2004 15:18:14 +0000 (GMT) Received: from dnsmail3.ior.navy.mil (nocc.ior.navy.mil [205.56.210.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B16A43D48 for ; Sun, 24 Oct 2004 15:18:12 +0000 (GMT) (envelope-from JohnsoBS@vicksburg.navy.mil) Received: from cg69ubd01.vicksburg.navy.mil ([205.95.65.21]) i9OFFxL8030293; Sun, 24 Oct 2004 15:16:02 GMT Received: by CG69UBD01 with Internet Mail Service (5.5.2657.72) id ; Sun, 24 Oct 2004 18:21:20 +0300 Message-ID: From: JohnsoBS@vicksburg.navy.mil To: TM4525@aol.com, scrappy@hub.org Date: Sun, 24 Oct 2004 18:21:19 +0300 X-Mailer: Internet Mail Service (5.5.2657.72) cc: questions@freebsd.org Subject: RE: ifconfig alias: File Exists X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2004 15:18:14 -0000 > -----Original Message----- > From: TM4525@aol.com [mailto:TM4525@aol.com] > Sent: Sunday, October 24, 2004 5:13 PM > To: scrappy@hub.org > Cc: questions@freebsd.org > Subject: Re: ifconfig alias: File Exists > > > In a message dated 10/19/04 3:51:33 PM Eastern Daylight Time, > scrappy@hub.org > writes: > >> # ifconfig fxp0 alias 200.46.204.9 > >> ifconfig: ioctl (SIOCAIFADDR): File exists > >> > >> when I know for a fact that it hasn't been configured? > > > > you should use a netmask of 255.255.255.255 for ipv4 aliases. > > > > ifconfig fxp0 alias 200.46.204.9 netmask 255.255.255.255 > > >Is that new? You are right, that fixed it, but didn't think > I had to do > >that before :( > You get it because the guy who maintains ifconfig didn't have > the foresight > to realize the "alias" should imply a host mask, and also > that the guy who > coded the kernel code didn't think that assuming a host mask was > reasonable. > > Welcome to open source. Love it and live with it. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > To assume makes an ass out of u and me. Ok, that out of the way, the config you assume should be coded into ifconfig and kernel is not 100% going to be used all the time. In fact I have multiple nets and have multiple netmask assigned on the one machine. If you actually READ "man ifconfig" it states that this should be set to what you assume it should be. It helps when people don't attack things they don't fully understand cause for many it might be a person's first view at what you are bashing. Unfortunately also, many people aren't smart enough to get a second opinion or to try beyond there first try or someone person's like yourselfs comments.