Information Computer

Friday, August 19, 2011

Renew IP Dynamic With Command Linux

a time when I tried DHCP on linux debian server. I got a problem. the problem is not on its server. but on his client. client computer using ubuntu linux 11.04. the problem is when the DHCP server has been completed the client computer can not renew its IP with the IP that is given by the server.

I try to set in the edit connection. but to no avail. I have to browse the final choice to solve this problem. I have tried a few keywords. from keyword "DYNAMIC IP" to "HOW TO ADJUST THE DYNAMIC IP" and everything nothing works. until the end I was dragged into a forum to discuss Linux. and that's where I found the answer.

turned out to renew dynamic IP obtained from DHCP server. requires only a very simple command. The following command syntax to renew dynamic IP.

#dhclient interfaces

example :

#dhclient eth0

This command is valid only in the root user. if you have not as root you need to login as root with the following command.

$sudo su


$su root

or you can also command the following for brevity

$sudo dhclient interfaces


$sudo dhclient eth0

good luck and thank :)

need to know! 
An Internet Protocol address (IP address) is a numerical label assigned to each device (e.g., computer, printer) participating in a computer network that uses the Internet Protocol for communication. An IP address serves two principal functions: host or network interface identification and location addressing. Its role has been characterized as follows: "A name indicates what we seek. An address indicates where it is. A route indicates how to get there."

The designers of the Internet Protocol defined an IP address as a 32-bit number and this system, known as Internet Protocol Version 4 (IPv4), is still in use today. However, due to the enormous growth of the Internet and the predicted depletion of available addresses, a new addressing system (IPv6), using 128 bits for the address, was developed in 1995, standardized as RFC 2460 in 1998, and is being deployed worldwide since the mid-2000s.

IP addresses are binary numbers, but they are usually stored in text files and displayed in human-readable notations, such as (for IPv4), and 2001:db8:0:1234:0:567:8:1 (for IPv6).

The Internet Assigned Numbers Authority (IANA) manages the IP address space allocations globally and delegates five regional Internet registries (RIRs) to allocate IP address blocks to local Internet registries (Internet service providers) and other entities.

Related Posts