From owner-freebsd-questions@freebsd.org Mon Jan 7 23:37:42 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 1F30414A2CEB for ; Mon, 7 Jan 2019 23:37:42 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2DC2986CEE for ; Mon, 7 Jan 2019 23:37:40 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: by mail-ot1-x32a.google.com with SMTP id e12so1948327otl.5 for ; Mon, 07 Jan 2019 15:37:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=s9Unx2B2rEmN0S+UsIi/pbc2QJzf9IJhZ/XHPU9psIg=; b=YC/AGG5kSIL/1kZJOtbz1iOyKGs18SA/BsTGK4ANLem1wvNA/IUtCyj/9Nl72z4CYH Bj+HuTq9TrCthV97xdayhaYD4RQDvoM0ejYaXZiqTlrz1a6AAqjm50lijPp5o3BU/+Jv U5q30v4UjkiwdMD32DnwHqz62gY//Ls5Z3M+O+dr7cXHHBDAay6/zC76JgaHb+/vLYTH 67kKosNT70IhwIK1gs5jzZSRfCT9PAl0jV6nobK1jqytN9EeSB20IYZ7w6UZsMYXKfEu xZCPbmCg9KjeKG+bEihgW7TDRdLmNJV/bL9zBzTKitEhRq3OMu4umXEnJTWbyA1dAmbq l2Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=s9Unx2B2rEmN0S+UsIi/pbc2QJzf9IJhZ/XHPU9psIg=; b=dPYZXSCx+I67HLo1cLAAKTAqL2PZro8aznNKAWyHn1y5Nn+r4MvZ5edQ+IhJ5lT9FM jyU7n/D1FVE5K18FNvkVnikPv20+Cw6JH3tskDd2zSZohTcnN1/tDINe0SoJhHvBksYk t5pTcDIdh7r61TK3MnXj9AdryVrhs+90r3/VryN3yZUDsJhY5HU2UjRwDEJLkALbGPZO aTDoMwFEWyPFy39PWWh5aA52qBhXIF/sVpqZdeuAAN5+JR1R5J+aoeYvI4hQzYgc1qHT 0lvziUqiSDOQgC8QxK5wrhUNC6P1Ov3mmULzAMglBYsZUa0ArGB4Cw8m+Xp+qXryCO/o mYhQ== X-Gm-Message-State: AJcUukf3+xnFh7eEsexkLQtCwDKQGDs9ZYJkD5e+9fyhOcWwP1qy7YdB n7bch1ChXrAiX8icwyo4e41OsZ7I6WlAoYiyyFk8bBRN X-Google-Smtp-Source: ALg8bN6QJXIK7A4vrf3IzkzGKF8fJUf6c2A8G5GsMxeWe0zv824s3SH97cm8YeY/TnIc1oGpCQxdfa/Nag96mZHoeek= X-Received: by 2002:a9d:664f:: with SMTP id q15mr47616103otm.282.1546904258405; Mon, 07 Jan 2019 15:37:38 -0800 (PST) MIME-Version: 1.0 References: <1a466d730772d5ceb62ddfb204c92db5.squirrel@webmail.harte-lyne.ca> <1e5a2c5bdc65f1cf8e2c5d12d6cec983.squirrel@webmail.harte-lyne.ca> <800a0ad3-03b9-e392-1dd9-aff94e6ad27d@tridentusa.com> <2c07a94a49c2d0fe3f510282ac624068.squirrel@webmail.harte-lyne.ca> In-Reply-To: <2c07a94a49c2d0fe3f510282ac624068.squirrel@webmail.harte-lyne.ca> From: "Kurt Buff - GSEC, GCIH" Date: Mon, 7 Jan 2019 15:37:26 -0800 Message-ID: Subject: Re: FreeBSD-11.2 routing and networks To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 2DC2986CEE X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=YC/AGG5k; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kurtbuff@gmail.com designates 2607:f8b0:4864:20::32a as permitted sender) smtp.mailfrom=kurtbuff@gmail.com X-Spamd-Result: default: False [-4.27 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.47)[-0.469,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.79)[ipnet: 2607:f8b0::/32(-2.21), asn: 15169(-1.68), country: US(-0.08)]; RCVD_IN_DNSWL_NONE(0.00)[a.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_DN_EQ_ADDR_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: Mon, 07 Jan 2019 23:37:42 -0000 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 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"