Date: Mon, 7 Jan 2019 15:56:17 -0500 From: "James B. Byrne" <byrnejb@harte-lyne.ca> To: freebsd-questions@freebsd.org Subject: Re: FreeBSD-11.2 routing and networks Message-ID: <2c07a94a49c2d0fe3f510282ac624068.squirrel@webmail.harte-lyne.ca> 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 Mon, January 7, 2019 15:11, John Johnstone wrote: > > I haven't used service netif restart remotely but I would expect that > you would loose your connection if it was going through the default > gateway just as if you issued the ifconfig command manually. It has > the advantage though of taking the IP and gateway simultaneously from > rc.conf which allows you to re-establish your connection to the box > again after the changes are in effect. > This advantage is what I am trying to achieve. But, my experience has been that it is impossible to re-establish a remote connection with the host until after it has been rebooted. Issuing the commands: 'service netif restart && service routing restart &' has worked for me in the past on CentOS Linux hosts. But I cannot seem t get this combination to work on FreeBSd. -- *** 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2c07a94a49c2d0fe3f510282ac624068.squirrel>