Sebastien Roy wrote:
On Thu, 2006-10-12 at 12:33 -0700, W. Wayne Liauh wrote:
I am moving a laptop, which was connected to a cable modem via a D-Link
home router, to a different location, where the laptop is directly
connected a ClearWire modem without the router.
It appears that the DHCP client data for the former setup is cached,
and I am unable to make the latter connection.
Could this be true? If so, what will be the quickest way to remove the
DHCP cached data? Thanks.
There might be a better way, but the following might do the trick:
ifconfig <intf> dhcp release
ifconfig <intf> dhcp
Yes, the release should do the trick. One thing I recommend to anyone
using a laptop is to modify /etc/default/dhcpagent, uncommenting the line:
RELEASE_ON_SIGTERM=yes
This essentially ensures that leases won't be cached across reboot,
which is the behavior you'd usually prefer on a mobile system.
Dave
_______________________________________________
networking-discuss mailing list
[email protected]