Go to Post As my daughter said, you used to shut up your robot and send it away from home. Now you just suffocate it. - GaryVoshol [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-01-2017, 15:22
jlindquist74's Avatar
jlindquist74 jlindquist74 is offline
WOPR Software Integration Lead
FRC #1622
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 1337
Location: Poway, CA
Posts: 51
jlindquist74 has a brilliant futurejlindquist74 has a brilliant futurejlindquist74 has a brilliant futurejlindquist74 has a brilliant futurejlindquist74 has a brilliant futurejlindquist74 has a brilliant futurejlindquist74 has a brilliant futurejlindquist74 has a brilliant futurejlindquist74 has a brilliant futurejlindquist74 has a brilliant futurejlindquist74 has a brilliant future
Re: Static IP vs DHCP

Quote:
Originally Posted by andrewthomas View Post
Couldn't agree with this more. At the end of the day, mDNS (DHCP) doesn't buy you much.
Please don't use those terms as if they mean the same thing. They really, truly, vastly DO NOT.

Greatly simplified:
  • DHCP is how a host, lacking its own address, asks a server to assign it one. (It requires a DHCP server to be present somewhere on the local network in order to work.)
  • mDNS is how a host, lacking the address of another host on the local network, asks that other host to provide its address. (It does NOT require a server to work.)

How those protocols are implemented and used varies with the operating system. Of course, Windows has peculiar issues about mDNS, which complicates things. It certainly keeps our work from being boring!
Reply With Quote
  #2   Spotlight this post!  
Unread 13-01-2017, 15:30
Conor Ryan Conor Ryan is offline
I'm parking robot yacht club.
FRC #4571 (Robot Yacht Club)
Team Role: Mentor
 
Join Date: Nov 2004
Rookie Year: 2004
Location: Midtown, NYC
Posts: 1,898
Conor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond repute
Re: Static IP vs DHCP

always static IPs. Its like using mail with a full mailing address then Zip Code + 4, using DHCP is like "Please mr. postman please deliver me to mr. rio. I promise i paid postage." It is in your own network so just make it specific.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-01-2017, 15:51
andrewthomas's Avatar
andrewthomas andrewthomas is offline
Registered User
FRC #1619 (Up-A-Creek Robotics)
Team Role: Driver
 
Join Date: Nov 2015
Rookie Year: 2014
Location: Longmont, CO
Posts: 10
andrewthomas is an unknown quantity at this point
Re: Static IP vs DHCP

Quote:
Originally Posted by jlindquist74 View Post
Please don't use those terms as if they mean the same thing. They really, truly, vastly DO NOT.

Greatly simplified:
  • DHCP is how a host, lacking its own address, asks a server to assign it one. (It requires a DHCP server to be present somewhere on the local network in order to work.)
  • mDNS is how a host, lacking the address of another host on the local network, asks that other host to provide its address. (It does NOT require a server to work.)

How those protocols are implemented and used varies with the operating system. Of course, Windows has peculiar issues about mDNS, which complicates things. It certainly keeps our work from being boring!
Yes, this is true. I was merely relating this option back to OPs original "Static IP vs DHCP".
Reply With Quote
  #4   Spotlight this post!  
Unread 14-01-2017, 03:40
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 803
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Static IP vs DHCP

Quote:
Originally Posted by jlindquist74 View Post
  • DHCP is how a host, lacking its own address, asks a server to assign it one. (It requires a DHCP server to be present somewhere on the local network in order to work.)
  • mDNS is how a host, lacking the address of another host on the local network, asks that other host to provide its address. (It does NOT require a server to work.)
The fun one is what happens when you plug your DS into the robot (a network without a DHCP server). Turns out, you get a link local IPv6 address which can be found via mDNS, allowing the two devices to communicate. Sometimes, if you are luck and everything works. We just gave up debugging the various issues we ran into and put everything on static IP addresses.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 23:52.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi