Differences between revisions 13 and 14
Revision 13 as of 2013-07-05 11:13:12
Size: 1789
Editor: DarkErr
Revision 14 as of 2018-06-01 14:02:25
Size: 1835
Editor: RicardoCosta
Comment: Inserted the link to the brazilian page.
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablestyle="width: 100%;" style="border: 0px hidden">~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[de/DHCP_Client|Deutsch]] - [[fr/DHCP_Client|Français]] - [[it/DHCP_Client|Italiano]] - [[ru/DHCP_Client|Русский]] -~||<style="text-align: right;border: 0px hidden"> (!) [[/Discussion|Discussion]]|| ||<tablestyle="width: 100%;" style="border: 0px hidden">~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[de/DHCP_Client|Deutsch]] - [[fr/DHCP_Client|Français]] - [[it/DHCP_Client|Italiano]] - [[pt_BR/DHCP_Client|Português Brasileiro]] - [[ru/DHCP_Client|Русский]] -~||<style="text-align: right;border: 0px hidden"> (!) [[/Discussion|Discussion]]||

Translation(s): English - Deutsch - Français - Italiano - Português Brasileiro - Русский

(!) ?Discussion


See introduction of DHCP_Server.


There are different DHCP client packages around. The default for Debian seems to be dhcp-client. It is probably installed already, as you can check within aptitude. But to be sure you can run as root

aptitude install dhcp-client


Basic configuration

For a basic configuration you have to edit the file /etc/network/interfaces, which defines the interfaces of your computer. If you want to use eth0 as the interface to be configured through DHCP during boot up, add/edit the eth0-entry

auto eth0
iface eth0 inet dhcp

The different keywords have the following meaning:

auto: the interface should be configured during boot time.

inet: interface uses TCP/IP networking.

dhcp: the interface can be configured through DHCP.

That is all.

To change the system to use a static IP address (not dhcp), change the /etc/network/interfaces file to something like:

iface eth0 inet static

Advanced configuration

Consult the man pages of interfaces(5) (man interfaces) and dhclient(8) for more advanced options.