Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2019 15:37:26 -0800
From:      "Kurt Buff - GSEC, GCIH" <kurt.buff@gmail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD-11.2 routing and networks
Message-ID:  <CADy1Ce4UMwAz-RJtzPyNAXEKuH0iACk=ZgHRG43aja0m-qe7AQ@mail.gmail.com>
In-Reply-To: <2c07a94a49c2d0fe3f510282ac624068.squirrel@webmail.harte-lyne.ca>
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> <2c07a94a49c2d0fe3f510282ac624068.squirrel@webmail.harte-lyne.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
How about setting a cron job before making the changes? Set it for 10
minutes into the future, perhaps.

Kurt

On Mon, Jan 7, 2019 at 12:58 PM James B. Byrne via freebsd-questions
<freebsd-questions@freebsd.org> wrote:
>
>
>
> 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
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADy1Ce4UMwAz-RJtzPyNAXEKuH0iACk=ZgHRG43aja0m-qe7AQ>