From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 14:09:20 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F605106566B for ; Thu, 17 Dec 2009 14:09:20 +0000 (UTC) (envelope-from s.kachelmann@googlemail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id CC3158FC0A for ; Thu, 17 Dec 2009 14:09:19 +0000 (UTC) Received: by fxm27 with SMTP id 27so1943234fxm.3 for ; Thu, 17 Dec 2009 06:09:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=/XDQZQm2SmmfmOCUXo12U7/Qbb0GYdeLPmtnwXOVR4U=; b=Zgvlj4u7tDr97GKLuJf0INm2rKFwqmWF38n96NCT3Xk5Q6c+ExJV6LDn3/RLOeH4cc iqqhrU51HSyGQF7j5d8uE7cEM0+vODlXqy6dIuzKIi+PDSe2WDrq31JJXeK8y3Okg4rg WzJzHZrW8vpzRZ+iZQCrw0LzFshCUPrGa5h9o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Rx0RAs9injmixyoplaklDsCBkQ1M9yYdaqTjevLi5qeMlfYPtFOniJWw2XUF7uAFqa nM5gEG3Y5sKgy8Y93tLB+bdF1JoB93HBoWYZCPmjX4/8xKfijrfnL3GBJtFct5QtZaG9 zW0AUYlqhkDiTZpvvaE2W1E9TflfFJp60uyUQ= MIME-Version: 1.0 Received: by 10.239.143.214 with SMTP id l22mr269866hba.167.1261058958633; Thu, 17 Dec 2009 06:09:18 -0800 (PST) In-Reply-To: <91b92520912140623n188e2dd7h1b9115f36faef2ac@mail.gmail.com> References: <91b92520912140623n188e2dd7h1b9115f36faef2ac@mail.gmail.com> Date: Thu, 17 Dec 2009 15:09:18 +0100 Message-ID: <91b92520912170609h2b4d9e8fv8c380924130e04fa@mail.gmail.com> From: Sandra Kachelmann To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: ifdown/ifup under FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 14:09:20 -0000 Under RedHat Linux I can configure an interface, routes and so on in /etc/sysconfig/network-scripts/ifcfg-eth1, /etc/sysconfig/network-scripts/routes-eth1 then simply run: $ ifup eth1 and it will set all the routes/netconfig/aliases I just configured. Is there something similar in FreeBSD? I tried configuring aliases in /etc/rc.conf and running: $ /etc/rc.d/netif restart but that just ended in errors that the route was already configured and so on. Sure I could do all the work manually with ifconfig and route but that's not my question. Sandra