From owner-freebsd-net Sat Jun 8 6:15: 5 2002 Delivered-To: freebsd-net@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id 5F4C437B40A for ; Sat, 8 Jun 2002 06:15:01 -0700 (PDT) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [IPv6:fec0::1:12]) by Awfulhak.org (8.12.3/8.12.3) with ESMTP id g58DExKZ061293; Sat, 8 Jun 2002 14:15:00 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [IPv6:::1]) by hak.lan.Awfulhak.org (8.12.3/8.12.3) with SMTP id g58DEw9B099140; Sat, 8 Jun 2002 14:14:58 +0100 (BST) (envelope-from brian@Awfulhak.org) Date: Sat, 8 Jun 2002 14:14:58 +0100 From: Brian Somers To: "Joe T." Cc: freebsd-net@FreeBSD.ORG Subject: Re: problems with ifconfig aliases Message-Id: <20020608141458.1d12b1cb.brian@Awfulhak.org> In-Reply-To: <20020607003631.46478.qmail@web10105.mail.yahoo.com> References: <20020607003631.46478.qmail@web10105.mail.yahoo.com> X-Mailer: Sylpheed version 0.7.5claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 6 Jun 2002 17:36:31 -0700 (PDT), "Joe T." wrote: > Hi, > > Originally, I had created some aliases with the following command: > > # ifconfig dc0 alias 192.168.1.111 255.255.255.255 > # ifconfig dc0 alias 192.168.1.112 255.255.255.255 You forgot the netmask keyword. The missing keyword means that it tries to use 255.255.255.255 as the destination address and silently fails as the interface isn't a pointopoint interface. The failure is due to conflicting host route entries because you didn't give the correct netmask. -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message