linux automatically obtain ip LAN via DHCP

First, we want to use DHCP, DHCP management tools need to be installed on the windows, as a tool to automatically assign ip

This tool can be downloaded online search

 

 

Click Next.

 

 

Note: 192.168.2.1 ip is the development board and the network card connected to your computer, can not be other, which is said to give the network port automatically assigned, is that the port development board and connected to the computer, followed by the development board will be available here ip, then the next step

 

 Select dispensed from between 2-254

 

 

Then write configuration

 

First install and then start

 

 

 

 

 

 

 

 

Use: udhcpc -i eth0 command, set by the eth0 dhcp ip access 

Guess you like

Origin www.cnblogs.com/ChenChangXiong/p/11039307.html