Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Considering the question above if I have computer .. whose ip address is obtained by one of these 2 dhcp servers and I try to log in to 192.168.2.4 which device will I log on to .?

share|improve this question
2  
Fix the configuration as suggested by Rikon. –  dbasnett Jul 22 '11 at 15:37
4  
How about NOT having two dhcp servers? –  ErnieTheGeek Jul 22 '11 at 16:29
add comment

migrated from stackoverflow.com Jul 22 '11 at 16:19

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 7 down vote accepted

The two DHCPd servers should have different ranges, ie:

DHCP A: 192.168.2.1  - 50
DHCP B: 192.168.2.51 - 99
share|improve this answer
    
This isn't an answer, it's a recommendation. –  joeqwerty Jul 24 '11 at 18:32
add comment

The host that you log in to (I'm assuming you mean "connect to") isn't dependent on the server that you got your DHCP assigned ip address from (unless the server you're connecting to is on another network, in which case the router information that you got from DHCP will determine how your traffic is routed to the destination host), it's dependent on which server answers the ARP query for the ip address that you're connecting to.

share|improve this answer
1  
Also, many OSes will pickup the duplicate IP and stop using it... –  Chris S Jul 22 '11 at 16:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.