johndbritton / teleport

Virtual KVM for macOS
GNU General Public License v2.0
785 stars 131 forks source link

Cannot be shared under different gateways #111

Closed laojianzi closed 2 years ago

laojianzi commented 2 years ago

Question

mac 1 gateway: 10.9.11.254 mac 2 gateway: 10.9.23.254

mac 1 traceroute mac 2: traceroute 10.9.22.33

traceroute to 10.9.22.33 (10.9.22.33), 64 hops max, 52 byte packets 1 10.9.11.254 (10.9.11.254) 4.223 ms 1.258 ms 1.059 ms 2 10.9.22.33 (10.9.22.33) 15.504 ms 27.658 ms 17.130 ms

Neither mac 1 nor mac 2 found each other.


teleport version: v1.3.3 macos version: bug sure 11.2/11.4

Bottacco commented 2 years ago

AFAIK, Teleport only communicates in the same subnet and does not cross subnets if you don’t have a Bonjour/Zeroconf router/redirector that talks to both subnets… but I could be mistaken.

There several ways to configure Bonjour redirection and it will depend on your topology/configuration.

I hope this helps, but if I am wrong there will sure be someone else to point it out.

Cheers,

On 17 Nov 2021, at 04:45, Jeff Li @.***> wrote:

Question

mac 1 gateway: 10.9.11.254 mac 2 gateway: 10.9.23.254

mac 1 traceroute mac 2: traceroute 10.9.22.33

traceroute to 10.9.22.33 (10.9.22.33), 64 hops max, 52 byte packets 1 10.9.11.254 (10.9.11.254) 4.223 ms 1.258 ms 1.059 ms 2 10.9.22.33 (10.9.22.33) 15.504 ms 27.658 ms 17.130 ms

Neither mac 1 nor mac 2 found each other.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/johndbritton/teleport/issues/111, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAU3W4GFNKINBEYQK4EMWBLUMMQOJANCNFSM5IF5AEYQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

marcpbailey commented 2 years ago

Confirming this - @laojianzi you need a Bonjour reflector (avahi works) or wide area bonjour (aka DNS-SD) configured across disparate subnets. Teleport works fine in this situation. @johndbritton I don't see this as a Teleport issue because Bonjour is its weapon of choice for service discovery.

johndbritton commented 2 years ago

This is expected and the provided explanations make sense.