Reconfiguring network interfaces

Andrew D andrewd at webzone.net.au
Sun Jul 6 15:12:22 UTC 2008


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list