Skip to content

FR: When sharing a device into a new tailnet default to original IP address #14574

@patrickwolf

Description

@patrickwolf

What are you trying to do?

When I share a device with another tailnet the device receives a brand new IP address on other tailnet
This article outlines this in detail: https://tailscale.com/blog/choose-your-ip

How should we solve this?

Very easy. When adding a shared device to a tailnet check if the original IP is in use in this tailnet.
If its in use pick a new one
If its not in use keep the original IP

This way a large amount of cases devices will have the same IP on multiple networks and it does allow to reference devices with that IP in a large number of cases.

And for the networks where there is an overlap those admins can make manual decisions.

So it defaults for easy and memorable and has options when its more complex

What is the impact of not solving this?

This makes sense and works but there is an issue. When I write a Network document its not impossible to write down IP addresses as they are different on each shared device. ie there is no general convention anymore what the IP address is

Anything else?

Thanks for the great product and for considering this change

### Tasks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions