From owner-freebsd-hackers@freebsd.org Fri Apr 10 15:35:12 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D9EE52C0FA2 for ; Fri, 10 Apr 2020 15:35:12 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48zMXG1TBdz4C4h for ; Fri, 10 Apr 2020 15:35:09 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 03AFZ55a042156 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 10 Apr 2020 17:35:05 +0200 (CEST) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1586532905; bh=1vMmGddgkrFn08hBWBkOPicLfMrrtyTAOZYS5ydglrc=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=RP4TiKwI2PwxtZEcHs6qjd4Jwi4+4R7O7XwOPjvQzW/AW7hNzXdRdN6eA/gifbEof +KHATzf9wjdMPBkjsrktyhkZ87T1km1T7vjBO71VAn8SktKVhBRgyi5OOHkQ8qQDQW IivrzrkoY9tqNhEVFZ5mPJvWMRaD26T4t5fQdqP0= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 03AFZ44u042148; Fri, 10 Apr 2020 17:35:05 +0200 (CEST) (envelope-from puchar-wojtek@puchar.net) Date: Fri, 10 Apr 2020 17:35:04 +0200 (CEST) From: Wojciech Puchar To: Eugene Grosbein cc: Wojciech Puchar , freebsd-hackers@freebsd.org Subject: Re: FreeBSD 12, arp -s/-f cannot allocate memory In-Reply-To: <36079a44-0fdd-2eec-cf6d-c54ef92a6f0d@grosbein.net> Message-ID: References: <36079a44-0fdd-2eec-cf6d-c54ef92a6f0d@grosbein.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 48zMXG1TBdz4C4h X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=RP4TiKwI; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-3.82 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.52)[ip: (-6.68), ipnet: 194.1.144.0/24(-3.34), asn: 43476(-2.67), country: PL(0.06)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2020 15:35:12 -0000 > >> arp in FreeBSD 12 cannot fill static entries for interface that is set to up by ifconfig but no cable plugged. >> it says "cannot allocate memory" >> when cable is plugged it works properly. >> why? > > No enough information, you should describe your network configuration in details. > > Maybe the interface in question obtains IP address via DHCP and it cannot be configured without cable plugged in, More details when i will be able to log in to this computer (now it's powered off). No - all interfaces are statically configured. The one i talk about is re(4) with 10.1.0.1/24 address. No DHCP client. No devd running. But dhcpd runs on re0.