Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2002 14:14:58 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        "Joe T." <auximini@yahoo.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 6 Jun 2002 17:36:31 -0700 (PDT), "Joe T." <auximini@yahoo.com> 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 <brian@Awfulhak.org>                       <brian.somers@sun.com>
      <http://www.Awfulhak.org>;                <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour !       <brian@[uk.]OpenBSD.org>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020608141458.1d12b1cb.brian>