Skip to content

IPv4 IPv6

Jack Wampler edited this page Jun 16, 2021 · 1 revision

Conjure Behavior by IP version

TODO - this is a skeleton page

Client

By default client registrations indicate that that they will register both IPv4 and IPv6. They then attempt to derive both an IPv4 and an IPv6 phantom and connect to each. Whichever connects first is used as the phantom connection.

The Dialer struct for the conjure client includes a toggle to allow wrapping clients to indicate whether clients should attempt to connect using IPv4 only, IPv6 only, or both concurrently.

Station

IPv4 matches on source and destination address (and soon destination port as well) as there is likely to be address re-use especially in generations that contain subnet sets with relatively small subnets.

IPv6 does not require this same level of particularity as clients are significantly less likely to collide on address selections due to typical subnet allocation blocks.

Enable / Disable

Both IPv4 and IPv6 can be enabled or disabled based on the settings in application/config.toml. This setting indicates whether or not a station should ingest registrations based on IP version.

# Allow the station to opt out of either version of internet protocol to limit a 
# statio to handling one or the other. For example, v6 on small station deployment
# with only v6 phantom subnet,  v4 only on station with no puvlic v6 address. 
enable_v4 = true
enable_v6 = false