Go to Post Now, FIRST has taken over my life (and my harddrive)! - Kate00 [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
  #16   Spotlight this post!  
Unread 12-01-2017, 16:07
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 billbo911 View Post
This is one area that I have a strong opinion on.

If reliability is one of your team's goals for the season, then why take a risk on mDNS?
Yes, usually mDNS works just fine. But, I did say usually.

Why not just lock down your IPs to KNOWN values and move on.
They won't change, you know where each device is addressed, and connections on the field will JUST WORK! What more could you ask for?
Well, OK, you could ask for an easy to find guide to setting your IP's statically. Fortunately, this thread already has what you really need to know.
Couldn't agree with this more. At the end of the day, mDNS (DHCP) doesn't buy you much.

As for the IPs themselves, I wouldn't be too worried. Last year, our roboRIO and Driver Station IPs were correct, but we got away with our other device (Jetson) as 10.TE.AM.25. Where we did get hung up, however, was with FMS allowed network ports. Make sure to double check your SSH, camera stream, etc. port configurations (http://wpilib.screenstepslive.com/s/...ms-whitepaper).
Reply With Quote
  #17   Spotlight this post!  
Unread 12-01-2017, 19:10
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,248
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Static IP vs DHCP

Quote:
Originally Posted by scca229 View Post
Going to just highlight this one from marshall's post.

Driver Station - Static 10.TE.AM.5 would be a reasonable choice, subnet mask must be 255.0.0.0

When there is a communication problem on a DS and they have informed me they are using static IPs, or I drag it out of them after getting the deer-in-the-headlights look when I ask, this is very often the issue. Everyone is so used to using /24 submasks (255.255.255.0) when this particular one must be a /8 (255.0.0.0). The funny thing is that most versions of Windows that I know of automatically default to a /8 when you enter a 10. IP.
255.255.255.0 was useful when imaging the crio. The program would search all possible internet address. Using the small address space (subnet mask) speeded things up. However, once we go to a competition, we had to change it to 255.0.0.0. Otherwise it couldn't talk to FMS. Too bad they couldn't write FMS with a simulated IP address of 10.xx.yy.255 for each team.
__________________


Last edited by rich2202 : 12-01-2017 at 19:12.
Reply With Quote
  #18   Spotlight this post!  
Unread 13-01-2017, 07:13
sraque's Avatar
sraque sraque is offline
Registered User
AKA: Steve Raque
FRC #2614 (MARS)
Team Role: Mentor
 
Join Date: Jun 2012
Rookie Year: 2009
Location: Morgantown, WV
Posts: 83
sraque is on a distinguished road
Re: Static IP vs DHCP

If you set static IPs, make sure many kids on the team know it and can tell anyone who comes to help them with their robot. I have spent many hours trying to help teams with Comms issues only to find out that the one network-savvy person on the team decided to set static IPs and then didn't come to the competition, and no one present knew about it.
Reply With Quote
  #19   Spotlight this post!  
Unread 13-01-2017, 10:33
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,248
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Static IP vs DHCP

Quote:
Originally Posted by sraque View Post
If you set static IPs, make sure many kids on the team know it and can tell anyone who comes to help them with their robot. I have spent many hours trying to help teams with Comms issues only to find out that the one network-savvy person on the team decided to set static IPs and then didn't come to the competition, and no one present knew about it.
We put a sticker with the Static IP Address on all the devices.

It started because we have multiple driver station/programming computers, as well as multiple cameras.

If CSA help is needed, it is immediately obvious that we are using Static IP's, and the address of that device.
__________________

Reply With Quote
  #20   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
  #21   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
  #22   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
  #23   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