Date: Thu, 17 Dec 2009 17:46:13 +0300 (MSK) From: "Igor V. Ruzanov" <igorr@canmos.ru> To: Sandra Kachelmann <s.kachelmann@googlemail.com> Cc: questions@freebsd.org Subject: Re: ifdown/ifup under FreeBSD? Message-ID: <Pine.LNX.4.64.0912171741390.14221@sta1.canmos.ru> In-Reply-To: <91b92520912170609h2b4d9e8fv8c380924130e04fa@mail.gmail.com> References: <91b92520912140623n188e2dd7h1b9115f36faef2ac@mail.gmail.com> <91b92520912170609h2b4d9e8fv8c380924130e04fa@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
|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 ! +-------------------------------------------+
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.64.0912171741390.14221>