How to explicitly drop dynamic network connection in favor of static one?
Mitch Contla
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
> rebooting?
>
> Thanks in advance,
>
> Danny Colligan
Assuming eth0 and correct /etc/network/interfaces
$ sudo ifdown eth0
edit /etc/network/interfaces
$ sudo ifup eth0
--
Mitch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070524/79825a32/attachment.html>
More information about the ubuntu-users
mailing list