Configure network in unix with dynamic ip on my DHCP server?

can anyone tell me how can i configure network in unix with dynamic ip on my DHCP server??

# ifconfig eri0 dhcp start

replace the eri0 with your interface name
Anyways you can get interface name with issuing the

$ifconfig -a 
1 Like

can you explain more , i just started on unix yesterday?

Okay, good for you 1st of all post the output of the following command

$ ifconfig -a

it is running but with ip not in my dhcp (10.0.2.15)

---------- Post updated at 09:05 AM ---------- Previous update was at 09:01 AM ----------

i have avirtual box for unix , it makes virtual ip for it, how can i make unix have adynamic ip from my real server?

Do you mean the IP is static.
If so please post the output from the command

$ifconfig -a  

---------- Post updated at 07:07 PM ---------- Previous update was at 07:05 PM ----------

If you are using VirtualBox You need to bridge Virtual NIC to physical NIC to be able to see the DHCP server.

how can i copy the code , it doesnot paste anywhere? sorry for making you busy

---------- Post updated at 09:15 AM ---------- Previous update was at 09:10 AM ----------

i have fixed it ,thanks alot for your help

Sync the clipboard ( copy and paste buffer ) between your host machine and your guest machine in Virtualbox settings.
Then capture the output text from the terminal window and paste it here.