Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2008 07:31:29 -0400
From:      "Glen Barber" <glen.j.barber@gmail.com>
To:        "Jordi Espasa Clofent" <jespasac@minibofh.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Change netmask with /etc/rc.d/network restart or reboot the machine?
Message-ID:  <4ad871310809160431j4adfc578g71afc242e8ead3b3@mail.gmail.com>
In-Reply-To: <48CF930B.4020704@minibofh.org>
References:  <48CF930B.4020704@minibofh.org>

next in thread | previous in thread | raw e-mail | index | archive | help
You could change the interface settings in rc.conf, and
/etc/rc.d/netif <interface> restart.  I've added/removed aliased
interfaces in a similar fashion, and haven't experienced hiccups.

You should, however, double check your service applications that
listen on particular IP addresses to make sure they are going to
behave after netif restarts, as well as after a reboot.  Certain
changes, for example apache, require the service to be restarted as
well.

Regards.
-- 
Glen Barber



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ad871310809160431j4adfc578g71afc242e8ead3b3>