ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning IP by dhcp

ivanovh
Occasional Contributor

Assigning IP by dhcp

Next question from this noob:) While connecting the server to my router; the server tries to receive an IP address by DHCP but 'no go'. I'm sure the router setup is good because all the other PC's receive their IP's and are connected correctly. All except my server... Any ideas. solutions?
7 REPLIES
Johan Guldmyr
Honored Contributor

Re: Assigning IP by dhcp

Hi :)

Is the DHCP on the same IP-network as the server? On some routers you have to put in dhcp-helper to point where the DHCP is located.

Does communication work if you set a static IP on the NIC?
Jimmy Vance
HPE Pro

Re: Assigning IP by dhcp

Since you didn't mention what model the server is, I'm just guessing here.

Does the server have multiple NICS? Maybe your not plugged into what the OS thinks is the first port. Due to the way various OS's enumerate the PCI bus what is marked as port one may appear to the OS as port two.



__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!   
ivanovh
Occasional Contributor

Re: Assigning IP by dhcp

Yes, the server is in the IP range of the router (or should be);
This is how the server is connected:
router-->hub-->server.
There are more PC's connected to the hub so the hub works correctly.
Dhanesh Amirthalingam
Regular Advisor

Re: Assigning IP by dhcp

Hi

If Ur are already did this pl z ignore this post!

did to disabled the static ip in all the nic ports

it means removed the ip addresses

Working of DHCP on a network


The way DHCP works is called DORA. Where the each letters of DORA are:

1. D-- DHCP Discovery

It is the process where DHCP client discover the DHCP server.

2. O--- DHCP Offer

In this process DHCP server offer an IP address to the client.

3. R---- DHCP Request

Here client request for an IP address to one of the DHCP servers in the network

4. A--- DHCP Acknowledgment

In this stage DHCP server send an acknowledgment to the client that the IP request is granted.


Set Automatic IP configuration by DHCP server from command prompt


The steps to set Automatic UP configuration from a DHCP server using command prompt are:

1. Click on start

2. Go to command prompt

3. Type the following command

netsh interface ip set address "Local Area Connection" dhcp

After typing the command press enter. The DORA will start now to get an IP address from DHCP server.

hope so it will help you
Dhanesh Amirthalingam
Regular Advisor

Re: Assigning IP by dhcp

Hi

If Ur are already did this pl z ignore this post!

did to disabled the static ip in all the nic ports

it means removed the ip addresses

Working of DHCP on a network


The way DHCP works is called DORA. Where the each letters of DORA are:

1. D-- DHCP Discovery

It is the process where DHCP client discover the DHCP server.

2. O--- DHCP Offer

In this process DHCP server offer an IP address to the client.

3. R---- DHCP Request

Here client request for an IP address to one of the DHCP servers in the network

4. A--- DHCP Acknowledgment

In this stage DHCP server send an acknowledgment to the client that the IP request is granted.


Set Automatic IP configuration by DHCP server from command prompt


The steps to set Automatic UP configuration from a DHCP server using command prompt are:

1. Click on start

2. Go to command prompt

3. Type the following command

netsh interface ip set address "Local Area Connection" dhcp

After typing the command press enter. The DORA will start now to get an IP address from DHCP server.

hope so it will help you


http://www.asset-management-software.org/
Johan Guldmyr
Honored Contributor

Re: Assigning IP by dhcp

Hi, yeah that is great..

so can the server work if you use static ip on it? maybe you have the tp-cable plugged into the iLO port?
Michal Kapalka (mikap)
Honored Contributor

Re: Assigning IP by dhcp

hi,

what about the security ???

maybe your dhcp server have a MAC adress assgning, so if your server is not in the access list on your rooter they dont accept your server, and this is the reason why your network on the server is not working.

mikap