Solutions to your doubts are just one click away. Just select the appropriate category and ask questions. You can also reply to the answers you are already aware.
The DHCP server hands out the IP address to the clients in the Local Area Network(LAN). It distributes IPs to all the nodes in the LAN (clients) and also provides IP Address of the Domain Name Server (DNS) and the default gateway.
The isc-dhcp-server package can be installed by running the below command in the terminal
apt install -y isc-dhcp-server
The basic configuration options are as follows
subnet 192.168.10.0 netmask 255.255.255.0 {
option routers 192.168.10.1 ;
option domain-name-servers 192.168.10.1 ;
range 192.168.10.10 192.168.10.150;
range 192.168.10.160 192.168.10.220
default-lease-time 600 ;
max-lease-time 7200 ;
# we want this server to be the only DHCP server in this network
server service was not there in default images so i think you have to setup the yocto in your PC and add package of dhcp server. please follow below link to setup the yocto:
Hi Ganesh,I want to ping a particular application from my RB so using that i want to establish a connection between RB and Application as server client to Send/Receive data
The DHCP server hands out the IP address to the clients in the Local Area Network(LAN). It distributes IPs to all the nodes in the LAN (clients) and also provides IP Address of the Domain Name Server (DNS) and the default gateway.
The isc-dhcp-server package can be installed by running the below command in the terminal
apt install -y isc-dhcp-server
The basic configuration options are as follows
subnet 192.168.10.0 netmask 255.255.255.0 {
option routers 192.168.10.1 ;
option domain-name-servers 192.168.10.1 ;
range 192.168.10.10 192.168.10.150;
range 192.168.10.160 192.168.10.220
default-lease-time 600 ;
max-lease-time 7200 ;
# we want this server to be the only DHCP server in this network
authoritative ;
}
just follow the yocto compilation procedure from the above link.
the yocto setup should be setup in the your HOST PC
server service was not there in default images so i think you have to setup the yocto in your PC and add package of dhcp server. please follow below link to setup the yocto:
Hi Ganesh, I want to ping a particular application from my RB so using that i want to establish a connection between RB and Application as server client to Send/Receive data
use below command to setup the client :
udhcpc eth0