From owner-freebsd-questions@freebsd.org Mon Apr 3 17:24:56 2017 Return-Path: Delivered-To: freebsd-questions@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 01D44D2BDC6 for ; Mon, 3 Apr 2017 17:24:56 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CAAD3E61 for ; Mon, 3 Apr 2017 17:24:55 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id 69FA26211E for ; Mon, 3 Apr 2017 13:24:48 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id naGI-2DbPmfJ for ; Mon, 3 Apr 2017 13:24:37 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id 760A261EAA for ; Mon, 3 Apr 2017 13:24:37 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1491240277; bh=mbZwkRb8d79OG/HXoqSzReRo+2JY9n+pjpts8LxPQcs=; h=Date:Subject:From:To:Reply-To; b=r69gZqQSCl/2gDqHGN7T87lKUjlONhL28rO16sJ/eIQ1oxoejGB76ZTouupanCqto 1xUD1S5evBiepXLJnHBfYkuk9mCjP7uuQ5xJzybmh706LR4jH3lsFOfykdSFCgfPaM XAykyMOlNsDsFsAe013O3C6HRWrY0c+JhllkYuKoYhGH58EAIbRBztSHsqz9dC2/CW GcdDipdTTagTBPlrWFPUbaSi+bnhCwtCgcJ17F+kOmPdTPdNF0rnMbaT4YdH7xCutv B4+iWb5AvqQrUxB4m728Y6Rt3NJQbXMDJ+O4tkuD4nQ0HiWKubwGvkfNV7w0DEim8h Mdqcyo+NRG4gQ== Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Mon, 3 Apr 2017 13:24:37 -0400 Message-ID: <671c3c7b7760af12cdb7f3a7b01e3c04.squirrel@webmail.harte-lyne.ca> Date: Mon, 3 Apr 2017 13:24:37 -0400 Subject: Jails (again) flushing the route table From: "James B. Byrne" To: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-4.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Apr 2017 17:24:56 -0000 I have these setting for two jails: ezjail-admin list STA JID IP Hostname Root Directory --- ---- --------------- ------------------------------ ------------------------ ZR 3 127.0.2.1 hllmx18 /usr/jails/hllmx18 3 em0|192.168.209.18 3 em0|192.168.209.218 ZS N/A 127.0.1.1 hlldns02 /usr/jails/hlldns02 N/A em0|192.168.209.33 On the host I see this: netstat -r Routing tables Internet: Destination Gateway Flags Netif Expire localhost link#3 UH lo0 192.168.209.0/24 link#1 U em0 192.168.209.41 link#1 UHS lo0 192.168.209.218 link#5 UH lo2 192.168.209.233 link#4 UH lo1 216.185.71.0/24 link#1 U em0 216.185.71.141 link#1 UHS lo0 Internet6: Destination Gateway Flags Netif Expire localhost link#3 UH lo0 fe80::%lo0/64 link#3 U lo0 fe80::1%lo0 link#3 UHS lo0 When I do this: route delete 192.168.209.233 Then I see this: route: writing to routing socket: Address already in use delete host 192.168.209.233 fib 0: gateway uses the same route 192.168.209.233 was formerly assigned to hlldns02. N/A em0|192.168.209.233 How do I remove this entry in the routing table? I had previously tried this without success: /etc/rc.d/netif restart && /etc/rc.d/routing restart -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3