Releasing a DHCP lease

I was getting a bogus IP from my ISP the other day and my FreeBSD firewall was having a tough time getting connectivity. I found this page:

http://www.moundalexis.com/archives/000054.php

which says this:

In this case the active interface is sis0, so here is the command to run.

# /sbin/dhclient -r sis0

Now occasionally that may not work as quickly as you might like. If you want to force it, you can restart the networking components by hand.

# /etc/netstart

Saved my bacon!

categories: /tech/freebsd
posted on Tue, 05 Jul 2005 at 10:43 | permanent link |