frc-docs icon indicating copy to clipboard operation
frc-docs copied to clipboard

Encourage Static IP for complex networks over mDNS

Open prateekma opened this issue 4 years ago • 13 comments

For coprocessors and roboRIO, etc.

prateekma avatar Dec 11 '19 23:12 prateekma

The documentation should not encourage static IP for the roborio. The documentation very intentionally encourages DHCP for the roborio

Kevin-OConnor avatar Dec 11 '19 23:12 Kevin-OConnor

What if we specify it's only for advanced networks? AKA, networks with coprocessors where things become a bit more crucial.

Daltz333 avatar Dec 12 '19 18:12 Daltz333

Where would this to? Static IP is really the way forward for coprocessors.

carbotaniuman avatar Dec 22 '19 21:12 carbotaniuman

To clarify, I think we can document that static IP is encouraged for advanced networks, including co-processors.

Daltz333 avatar Aug 27 '20 04:08 Daltz333

To clarify, I think we can document that static IP is encouraged for advanced networks, including co-processors.

I mean, it's really only co-processors themselves. Static IP is not encouraged for DS PC or roboRIO under any network circumstances. It is much easier to do wrong than DHCP.

Kevin-OConnor avatar Aug 27 '20 13:08 Kevin-OConnor

I think the following snippet under the static IP sections would solve this issue:

Static IP may be necessary for devices such as co-processors, where the ability to navigate to the device is necessary. Devices such as the roboRIO and Driver Station should remain in a DHCP configuration

Is this satisfactory @Kevin-OConnor

Daltz333 avatar Aug 27 '20 15:08 Daltz333

Please correct me if I'm wrong but if a co-processor is set to a static IP address and the roboRIO is set to DHCP they will not be able to communicate when they are on the practice field communicating via WiFi because the co-processor will be in the 10.TE.AM.X/24 range and the roboRIO will be assigned an IP address in the 10.0.0.Y/24 range and these are different subnets.

I believe the practice field WiFi robot radios do not know which team's robot they are on. The only DHCP server in this situation is the main practice field router.

JonathanLindsey avatar Sep 11 '20 03:09 JonathanLindsey

Why is the co-processor netmask set to /24 instead of /8? Just always use /8 when setting static and that case will work fine.

PeterJohnson avatar Sep 11 '20 03:09 PeterJohnson

That makes since. So we need to recommend setting ALL the subnet masks to 255.0.0.0 in the IP Configurations - On the Field Static Configuration section.

JonathanLindsey avatar Sep 11 '20 22:09 JonathanLindsey

@Kevin-OConnor

Daltz333 avatar Sep 11 '20 23:09 Daltz333

Alternatively I think the practice field router DHCP service could be configured to give out subnet masks of 255.0.0.0. This way we don't have to worry about if teams heed the recommendation to use a 255.0.0.0 subnet mask on all their static devices and all the devices are able to communicate.

JonathanLindsey avatar Sep 17 '20 18:09 JonathanLindsey

Alternatively I think the practice field router DHCP service could be configured to give out subnet masks of 255.0.0.0. This way we don't have to worry about if teams heed the recommendation to use a 255.0.0.0 subnet mask on all their static devices and all the devices are able to communicate.

I'm not 100% certain but I feel like I recall that the Linksys APs used on the practice field can't be configured for a 255.0.0.0 subnet.

Kevin-OConnor avatar Sep 21 '20 16:09 Kevin-OConnor

@Kevin-OConnor since there is a disagreement here, should this issue be closed as a wontfix?

Daltz333 avatar Jul 04 '21 23:07 Daltz333