Numpty question

Paul Civati paul at xciv.org
Tue Oct 15 11:38:19 BST 2002


Neil Ford <neil at smudgypixels.net> wrote:

> Okay, this is something I should know but for some reason it never
> sticks around....
> 
> How does one restart networking services without rebooting the box?

# route delete default
# ifconfig fxp0 x.x.x.x netmask y.y.y.y up
# route add default z.z.z.z

> I have a colo box on which I need to change the IP address and don't
> want to reboot if I can possibly help it.

You may also then need to restart any processes that are specifically
bound to the individual interface IP rather than *:port, check with:

  % netstat -an | grep LISTEN

-Paul-





More information about the Ukfreebsd mailing list