[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Switching from dynamic IP to static IP



On Wed, 16 Feb 2005 20:47:32 +0100 (CET)
"Vegard Lundby Rekaa" <vegardlr@student.matnat.uio.no> wrote:

> >  --- Tong <mlist4suntong@yahoo.com> wrote:
> >> Hi,
> >>
> >> My IP get changed by my router from time to time,
> >> and there is no way to
> >> assign a fixed IP from the router side.
> >>
> >> So I need to switch from dhcp to static IP.
> >
> >> However, I found that the file
> >> /etc/sysconfig/network does not exist in
> >> Debian. What files should I change in Debian?
> >> Thanks.
> >
> > /etc/network/interfaces
> >
> > change 'dhcp' to 'static'
> >
> > then add
> >
> > address xxx.xxx.xxx.xxx
> > netmask xxx.xxx.xxx.xxx
> > gateway xxx.xxx.xxx.xxx
> >
> > :)
>
> I'm a newbie on this, and I wonder:
> Does this make the IP static also when the DSL-company has a server
> wich decides my IP. It seems like the dymanic IP changes every time I
> reboot.-- 

Unfortunately, no. If your isp assigns your ip dynamically, you have to
use dhcp, which means your ip will continue to change.

HTH,
Jacob



Reply to: