Announcement

Collapse
No announcement yet.

Basic Active Directory setup on WinServer 2008 R2

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Basic Active Directory setup on WinServer 2008 R2

    Hi All,

    As a developer veteran and using you amazing tutorials I believed I could setup Active Directory by myself in our company network but I couldn't.


    Network:
    ------------
    5 Win7 desktops + 1 WinServer 2008 R2 connected to a switch connected to a DSL modem. The DSL modem is also connected to the printer.


    What I did:
    --------------
    I followed meticulously these pre-requisites and instructions on your website:

    1) Active Directory on Windows Server 2008 Requirements
    2) Installing Active Directory on Windows Server 2008


    What happens:
    --------------------
    I cannot ping neither 192.168.101.1 nor mycompany.local from Win7 clients. Running ipconfig /all on the client I get 192.168.1.18 and DHCP enabled.

    I discovered that probably the problem is the different IP class but I don't know if I need to modify the server or the client one, and - even more important - what are the pros and cons of modifying one or the other. In addition the router already has the IP 192.168.1.1


    I am sure that for you all, these is a very easy scenario: please help me!

    Thanks in advance and my best compliments for your amazing tutorials on Windows Server 2008.

    Alberto

  • #2
    Re: Basic Active Directory setup on WinServer 2008 R2

    Yes, the IP addressing is the issue. All the computers need to be on the same subnet for simplicity's sake.

    Here's what I would do:
    - on the DSL router, check to see if DHCP server is enabled and, if it is, what the range of IP addresses it is handing out
    - on the server, change the IP address to something that is outside the range of DHCP addresses and that is not currently in use. So something like 192.168.1.254 (the 254 part is what needs to be unique on the network)
    - if the DSL router is running DHCP the make sure it is handing out the server IP for the DNS server


    Let me know if you have any questions.
    Regards,
    Jeremy

    Network Consultant/Engineer
    Baltimore - Washington area and beyond
    www.gma-cpa.com

    Comment


    • #3
      Re: Basic Active Directory setup on WinServer 2008 R2

      Hi Jeremy,

      Thanks so much for answering. Here are our router settings:
      Code:
      LAN Status
      Modem IP Addres: 192.168.1.1 Subnet mask: 255.255.255.0 
      NAPT Status: Active
      Start IP: 192.168.1.2 End IP: 192.168.1.254 
      DHCP Status: Active 
      Start IP: 192.168.1.2 End IP: 192.168.1.254

      Comment


      • #4
        Re: Basic Active Directory setup on WinServer 2008 R2

        Should I use the 192.168.1.254 for the server and limit the modem range to 192.168.1.2 - 253 ?

        Comment


        • #5
          Re: Basic Active Directory setup on WinServer 2008 R2

          Given the router IP address:
          Make the server 192.168.1.254
          Turn off DHCP on the router
          Set the server DHCP to issue addresses 192.168.1.100 to .200 (for example)
          Gateway 192.168.1.1
          DNS server 192.168.1.254
          Tom Jones
          MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
          PhD, MSc, FIAP, MIITT
          IT Trainer / Consultant
          Ossian Ltd
          Scotland

          ** Remember to give credit where credit is due and leave reputation points where appropriate **

          Comment


          • #6
            Re: Basic Active Directory setup on WinServer 2008 R2

            Hi Ossian,

            I know where to change:
            Code:
            Make the server 192.168.1.254
            Turn off DHCP on the router
            but not where to change:
            Code:
            Set the server DHCP to issue addresses 192.168.1.100 to .200 (for example)
            Gateway 192.168.1.1
            DNS server 192.168.1.254
            Should I go to Network Adapter->Properties->Internet Protocol Version4 (TCP/Ipv4)->Properties->Advanced ?

            Thanks again,

            Alberto

            Comment


            • #7
              Re: Basic Active Directory setup on WinServer 2008 R2

              No, you need to install the DHCP role on the DC -- the Wizard will talk you through all of it -- just don't configure the IPv6 section
              Tom Jones
              MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
              PhD, MSc, FIAP, MIITT
              IT Trainer / Consultant
              Ossian Ltd
              Scotland

              ** Remember to give credit where credit is due and leave reputation points where appropriate **

              Comment


              • #8
                Re: Basic Active Directory setup on WinServer 2008 R2

                Deactivated the DHCP on the router and ready to confirm the following DHCP Role creation on the server. Do you see anything strange?

                Code:
                Installation Report
                      <Informational>: This server might need to be restarted after the 
                      installation completes.
                DHCP Server
                      Network Connection Bindings192.168.1.254 (IPv4)
                      IPv4 DNS Settings
                      DNS Parent Domaindevdept.local
                      DNS Servers192.168.1.254
                      WINS ServersNone
                      Scopes
                      Namenoname
                      Default Gateway192.168.1.1
                      Subnet Mask255.255.255.0
                      IP Address Range192.168.1.100 - 192.168.1.200
                      Subnet TypeWired (lease duration will be 8 days)
                      Activate ScopeYes
                      DHCPv6 Stateless ModeEnabled
                      IPv6 DNS Settings
                      DNS Parent Domaindevdept.local
                      DNS Serversfec0:0:0:ffff::1, fec0:0:0:ffff::2
                      DHCP Server AuthorizationAuthorize using credentials associated with 
                      DEVDEPT\Administrator
                Thanks,

                Alberto

                Comment


                • #9
                  Re: Basic Active Directory setup on WinServer 2008 R2

                  That looks like it should work.

                  After restarting one of the Win 7 clients run an IPConfig /all and the output should include the following:

                  DNS Server: 192.168.1.254
                  Default Gateway: 192.168.1.1

                  The IP address of the client should between 192.168.1.1 and 192.168.1.100.

                  Did you set the DNS server and router (default gateway) addresses in the DHCP Scope options (003 and 006)?

                  Let us know how you get on.

                  Edit
                  Corrected IP address
                  Last edited by Blood; 2nd September 2011, 13:41.
                  A recent poll suggests that 6 out of 7 dwarfs are not happy

                  Comment


                  • #10
                    Re: Basic Active Directory setup on WinServer 2008 R2

                    I hope you mean
                    DNS Server: 192.168.1.254
                    Also subnet mask should be 255.255.255.0
                    Tom Jones
                    MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
                    PhD, MSc, FIAP, MIITT
                    IT Trainer / Consultant
                    Ossian Ltd
                    Scotland

                    ** Remember to give credit where credit is due and leave reputation points where appropriate **

                    Comment


                    • #11
                      Re: Basic Active Directory setup on WinServer 2008 R2

                      Originally posted by Ossian View Post
                      I hope you mean

                      Also subnet mask should be 255.255.255.0
                      Yes - because our network uses 192.168.0.x I wrote it unconciously. Thanks for picking it up. I've edited my post.

                      Apologies to the OP for any confusion.
                      A recent poll suggests that 6 out of 7 dwarfs are not happy

                      Comment


                      • #12
                        Re: Basic Active Directory setup on WinServer 2008 R2

                        Dear Friends,

                        1) I completed the role creation with the parameters above
                        2) I restarted a client and succesfully joined the domain

                        Where's the problem? I disconnected all the company machines from the interner

                        When I read these prerequisites I thought that I would have lost internet connectivity only on the server not on all machines.

                        Then I did:

                        1) Turn off the server
                        2) Reset the modem router and to be able to write on this forum again

                        Is it something very complicated to restore also internet connectivity? Does a tutorial exist on petri.co.it on this matter?

                        Thanks again for following me in this adventure...

                        EDIT: Sorry, blood but I don't know what do you refer to in this sentence:
                        Did you set the DNS server and router (default gateway) addresses in the DHCP Scope options (003 and 006)?
                        Alberto

                        P.S.: Did you consider adding these additional steps to the Installing Active Directory on Windows Server 2008 tutorial to provide instructions for a full AD+Network+Internet connectivity setup?
                        Last edited by devdept; 2nd September 2011, 14:24.

                        Comment


                        • #13
                          Re: Basic Active Directory setup on WinServer 2008 R2

                          The server needs to be able to get out to the Internet. I think the issue you had is that you didn't configure the default gateway on the server. Go through the same steps as before but make sure you configure the default gateway on the server. (it should point to your router)
                          Regards,
                          Jeremy

                          Network Consultant/Engineer
                          Baltimore - Washington area and beyond
                          www.gma-cpa.com

                          Comment


                          • #14
                            Re: Basic Active Directory setup on WinServer 2008 R2

                            Thanks Jeremy,

                            I had no the time to check if the server was able to surf the internet because all my peers blaming me...

                            By the way, without the instructions on how to restore the internet connectivity to all the cliente machine I cannot make any step forward...

                            Comment


                            • #15
                              Re: Basic Active Directory setup on WinServer 2008 R2

                              You can tell DHCP to automatically configure the client's DNS server, WINS server, time server etc settings when they get an address from the DHCP server.

                              Open DHCP on the server and you will see a node named Scope Options. Right-click it and choose Configure options.

                              This might be useful http://www.windowsnetworking.com/art...CP-Server.html
                              A recent poll suggests that 6 out of 7 dwarfs are not happy

                              Comment

                              Working...
                              X