Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2019 08:02:09 +0100
From:      Andrea Venturoli <ml@netfence.it>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD-11.2 routing and networks
Message-ID:  <7038d8fe-5cfc-b634-78a4-37c0dac39386@netfence.it>
In-Reply-To: <800a0ad3-03b9-e392-1dd9-aff94e6ad27d@tridentusa.com>
References:  <1a466d730772d5ceb62ddfb204c92db5.squirrel@webmail.harte-lyne.ca> <CAAdA2WOmxwN=JQw0=9X8KeVqbEWaMaMKv3gNHNhyE4SbR737uw@mail.gmail.com> <1e5a2c5bdc65f1cf8e2c5d12d6cec983.squirrel@webmail.harte-lyne.ca> <800a0ad3-03b9-e392-1dd9-aff94e6ad27d@tridentusa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7038d8fe-5cfc-b634-78a4-37c0dac39386>