From owner-freebsd-questions@FreeBSD.ORG Thu Dec 17 15:14:35 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 3E2371065694 for ; Thu, 17 Dec 2009 15:14:35 +0000 (UTC) (envelope-from igorr@canmos.ru) Received: from sta1.canmos.ru (sta1.canmos.ru [89.107.124.11]) by mx1.freebsd.org (Postfix) with ESMTP id E98CE8FC12 for ; Thu, 17 Dec 2009 15:14:34 +0000 (UTC) Received: from sta1.canmos.ru (sta1.canmos.ru [89.107.124.11]) by sta1.canmos.ru (Postfix) with ESMTP id 6106212723F; Thu, 17 Dec 2009 17:46:13 +0300 (MSK) Date: Thu, 17 Dec 2009 17:46:13 +0300 (MSK) From: "Igor V. Ruzanov" To: Sandra Kachelmann In-Reply-To: <91b92520912170609h2b4d9e8fv8c380924130e04fa@mail.gmail.com> Message-ID: References: <91b92520912140623n188e2dd7h1b9115f36faef2ac@mail.gmail.com> <91b92520912170609h2b4d9e8fv8c380924130e04fa@mail.gmail.com> X-GPG-PUBLIC-KEY: 1024D/494AF6DC 2008-03-20 Igor V. Ruzanov X-GPG-FINGERPRINT: A723 B6CC 11ED A4E2 1909 C4DC 6EDE 9089 494A F6DC MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: questions@freebsd.org Subject: Re: 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 15:14:35 -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. | Under FreeBSD (as well as under Linux) you could use Zebra (Zebra/Quagga projects) to configure any interfaces/routing specific things. +-------------------------------------------+ ! CANMOS ISP Network ! +-------------------------------------------+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: igorr@canmos.ru ! +-------------------------------------------+