On Sun, 14 Dec 2003 08:31:17 -0500, Buck Turgidson <(E-Mail Removed)> wrote:
> I have a 2 Linux and 1 Windows machine at home on a network behind a LinkSys
> BEFSR41 router. Everytime there is a power outage, or other disruption, all
> the IP addresses get reset, and I have to change all the host files,
> forwarding, etc.
>
> Is there a way to assign the machines a static address, rather than have the
> router act as a DHCP server?
Yes, just make sure that the static IPs are in the same network, but
outside of the DHCP assigned range. However, when assigning static IPs,
you also need to set gateway and nameservers (/etc/resolv.conf in Linux).
You can get a clue of current settings by checking ifconfig, route -n, and
/etc/resolv.conf in Linux before changing anything. In windows you can
either check settings with Start, Run, winipcfg (Win9x/ME) or 'ipconfig
/all' in a command window of NT,2k,XP. Then check DHCP range of your
Linksys and use a static IP where number after last dot is outside that
range.
Some gateway/routers (like my Dlink DI-704) can actually dhcp assign
static IPs by MAC address, but that may be rare.
--
David Efflandt - All spam ignored
http://www.de-srv.com/