How to explicitly drop dynamic network connection in favor of static one?
mcontla at gmail.com
Thu May 24 22:27:16 UTC 2007
On 5/24/07, Danny Colligan <dannycolligan at gmail.com> wrote:
> Therefore, I changed the entries in
> /etc/networks/interfaces to reflect the static values and did a sudo
> /etc/init.d/networking restart. This, however, did not make the
> server drop the dynamic connection. I eventually accomplished this by
> the Windows universal solution (i.e. a reboot) and then the server
> used the static address.
> My question is, what would be the "right way" to do this? That is,
> explicitly drop the DHCP connection in favor of the static one without
> Thanks in advance,
> Danny Colligan
Assuming eth0 and correct /etc/network/interfaces
$ sudo ifdown eth0
$ sudo ifup eth0
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-users