static ip


Forum: Other Help Topics
Topic: static ip
started by: feest

Posted by feest on Sep. 18 2006,20:50
hi i'm running a server with dsl but i need to set a static ip (ip conflict with other pc) so how do i do this?
Posted by dtf on Sep. 19 2006,01:24
How can I enter and save my static IP settings?

To save static IP settings with backup/restore we need to make changes in two areas.

Boot the CD with the cheatcode dsl nodhcp or add nodhcp to the APPEND line in the Lilo or Grub bootloaders.

We need to add the static IP information to the /opt/bootlocal.sh file. This file is backed up in the /home/dsl/.filetool.lst file by default. For this step you will need to know the static IP, Default Gateway and DNS nameserver of your ISP. With this information your /opt/bootlocal.sh file should have the following entries.

ifconfig eth0 xxx.xxx.x.xx
route add default gw xxx.xxx.x.x
echo nameserver xx.xx.xxx.xx > /etc/resolv.conf
ifup eth0

With these two steps you should have your static connection up and running the next boot. Make sure you back them up!

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.