Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jul 2008 00:31:21 +0930
From:      Andrew D <andrewd@webzone.net.au>
To:        David Allen <the.real.david.allen@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Reconfiguring network interfaces
Message-ID:  <4870DE41.1080003@webzone.net.au>
In-Reply-To: <2daa8b4e0807060706s4e5f8aedqe2ce00ca33bd1b46@mail.gmail.com>
References:  <2daa8b4e0807060706s4e5f8aedqe2ce00ca33bd1b46@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
David Allen wrote:
> I need to make several wholesale changes to a few different systems,
> and I'd prefer to do it over SSH without losing connectivity where
> possible.  I know I can use ifconfig, or edit /etc/rc.conf directly
> and reboot, but is there a canonical way to make the changes in
> /etc/rc.conf and "reload" those changes to ensure everything is in a
> known state?  From what I can determine, running netif stop/start
> would work, but would require I do that locally.

You could also use the alias featue, adding the new ip, sshing into the 
new ip, and dump the old ip.

** Though I haven't tried this method personally. **

HTH
cya
Andrew

> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




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