From owner-freebsd-questions@freebsd.org Tue Jan 8 07:02:27 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5DE21491B8B for ; Tue, 8 Jan 2019 07:02:27 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (net-2-44-121-52.cust.vodafonedsl.it [2.44.121.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mailserver.netfence.it", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 746C471F24 for ; Tue, 8 Jan 2019 07:02:25 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.15.2/8.15.2) with ESMTPSA id x08729kj077180 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 8 Jan 2019 08:02:17 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu Subject: Re: FreeBSD-11.2 routing and networks To: freebsd-questions@freebsd.org References: <1a466d730772d5ceb62ddfb204c92db5.squirrel@webmail.harte-lyne.ca> <1e5a2c5bdc65f1cf8e2c5d12d6cec983.squirrel@webmail.harte-lyne.ca> <800a0ad3-03b9-e392-1dd9-aff94e6ad27d@tridentusa.com> From: Andrea Venturoli Message-ID: <7038d8fe-5cfc-b634-78a4-37c0dac39386@netfence.it> Date: Tue, 8 Jan 2019 08:02:09 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <800a0ad3-03b9-e392-1dd9-aff94e6ad27d@tridentusa.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 746C471F24 X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.79 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(0.34)[ip: (0.85), ipnet: 2.44.0.0/16(0.42), asn: 30722(0.34), country: IT(0.07)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; HAS_XAW(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.78)[0.781,0]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_SHORT(0.79)[0.794,0]; MX_GOOD(-0.01)[mx.netfence.it,mx.netfence.it,mx.netfence.it,mx.netfence.it,mx.netfence.it,mx.netfence.it,mx.netfence.it,mx.netfence.it]; NEURAL_SPAM_LONG(0.99)[0.988,0]; DMARC_NA(0.00)[netfence.it]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:30722, ipnet:2.44.0.0/16, country:IT]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2019 07:02:27 -0000 On 1/7/19 9:11 PM, John Johnstone wrote: > But if you were logged in remotely with IP routing taking place between > you and your box via your default gateway, as soon as you change your > IP, you'll orphan yourself because your box has no way to reach you > because your default gateway is gone. Usually I run these commands inside a screen session. I run "ifconfig ... ; route add ...", lose the ssh connection, ssh into the box again and resume screen. bye av.