From owner-freebsd-net@freebsd.org Tue Dec 12 09:44:53 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DEB5FE92E4B for ; Tue, 12 Dec 2017 09:44:53 +0000 (UTC) (envelope-from thomas@gibfest.dk) Received: from mail.tyknet.dk (mail.tyknet.dk [144.76.253.226]) (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 A0F90741CD for ; Tue, 12 Dec 2017 09:44:53 +0000 (UTC) (envelope-from thomas@gibfest.dk) Received: from [10.137.3.13] (217.71.4.82.static.router4.bolignet.dk [217.71.4.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.tyknet.dk (Postfix) with ESMTPSA id BCB06BA0540; Tue, 12 Dec 2017 09:44:49 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.tyknet.dk BCB06BA0540 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gibfest.dk; s=default; t=1513071889; bh=6ig1DOX1bJVBH0JSSSAqBPwoWAIdGkP96parCMNAN6A=; h=Subject:To:References:From:Date:In-Reply-To; b=ui3cRii759Ggy7ur0gcJI29R2FcL1+jeJpBrAdaW8ZGxYADuPudxTbDDyNxfVV/0D X/JHYqtcHkNFgcJAcV2m9xRqIi/xbyUUIN2W3bCdwLdyoN0eMeQoctpP4/LyyBpk7x eUaSPTDvxeIjUUjrz/tFEaNX2JgiFyFtjRAxw8gSEzbynFJ4i9a2xBojUa8nyEJ1cR BNHPaGHLdR9kz16JmoqJFOUJvppSwWe4rvDuWx+b054/wtQ1VNt3FLtXRTsWjc3XSi lYp128TwHwToLMSkKj40ugiGxnuqzmR7WkadHqBUjdMru1u+O5DbvvcrEGbi8XhRnM J3gA43HoizaDg== Subject: Re: Changes to route(8) or routing between r325235 and r326782? To: Eugene Grosbein , freebsd-net@freebsd.org References: <5A2F8BC2.6000105@grosbein.net> From: Thomas Steen Rasmussen Message-ID: <2b2e3b28-f29d-b507-cb81-801666ad4ddf@gibfest.dk> Date: Tue, 12 Dec 2017 10:44:49 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <5A2F8BC2.6000105@grosbein.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Dec 2017 09:44:54 -0000 On 12/12/2017 08:56 AM, Eugene Grosbein wrote: > On 12.12.2017 09:31, Thomas Steen Rasmussen wrote: > >> After upgrading to r326782 I get the following error when trying to >> delete the lo0 entry (I have an rc.d script to do it): >> >> $ sudo route delete 185.96.180.10 >> route: writing to routing socket: Address already in use >> delete host 185.96.180.10 fib 0: gateway uses the same route >> $ >> >> What gives? What do I do now? :) > You should be using jail+vnet in first place that allows you to get desired behaviour > by assigning an interface to distinct jail. Take a look at jail(8) manual page > for vnet and vnet.interface parameters. > Hello, Thanks, I am aware of vnet and it's uses. I am looking for the reason why the current method doesn't work anymore. :) Switching 50+ jails over to vnet is not something you "just do", the rewriting of firewall rules alone will be quite a job. I am also pretty curious as to what people have been doing to solve this over the last many years while waiting for vimage to become stable? Have people just not been firewalling between jails? Thanks :) /Thomas