|
Installing DHCP on Windows NT Systems
(You must have administrative privileges for this.)
- Open the control panel.
- Open Network.
- Select the protocol tab.
- Select TCP/IP Protocol.
- Click properties.
- Select the IP Address tab.
- Select "Obtain an IP address from a DHCP server".
- Select the DNS tab.
- Clear any fields that are set.
- Close the properties window by clicking OK.
- Close the network window by clicking OK.
- Plug your computer into a network jack and reboot. You should be connected to the network
Installing DHCP on Windows 98 Systems
- Open the control panel.
- Open Network.
- Select the protocol tab.
- Select the line that says "TCP/IP -> ____" where the blank contains the name of your Ethernet adapter.
- Click properties.
- Select the IP Address tab.
- Select "Obtain an IP address automatically".
- Click the DNS tab.
- Select disable DNS.
- Click the Gateway tab.
- Clear any fields.
- Close the properties window by clicking OK.
- Close the network window by clicking OK.
- Plug your computer into a network jack and reboot. You should be connected to the network.
Installing DHCP On Macintosh Computers
- Open the control panel.
- Open TCP/IP.
- Under Configure select DHCP.
- Close the TCP/IP window.
- Plug your computer into a network jack and reboot. You should be connected to the network
Installing DHCP on Debian 2.2 Linux Systems
- Check if dhcpcd is installed. If not, download dhcpcd package "dhcpcd_version.deb" (where version is the version number, e.g. dhcpcd_1.3.17pl2-8.deb)
from http://linux.bnl.gov/debian/dists/stable/main/binary-i386/net/
or http://ftp.debian.org/debian/dists/potato/main/binary-i386/net/
-
Unpack the deb package:
dpkg -i dhcpcd_version.deb
and follow the instructions. When asked interfaces for DHCP, choose eth0.
You'll be assigned a dynamic IP address, as can be seen by "ifconfig"
In debian 2.2, networking is started with /etc/init.d/networking script, with configurations in /etc/network/interfaces. In order to avoid the configuration of the previous static IP address you might be using, please comment out the static IP eth0 configuration and enable dhcp for eth0 (uncomment the following line) in /etc/network/interfaces:
iface eth0 inet dhcp
You can use ifup/ifdown eth0 to activate/deactivate the network.
To go back to static IP, change "IFACE=eth0" to "IFACE=none" in /etc/dhcpc/config, and reconfigure the eth0 in /etc/network/interfaces to the appropriate IP settings. Don't forget to edit the file /etc/resolv.conf for your nameservers (in dhcp mode, /etc/resolv.conf is linked to /etc/dhcpc/resolv.conf, which is assigned by the dhcp server in NSLS.)
For more information see http://linuxdoc.org/HOWTO/mini/DHCP/index.html
Installing DHCP on Redhat Linux Systems
For Redhat >5.2 (tested on Redhat 7.1) with ethernet connection eth0
- As root, type "control-panel".
- Select Network Configuration"
- Click on "interfaces"
- Select "eth0" and then "Edit"
- Selete numbers in the IP address and netmask fields
- Select "DHCP" from "Interface Configuration Protocol"
- Select "Done", go back and "activate" eth0
- Choose "Save" and "Quit"
- Type "/sbin/ifconfig" in the terminal, You should see something
like
eth0 Link encap:Ethernet HWaddr 00:60:97:9F:95:C4
inet addr:130.199.193.99 Bcast:130.199.193.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17802846 errors:0 dropped:0 overruns:0 frame:0
TX packets:11532493 errors:0 dropped:0 overruns:0 carrier:4
collisions:918278
Interrupt:9 Base address:0x9500
where "inet addr" is the newly assigned IP address from the DHCP
server.
- Nameserver /etc/resolv.conf should be edited to be
nameserver 130.199.128.31
search nsls.bnl.gov
To go back to fixed (static) IP address, reconfigure in
"control-panel".
For more information see http://linuxdoc.org/HOWTO/mini/DHCP/index.html
Installing DHCP on Other Linux Distributions
See http://linuxdoc.org/HOWTO/mini/DHCP/index.html
|