Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 1998 09:54:54 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Robert Deuerling <deuerl@baerle.indra.de>
Cc:        questions@FreeBSD.ORG
Subject:   Re: bug in ifconfig ?
Message-ID:  <19980208095454.46967@freebie.lemis.com>
In-Reply-To: <199802071004.LAA09824@baerle.indra.de>; from Robert Deuerling on Sat, Feb 07, 1998 at 11:04:50AM %2B0100
References:  <19980207111341.20019@freebie.lemis.com> <199802071004.LAA09824@baerle.indra.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat,  7 February 1998 at 11:04:50 +0100, Robert Deuerling wrote:
>> On Fri,  6 February 1998 at 11:53:58 +0100, Robert Deuerling wrote:
>>> Hello :-)
>>>
>>> can somebody please check if there's a bug in ifconfig ?
>>>
>>> the problem is: doing a:
>>>
>>> ifconfig vx0 alias X.X.X.X netmask 0xffffffff
>>>
>>> ifconfig -a shows an entry for this item.
>>
>> That means it is in the kernel configuration.  Why don't *you* show
>> what ifconfig says?
>>
>>> BUT: no ping is succcessful
>>>
>>> kernelmsgs show:
>>>
>>> arpresolv: can't allocate llinfo for X.X.X.X
>>>
>>> any idea ?
>>
>> Yes.  Show us the details.
>
> Hi guys :-)
>
> just an update ....
>
> ifconfig shows:
> inet 193.158.1.137 netmask 0xffffffff broadcast 193.158.1.137
>
> netstat -rn shows:
> 193.158.1.137      193.158.1.137      UH          0        0       vx0 =>
>                    ^^^^^^^^^^^^^                                   ^^^
> 193.158.1.137/32   link#1
>
> so here's the bug ;) no alias is really made...
>
> FIX:
> I deleted the route added by ifconfig... and voila, everythings ok...
> I can ping the address..
>
> so.. seems to be a bug ;) -> already sent an PR

Since this is only half the output, it's impossible to decide what's
going on here.  I hope your PR makes more sense.

Greg



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