From owner-freebsd-questions@FreeBSD.ORG Mon Jan 28 23:08:50 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 53E783F2 for ; Mon, 28 Jan 2013 23:08:50 +0000 (UTC) (envelope-from markus.hoenicka@mhoenicka.de) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.31.36]) by mx1.freebsd.org (Postfix) with ESMTP id 026452D8 for ; Mon, 28 Jan 2013 23:08:49 +0000 (UTC) Received: from [93.132.119.123] (helo=wombat.mininet) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1TzxoR-0004sR-6N for freebsd-questions@freebsd.org; Tue, 29 Jan 2013 00:08:27 +0100 X-Mailer: emacs 24.2.1 (via feedmail 11-beta-1 I); VM 8.1.2 under 24.2.1 (amd64-portbld-freebsd9.0) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20743.1328.684144.654036@wombat.mininet> Date: Tue, 29 Jan 2013 00:09:36 +0100 To: freebsd-questions@freebsd.org Subject: how do I restart lagg0 properly? From: markus.hoenicka@mhoenicka.de X-Df-Sender: NDcyNTgy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2013 23:08:50 -0000 Hi, I've tried to setup link aggregation to allow networking through WLAN and ethernet on my laptop, see: http://lists.freebsd.org/pipermail/freebsd-questions/2013-January/248605.html (this thread contains my network setup information) The lack of replies may indicate that it is not possible to set up lagg in a way which allows to setup networking either via WLAN or via ethernet, whichever is accessible during boot. In any case I figured that I should be able to bring down networking completely and restart it completely after I plugged in a LAN cable to work around this limitation. I tried things like: service netif restart lagg0 I understand that both routing and DHCP will be affected by temporarily bringing down the network, so I added commands like these in various orders: service routing restart service dhclient restart All in all, to no avail. I can't even ping my DSL router after fiddling with lagg0 after boot. What is the correct incantation of commands to cleanly shut down and restart my networking? thanks, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38