ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    ZeroTier + Active Directory Authentication

    IT Discussion
    zerotier ad active directory authentication work in progress
    10
    111
    42.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DashrenderD
      Dashrender @scottalanmiller
      last edited by

      @scottalanmiller said:

      @Dashrender said:

      I just had a thought.

      This is just a wacky solution to the multi IP's for a single host problem that @dafyre was able to solve by telling a NIC to not register with DNS, but I couldn't get to work.

      What if you install a bridge on the network, and make your default gateway aware of that network? then if your PC gets a ZT IP from DNS, it can still communicate, only it will be through the bridge.

      It's ugly.. but provides a path.

      Why does the gateway need to be aware of it?

      Well.. hmm.. OK I was going to say because that way it knows where to forward the packets to internal bridge/router...

      But I just read the ZT forum post about the bridge, it's a bridge, not a router between two networks.. it's assumed (bridge) that all devices are on the same network, so there won't be any involvement of the default gateway.. so you can disregard my earlier comments.

      scottalanmillerS 1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @Dashrender
        last edited by

        @Dashrender said:

        @scottalanmiller said:

        @Dashrender said:

        I just had a thought.

        This is just a wacky solution to the multi IP's for a single host problem that @dafyre was able to solve by telling a NIC to not register with DNS, but I couldn't get to work.

        What if you install a bridge on the network, and make your default gateway aware of that network? then if your PC gets a ZT IP from DNS, it can still communicate, only it will be through the bridge.

        It's ugly.. but provides a path.

        Why does the gateway need to be aware of it?

        Well.. hmm.. OK I was going to say because that way it knows where to forward the packets to internal bridge/router...

        But I just read the ZT forum post about the bridge, it's a bridge, not a router between two networks.. it's assumed (bridge) that all devices are on the same network, so there won't be any involvement of the default gateway.. so you can disregard my earlier comments.

        That's what I was wondering about 🙂 A bridge is just like another switch port.

        DashrenderD 1 Reply Last reply Reply Quote 0
        • DashrenderD
          Dashrender @scottalanmiller
          last edited by

          @scottalanmiller said:

          @Dashrender said:

          @scottalanmiller said:

          @Dashrender said:

          I just had a thought.

          This is just a wacky solution to the multi IP's for a single host problem that @dafyre was able to solve by telling a NIC to not register with DNS, but I couldn't get to work.

          What if you install a bridge on the network, and make your default gateway aware of that network? then if your PC gets a ZT IP from DNS, it can still communicate, only it will be through the bridge.

          It's ugly.. but provides a path.

          Why does the gateway need to be aware of it?

          Well.. hmm.. OK I was going to say because that way it knows where to forward the packets to internal bridge/router...

          But I just read the ZT forum post about the bridge, it's a bridge, not a router between two networks.. it's assumed (bridge) that all devices are on the same network, so there won't be any involvement of the default gateway.. so you can disregard my earlier comments.

          That's what I was wondering about 🙂 A bridge is just like another switch port.

          And now I understand why in that ZT post that they wanted an open unused nic port to act like a switch port.. that's what ZT grabs onto to form the bridge...lol weird.

          1 Reply Last reply Reply Quote 0
          • wirestyle22W
            wirestyle22
            last edited by

            I'm thankful that my installation would be simple and only require editing the hosts file to point at the right DNS server.

            1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch
              last edited by

              @scottalanmiller you can not so respectfully piss off.

              I can tell you that your opinion of how ZT should work is your opinion and nothing more than that. The developer told you to post your information to that thread.

              My goal has nothing to do with making everything work for AD. That thread has nothing to do with my desire to make AD be the only piece that works.

              1 Reply Last reply Reply Quote 0
              • dafyreD
                dafyre @Dashrender
                last edited by

                @Dashrender said:

                @wrx7m said:

                @FATeknollogee said:

                @Dashrender You have a "how to" instruction set?

                I think @dafyre created a script for it. I am pretty sure you can only install the bridge on a connector, which has to be a Linux box.

                Doh! you're right it was @dafyre

                It wasn't a script... Esentially what I did was build a Linux router.

                I have been unable to get the Official Bridged mode to work for some reason or another... It sounds like that is more involved than what @JaredBusch wants to do though.

                DashrenderD 1 Reply Last reply Reply Quote 1
                • DashrenderD
                  Dashrender @dafyre
                  last edited by

                  @dafyre said:

                  @Dashrender said:

                  @wrx7m said:

                  @FATeknollogee said:

                  @Dashrender You have a "how to" instruction set?

                  I think @dafyre created a script for it. I am pretty sure you can only install the bridge on a connector, which has to be a Linux box.

                  Doh! you're right it was @dafyre

                  It wasn't a script... Esentially what I did was build a Linux router.

                  I have been unable to get the Official Bridged mode to work for some reason or another... It sounds like that is more involved than what @JaredBusch wants to do though.

                  I'd agree - bridge mode is like a huge pain. Putting all devices into a /16 network? WOW - no thanks. Of course I realize you could just as easily do with with a /23 or /22.

                  I'm curious though.. what happens when two NICs have IPs in the same range? This would be the case when a laptop is in the office.

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @Dashrender
                    last edited by

                    @Dashrender said:

                    I'm curious though.. what happens when two NICs have IPs in the same range? This would be the case when a laptop is in the office.

                    Why would that happen with laptops?

                    dafyreD 1 Reply Last reply Reply Quote 0
                    • dafyreD
                      dafyre @scottalanmiller
                      last edited by

                      @scottalanmiller said:

                      @Dashrender said:

                      I'm curious though.. what happens when two NICs have IPs in the same range? This would be the case when a laptop is in the office.

                      Why would that happen with laptops?

                      He means if they use the same IP range for both the LAN and the ZT network... what would happen if a laptop got 192.168.16.16 on the LAN, as well as 192.168.16.16 on the ZT network.

                      scottalanmillerS DashrenderD 2 Replies Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @dafyre
                        last edited by

                        @dafyre said:

                        @scottalanmiller said:

                        @Dashrender said:

                        I'm curious though.. what happens when two NICs have IPs in the same range? This would be the case when a laptop is in the office.

                        Why would that happen with laptops?

                        He means if they use the same IP range for both the LAN and the ZT network... what would happen if a laptop got 192.168.16.16 on the LAN, as well as 192.168.16.16 on the ZT network.

                        Oh, you can't do that. The devices would freak out. It's as simple as... you can't.

                        But... when would this happen? Why would you choose a ZT network that overlaps with the LAN?

                        wirestyle22W dafyreD 2 Replies Last reply Reply Quote 0
                        • wirestyle22W
                          wirestyle22 @scottalanmiller
                          last edited by

                          Oh, you can't do that. The devices would freak out. It's as simple as... you can't.
                          But... when would this happen? Why would you choose a ZT network that overlaps with the LAN?

                          Couldn't you create two separate reservations--one for the LAN and one for ZT?

                          dafyreD scottalanmillerS 2 Replies Last reply Reply Quote 0
                          • dafyreD
                            dafyre @scottalanmiller
                            last edited by

                            @scottalanmiller said:

                            @dafyre said:

                            @scottalanmiller said:

                            @Dashrender said:

                            I'm curious though.. what happens when two NICs have IPs in the same range? This would be the case when a laptop is in the office.

                            Why would that happen with laptops?

                            He means if they use the same IP range for both the LAN and the ZT network... what would happen if a laptop got 192.168.16.16 on the LAN, as well as 192.168.16.16 on the ZT network.

                            Oh, you can't do that. The devices would freak out. It's as simple as... you can't.

                            But... when would this happen? Why would you choose a ZT network that overlaps with the LAN?

                            I think that may have been something that someone read a little too much into what @adam-ierymenko was saying about bridging (either in this thread, or another).

                            1 Reply Last reply Reply Quote 0
                            • dafyreD
                              dafyre @wirestyle22
                              last edited by

                              @wirestyle22 said:

                              Oh, you can't do that. The devices would freak out. It's as simple as... you can't.
                              But... when would this happen? Why would you choose a ZT network that overlaps with the LAN?

                              Couldn't you create two separate reservations--one for the LAN and one for ZT?

                              Right, but then how does the computer know which IP range to actually talk from?

                              1 Reply Last reply Reply Quote 1
                              • scottalanmillerS
                                scottalanmiller @wirestyle22
                                last edited by

                                @wirestyle22 said:

                                Oh, you can't do that. The devices would freak out. It's as simple as... you can't.
                                But... when would this happen? Why would you choose a ZT network that overlaps with the LAN?

                                Couldn't you create two separate reservations--one for the LAN and one for ZT?

                                DHCP would not work, you'd have a mess.

                                wirestyle22W 1 Reply Last reply Reply Quote 0
                                • wirestyle22W
                                  wirestyle22 @scottalanmiller
                                  last edited by

                                  @scottalanmiller said:

                                  @wirestyle22 said:

                                  Oh, you can't do that. The devices would freak out. It's as simple as... you can't.
                                  But... when would this happen? Why would you choose a ZT network that overlaps with the LAN?

                                  Couldn't you create two separate reservations--one for the LAN and one for ZT?

                                  DHCP would not work, you'd have a mess.

                                  I was thinking statically assigned IP's

                                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                                  • DashrenderD
                                    Dashrender @dafyre
                                    last edited by

                                    @dafyre said:

                                    @scottalanmiller said:

                                    @Dashrender said:

                                    I'm curious though.. what happens when two NICs have IPs in the same range? This would be the case when a laptop is in the office.

                                    Why would that happen with laptops?

                                    He means if they use the same IP range for both the LAN and the ZT network... what would happen if a laptop got 192.168.16.16 on the LAN, as well as 192.168.16.16 on the ZT network.

                                    uh.. no - that shouldn't happen.

                                    So looking at the ZT docs on creating a bridge: The LAN will use 192.168.0.x and ZT will use 192.168.1.x. DHCP on the LAN will only provide 192.168.0.x addresses so you'll never have a conflict of IPs (wasn't part of my concern)
                                    But since this is all in the same /22 you now have two adapters on the same network.

                                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @wirestyle22
                                      last edited by

                                      @wirestyle22 said:

                                      @scottalanmiller said:

                                      @wirestyle22 said:

                                      Oh, you can't do that. The devices would freak out. It's as simple as... you can't.
                                      But... when would this happen? Why would you choose a ZT network that overlaps with the LAN?

                                      Couldn't you create two separate reservations--one for the LAN and one for ZT?

                                      DHCP would not work, you'd have a mess.

                                      I was thinking statically assigned IP's

                                      Bottom line, you cannot overlap the same network. It conceptually doesn't even make sense. The machine would have no idea how to differentiate between the two because they are literally the same network.

                                      Static, dynamic, reservations.. doesn't matter. You can't layer the same network on itself.

                                      1 Reply Last reply Reply Quote 1
                                      • scottalanmillerS
                                        scottalanmiller @Dashrender
                                        last edited by

                                        @Dashrender said:

                                        @dafyre said:

                                        @scottalanmiller said:

                                        @Dashrender said:

                                        I'm curious though.. what happens when two NICs have IPs in the same range? This would be the case when a laptop is in the office.

                                        Why would that happen with laptops?

                                        He means if they use the same IP range for both the LAN and the ZT network... what would happen if a laptop got 192.168.16.16 on the LAN, as well as 192.168.16.16 on the ZT network.

                                        uh.. no - that shouldn't happen.

                                        So looking at the ZT docs on creating a bridge: The LAN will use 192.168.0.x and ZT will use 192.168.1.x. DHCP on the LAN will only provide 192.168.0.x addresses so you'll never have a conflict of IPs (wasn't part of my concern)
                                        But since this is all in the same /22 you now have two adapters on the same network.

                                        I don't have the docs in from of me, but why is it making two addresses on the same LAN?

                                        DashrenderD 1 Reply Last reply Reply Quote 0
                                        • DashrenderD
                                          Dashrender @scottalanmiller
                                          last edited by

                                          @scottalanmiller said:

                                          @Dashrender said:

                                          @dafyre said:

                                          @scottalanmiller said:

                                          @Dashrender said:

                                          I'm curious though.. what happens when two NICs have IPs in the same range? This would be the case when a laptop is in the office.

                                          Why would that happen with laptops?

                                          He means if they use the same IP range for both the LAN and the ZT network... what would happen if a laptop got 192.168.16.16 on the LAN, as well as 192.168.16.16 on the ZT network.

                                          uh.. no - that shouldn't happen.

                                          So looking at the ZT docs on creating a bridge: The LAN will use 192.168.0.x and ZT will use 192.168.1.x. DHCP on the LAN will only provide 192.168.0.x addresses so you'll never have a conflict of IPs (wasn't part of my concern)
                                          But since this is all in the same /22 you now have two adapters on the same network.

                                          I don't have the docs in from of me, but why is it making two addresses on the same LAN?

                                          because that's how bridging works. Bridging assumes NO routes.. everything is on the same subnet.

                                          1 Reply Last reply Reply Quote 1
                                          • DashrenderD
                                            Dashrender
                                            last edited by

                                            https://www.zerotier.com/community/topic/5/bridging-ethernet-to-zerotier-virtual-networks-on-linux

                                            Configure the DHCP Server in the Office LAN to give leases in the range 10.0.0.100-10.0.0.200.
                                            Configure the ZeroTier portal to manage IP addresses in the range range 10.0.1.100-10.0.1.200. Note how the address ranges are in the same 10.0.0.0/16 subnet, but have a unique pool of IP addresses.

                                            The instructions have you create a giant subnet /16 the LAN will be on x.x.0.x and the ZT will be on x.x.1.x No routers involved for communication here.

                                            dafyreD 1 Reply Last reply Reply Quote 2
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 4 / 6
                                            • First post
                                              Last post