comp.os.linux.networking
[Top] [All Lists]

Re: What's the right way to switch a system from DHCP client to static I

Subject: Re: What's the right way to switch a system from DHCP client to static IP# ?
From: Rolf Arne Schulze
Date: Sat, 14 May 2005 20:21:09 +0200
Newsgroups: comp.os.linux.networking
On 14 May 2005 13:44:39 -0400, Al Dykes wrote:
> In article <Sf-dnQP5wJCYrxvfRVn-1A@xxxxxxxxxx>,
> James Knott  <james.knott@xxxxxxxxxx> wrote:
>>Al Dykes wrote:
>>
>>> 
>>> I've got a machine that was set up to get an ip from a dhcp server.
>>> It seems that all I have to do is edit /etc/network/interfaces.
>>> 
>>> Is there anything else ?
>>
>>It might help, if you mentioned what distro you're running.
>
> In this case it's a basic debian sarge install.  

You probably have to put your nameservers in /etc/resolv.conf too. on
the form:

nameserver 123.123.123.123
nameserver 234.234.234.234

-- 
Rolf Arne Schulze
Trans-atlantic weightloss challenge: http://tawlc.net/
Min Weblog:                                 rolfas.net/">http://rolfas.net/
Small-/medium-size business server:                                 www.smubuntu.org/">http://www.smubuntu.org/

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy