Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Virtual PC

Vista - Using AD on guest

Reply
 
Old 07-03-2009   #1 (permalink)
Jack


 
 

Using AD on guest

I want to add a server role to my guest OS Win2.3k server... DC
I want to be able to play with Active Directory, mostly querying it using
LDAP.

I'm not really from a networking knowledge (more app prog). When I try to
add this role Win2.3k asks me for a DNS FQDN. As this guest is just a stand
alone instance there is no domain etc.
Am I able to get around this stuff so I can get AD up and running?


My System SpecsSystem Spec
Old 07-03-2009   #2 (permalink)
Bill Grant


 
 

Re: Using AD on guest



"Jack" <noreply@xxxxxx> wrote in message
news:OEBxidD$JHA.4692@xxxxxx
Quote:

> I want to add a server role to my guest OS Win2.3k server... DC
> I want to be able to play with Active Directory, mostly querying it using
> LDAP.
>
> I'm not really from a networking knowledge (more app prog). When I try to
> add this role Win2.3k asks me for a DNS FQDN. As this guest is just a
> stand alone instance there is no domain etc.
> Am I able to get around this stuff so I can get AD up and running?
If you want to play with AD, the best method is to put the server in
Local Only and give it a static IP in its own IP subnet (ie not the same one
as the host). You can then set up AD in its own domain with its own DNS (and
DHCP if you like).

With only 2G of memory you are pretty limited, but you could probably
run an XP guest as well if you give both server and client 512M each. Put
the guest in Local Only as well and it should get its network config from
DHCP on the server.


My System SpecsSystem Spec
Old 07-03-2009   #3 (permalink)
Jack


 
 

Re: Using AD on guest

"Bill Grant" <not.available@xxxxxx> wrote in message
news:OM8pPKE$JHA.3320@xxxxxx
Quote:

>
>
> "Jack" <noreply@xxxxxx> wrote in message
> news:OEBxidD$JHA.4692@xxxxxx
Quote:

>> I want to add a server role to my guest OS Win2.3k server... DC
>> I want to be able to play with Active Directory, mostly querying it using
>> LDAP.
>>
>> I'm not really from a networking knowledge (more app prog). When I try to
>> add this role Win2.3k asks me for a DNS FQDN. As this guest is just a
>> stand alone instance there is no domain etc.
>> Am I able to get around this stuff so I can get AD up and running?
>
> If you want to play with AD, the best method is to put the server in
> Local Only and give it a static IP in its own IP subnet (ie not the same
> one as the host). You can then set up AD in its own domain with its own
> DNS (and DHCP if you like).
>
> With only 2G of memory you are pretty limited, but you could probably
> run an XP guest as well if you give both server and client 512M each. Put
> the guest in Local Only as well and it should get its network config from
> DHCP on the server.

Thanks Bill,
I'm 99% certain I chose to not join a forest/domain at this point when
setting up 2.3
Is this what you meant? I'm not sure how to specify local only.
I don't want another guest to talk to the server. Simply using .NET code to
talk to AD on the server.
Can you tell me where I assign the IP, Subnet addresses and set the DNS and
DHCP options please?

My System SpecsSystem Spec
Old 07-03-2009   #4 (permalink)
Bill Grant


 
 

Re: Using AD on guest



"Jack" <noreply@xxxxxx> wrote in message
news:e#qhqcE$JHA.1376@xxxxxx
Quote:

> "Bill Grant" <not.available@xxxxxx> wrote in message
> news:OM8pPKE$JHA.3320@xxxxxx
Quote:

>>
>>
>> "Jack" <noreply@xxxxxx> wrote in message
>> news:OEBxidD$JHA.4692@xxxxxx
Quote:

>>> I want to add a server role to my guest OS Win2.3k server... DC
>>> I want to be able to play with Active Directory, mostly querying it
>>> using LDAP.
>>>
>>> I'm not really from a networking knowledge (more app prog). When I try
>>> to add this role Win2.3k asks me for a DNS FQDN. As this guest is just a
>>> stand alone instance there is no domain etc.
>>> Am I able to get around this stuff so I can get AD up and running?
>>
>> If you want to play with AD, the best method is to put the server in
>> Local Only and give it a static IP in its own IP subnet (ie not the same
>> one as the host). You can then set up AD in its own domain with its own
>> DNS (and DHCP if you like).
>>
>> With only 2G of memory you are pretty limited, but you could probably
>> run an XP guest as well if you give both server and client 512M each.
>> Put the guest in Local Only as well and it should get its network config
>> from DHCP on the server.
>
>
> Thanks Bill,
> I'm 99% certain I chose to not join a forest/domain at this point when
> setting up 2.3
> Is this what you meant? I'm not sure how to specify local only.
> I don't want another guest to talk to the server. Simply using .NET code
> to talk to AD on the server.
> Can you tell me where I assign the IP, Subnet addresses and set the DNS
> and DHCP options please?
Where are you planning to talk to AD from? The host machine? I would not
recommend that. I also suggest you do a bit more reading on AD!

You select Local Only for the NIC in the guest from the vm settings for
the guest machine.

My System SpecsSystem Spec
Old 07-04-2009   #5 (permalink)
Jack


 
 

Re: Using AD on guest

"Bill Grant" <not.available@xxxxxx> wrote in message
news:uczP2gE$JHA.3708@xxxxxx
Quote:

>
>
> "Jack" <noreply@xxxxxx> wrote in message
> news:e#qhqcE$JHA.1376@xxxxxx
Quote:

>> "Bill Grant" <not.available@xxxxxx> wrote in message
>> news:OM8pPKE$JHA.3320@xxxxxx
Quote:

>>>
>>>
>>> "Jack" <noreply@xxxxxx> wrote in message
>>> news:OEBxidD$JHA.4692@xxxxxx
>>>> I want to add a server role to my guest OS Win2.3k server... DC
>>>> I want to be able to play with Active Directory, mostly querying it
>>>> using LDAP.
>>>>
>>>> I'm not really from a networking knowledge (more app prog). When I try
>>>> to add this role Win2.3k asks me for a DNS FQDN. As this guest is just
>>>> a stand alone instance there is no domain etc.
>>>> Am I able to get around this stuff so I can get AD up and running?
>>>
>>> If you want to play with AD, the best method is to put the server in
>>> Local Only and give it a static IP in its own IP subnet (ie not the same
>>> one as the host). You can then set up AD in its own domain with its own
>>> DNS (and DHCP if you like).
>>>
>>> With only 2G of memory you are pretty limited, but you could probably
>>> run an XP guest as well if you give both server and client 512M each.
>>> Put the guest in Local Only as well and it should get its network config
>>> from DHCP on the server.
>>
>>
>> Thanks Bill,
>> I'm 99% certain I chose to not join a forest/domain at this point when
>> setting up 2.3
>> Is this what you meant? I'm not sure how to specify local only.
>> I don't want another guest to talk to the server. Simply using .NET code
>> to talk to AD on the server.
>> Can you tell me where I assign the IP, Subnet addresses and set the DNS
>> and DHCP options please?
>
> Where are you planning to talk to AD from? The host machine? I would not
> recommend that. I also suggest you do a bit more reading on AD!
>
> You select Local Only for the NIC in the guest from the vm settings for
> the guest machine.

I plan to write code on the guest to query AD using LDAP on the guest. The
host plays no part here.

My System SpecsSystem Spec
Old 07-04-2009   #6 (permalink)
Jack


 
 

Re: Using AD on guest

"Bill Grant" <not.available@xxxxxx> wrote in message
news:uczP2gE$JHA.3708@xxxxxx
Quote:

>
>
> "Jack" <noreply@xxxxxx> wrote in message
> news:e#qhqcE$JHA.1376@xxxxxx
Quote:

>> "Bill Grant" <not.available@xxxxxx> wrote in message
>> news:OM8pPKE$JHA.3320@xxxxxx
Quote:

>>>
>>>
>>> "Jack" <noreply@xxxxxx> wrote in message
>>> news:OEBxidD$JHA.4692@xxxxxx
>>>> I want to add a server role to my guest OS Win2.3k server... DC
>>>> I want to be able to play with Active Directory, mostly querying it
>>>> using LDAP.
>>>>
>>>> I'm not really from a networking knowledge (more app prog). When I try
>>>> to add this role Win2.3k asks me for a DNS FQDN. As this guest is just
>>>> a stand alone instance there is no domain etc.
>>>> Am I able to get around this stuff so I can get AD up and running?
>>>
>>> If you want to play with AD, the best method is to put the server in
>>> Local Only and give it a static IP in its own IP subnet (ie not the same
>>> one as the host). You can then set up AD in its own domain with its own
>>> DNS (and DHCP if you like).
>>>
>>> With only 2G of memory you are pretty limited, but you could probably
>>> run an XP guest as well if you give both server and client 512M each.
>>> Put the guest in Local Only as well and it should get its network config
>>> from DHCP on the server.
>>
>>
>> Thanks Bill,
>> I'm 99% certain I chose to not join a forest/domain at this point when
>> setting up 2.3
>> Is this what you meant? I'm not sure how to specify local only.
>> I don't want another guest to talk to the server. Simply using .NET code
>> to talk to AD on the server.
>> Can you tell me where I assign the IP, Subnet addresses and set the DNS
>> and DHCP options please?
>
> Where are you planning to talk to AD from? The host machine? I would not
> recommend that. I also suggest you do a bit more reading on AD!
>
> You select Local Only for the NIC in the guest from the vm settings for
> the guest machine.

If I select local only I get no internet access for the guest.
But now that I have all the latest windows updates etc perhaps I don't need
net access anymore

My System SpecsSystem Spec
Old 07-04-2009   #7 (permalink)
Bill Grant


 
 

Re: Using AD on guest



"Jack" <noreply@xxxxxx> wrote in message
news:eb2xhIH$JHA.3732@xxxxxx
Quote:

> "Bill Grant" <not.available@xxxxxx> wrote in message
> news:uczP2gE$JHA.3708@xxxxxx
Quote:

>>
>>
>> "Jack" <noreply@xxxxxx> wrote in message
>> news:e#qhqcE$JHA.1376@xxxxxx
Quote:

>>> "Bill Grant" <not.available@xxxxxx> wrote in message
>>> news:OM8pPKE$JHA.3320@xxxxxx
>>>>
>>>>
>>>> "Jack" <noreply@xxxxxx> wrote in message
>>>> news:OEBxidD$JHA.4692@xxxxxx
>>>>> I want to add a server role to my guest OS Win2.3k server... DC
>>>>> I want to be able to play with Active Directory, mostly querying it
>>>>> using LDAP.
>>>>>
>>>>> I'm not really from a networking knowledge (more app prog). When I try
>>>>> to add this role Win2.3k asks me for a DNS FQDN. As this guest is just
>>>>> a stand alone instance there is no domain etc.
>>>>> Am I able to get around this stuff so I can get AD up and running?
>>>>
>>>> If you want to play with AD, the best method is to put the server in
>>>> Local Only and give it a static IP in its own IP subnet (ie not the
>>>> same one as the host). You can then set up AD in its own domain with
>>>> its own DNS (and DHCP if you like).
>>>>
>>>> With only 2G of memory you are pretty limited, but you could
>>>> probably run an XP guest as well if you give both server and client
>>>> 512M each. Put the guest in Local Only as well and it should get its
>>>> network config from DHCP on the server.
>>>
>>>
>>> Thanks Bill,
>>> I'm 99% certain I chose to not join a forest/domain at this point when
>>> setting up 2.3
>>> Is this what you meant? I'm not sure how to specify local only.
>>> I don't want another guest to talk to the server. Simply using .NET code
>>> to talk to AD on the server.
>>> Can you tell me where I assign the IP, Subnet addresses and set the DNS
>>> and DHCP options please?
>>
>> Where are you planning to talk to AD from? The host machine? I would
>> not recommend that. I also suggest you do a bit more reading on AD!
>>
>> You select Local Only for the NIC in the guest from the vm settings for
>> the guest machine.
>
>
> If I select local only I get no internet access for the guest.
> But now that I have all the latest windows updates etc perhaps I don't
> need net access anymore
Once you promote it to a DC, you wouldn't have Internet access anyway
unless you modified the DNS. You are better off having the DC isolated from
the host machine and any network it might connect to.


My System SpecsSystem Spec
Old 07-12-2009   #8 (permalink)
Jack


 
 

Re: Using AD on guest

"Bill Grant" <not.available@xxxxxx> wrote in message
news:O4%23D07P$JHA.4376@xxxxxx
Quote:

>
>
> "Jack" <noreply@xxxxxx> wrote in message
> news:eb2xhIH$JHA.3732@xxxxxx
Quote:

>> "Bill Grant" <not.available@xxxxxx> wrote in message
>> news:uczP2gE$JHA.3708@xxxxxx
Quote:

>>>
>>>
>>> "Jack" <noreply@xxxxxx> wrote in message
>>> news:e#qhqcE$JHA.1376@xxxxxx
>>>> "Bill Grant" <not.available@xxxxxx> wrote in message
>>>> news:OM8pPKE$JHA.3320@xxxxxx
>>>>>
>>>>>
>>>>> "Jack" <noreply@xxxxxx> wrote in message
>>>>> news:OEBxidD$JHA.4692@xxxxxx
>>>>>> I want to add a server role to my guest OS Win2.3k server... DC
>>>>>> I want to be able to play with Active Directory, mostly querying it
>>>>>> using LDAP.
>>>>>>
>>>>>> I'm not really from a networking knowledge (more app prog). When I
>>>>>> try to add this role Win2.3k asks me for a DNS FQDN. As this guest is
>>>>>> just a stand alone instance there is no domain etc.
>>>>>> Am I able to get around this stuff so I can get AD up and running?
>>>>>
>>>>> If you want to play with AD, the best method is to put the server in
>>>>> Local Only and give it a static IP in its own IP subnet (ie not the
>>>>> same one as the host). You can then set up AD in its own domain with
>>>>> its own DNS (and DHCP if you like).
>>>>>
>>>>> With only 2G of memory you are pretty limited, but you could
>>>>> probably run an XP guest as well if you give both server and client
>>>>> 512M each. Put the guest in Local Only as well and it should get its
>>>>> network config from DHCP on the server.
>>>>
>>>>
>>>> Thanks Bill,
>>>> I'm 99% certain I chose to not join a forest/domain at this point when
>>>> setting up 2.3
>>>> Is this what you meant? I'm not sure how to specify local only.
>>>> I don't want another guest to talk to the server. Simply using .NET
>>>> code to talk to AD on the server.
>>>> Can you tell me where I assign the IP, Subnet addresses and set the DNS
>>>> and DHCP options please?
>>>
>>> Where are you planning to talk to AD from? The host machine? I would
>>> not recommend that. I also suggest you do a bit more reading on AD!
>>>
>>> You select Local Only for the NIC in the guest from the vm settings
>>> for the guest machine.
>>
>>
>> If I select local only I get no internet access for the guest.
>> But now that I have all the latest windows updates etc perhaps I don't
>> need net access anymore
>
> Once you promote it to a DC, you wouldn't have Internet access anyway
> unless you modified the DNS. You are better off having the DC isolated
> from the host machine and any network it might connect to.
>
OK I've changed the VPC settings to be "local only"
Now I go to add/remove roles and select DC.
It goes through the set up and tells me that I have to set up the DNS server
address before I can continue.
Any ideas?
How can I get past all these networking config requirements and just get the
role up and running so I can play with AD?

My System SpecsSystem Spec
Old 07-12-2009   #9 (permalink)
Steve Jain [MVP]


 
 

Re: Using AD on guest

On Sun, 12 Jul 2009 17:53:36 +1200, "Jack" <noreply@xxxxxx>
wrote:
Quote:

>"Bill Grant" <not.available@xxxxxx> wrote in message
>news:O4%23D07P$JHA.4376@xxxxxx
Quote:

>>
>>
>> "Jack" <noreply@xxxxxx> wrote in message
>> news:eb2xhIH$JHA.3732@xxxxxx
Quote:

>>> "Bill Grant" <not.available@xxxxxx> wrote in message
>>> news:uczP2gE$JHA.3708@xxxxxx
>>>>
>>>>
>>>> "Jack" <noreply@xxxxxx> wrote in message
>>>> news:e#qhqcE$JHA.1376@xxxxxx
>>>>> "Bill Grant" <not.available@xxxxxx> wrote in message
>>>>> news:OM8pPKE$JHA.3320@xxxxxx
>>>>>>
>>>>>>
>>>>>> "Jack" <noreply@xxxxxx> wrote in message
>>>>>> news:OEBxidD$JHA.4692@xxxxxx
>>>>>>> I want to add a server role to my guest OS Win2.3k server... DC
>>>>>>> I want to be able to play with Active Directory, mostly querying it
>>>>>>> using LDAP.
>>>>>>>
>>>>>>> I'm not really from a networking knowledge (more app prog). When I
>>>>>>> try to add this role Win2.3k asks me for a DNS FQDN. As this guest is
>>>>>>> just a stand alone instance there is no domain etc.
>>>>>>> Am I able to get around this stuff so I can get AD up and running?
>>>>>>
>>>>>> If you want to play with AD, the best method is to put the server in
>>>>>> Local Only and give it a static IP in its own IP subnet (ie not the
>>>>>> same one as the host). You can then set up AD in its own domain with
>>>>>> its own DNS (and DHCP if you like).
>>>>>>
>>>>>> With only 2G of memory you are pretty limited, but you could
>>>>>> probably run an XP guest as well if you give both server and client
>>>>>> 512M each. Put the guest in Local Only as well and it should get its
>>>>>> network config from DHCP on the server.
>>>>>
>>>>>
>>>>> Thanks Bill,
>>>>> I'm 99% certain I chose to not join a forest/domain at this point when
>>>>> setting up 2.3
>>>>> Is this what you meant? I'm not sure how to specify local only.
>>>>> I don't want another guest to talk to the server. Simply using .NET
>>>>> code to talk to AD on the server.
>>>>> Can you tell me where I assign the IP, Subnet addresses and set the DNS
>>>>> and DHCP options please?
>>>>
>>>> Where are you planning to talk to AD from? The host machine? I would
>>>> not recommend that. I also suggest you do a bit more reading on AD!
>>>>
>>>> You select Local Only for the NIC in the guest from the vm settings
>>>> for the guest machine.
>>>
>>>
>>> If I select local only I get no internet access for the guest.
>>> But now that I have all the latest windows updates etc perhaps I don't
>>> need net access anymore
>>
>> Once you promote it to a DC, you wouldn't have Internet access anyway
>> unless you modified the DNS. You are better off having the DC isolated
>> from the host machine and any network it might connect to.
>>
>
>OK I've changed the VPC settings to be "local only"
>Now I go to add/remove roles and select DC.
>It goes through the set up and tells me that I have to set up the DNS server
>address before I can continue.
>Any ideas?
>How can I get past all these networking config requirements and just get the
>role up and running so I can play with AD?
you can't, AD requires all the networking components, including
working DNS.
Set up a local DNS server on your AD server.

--
Cheers,
Steve Jain, Virtual Machine MVP
http://vpc.essjae.com/
My System SpecsSystem Spec
Old 07-12-2009   #10 (permalink)
Bill Grant


 
 

Re: Using AD on guest


Quote:
Quote:

>>How can I get past all these networking config requirements and just get
>>the
>>role up and running so I can play with AD?
>
> you can't, AD requires all the networking components, including
> working DNS.
> Set up a local DNS server on your AD server.
>
> --
> Cheers,
> Steve Jain, Virtual Machine MVP
> http://vpc.essjae.com/
As Steve said, that is all part and parcel of AD.

Give the server a static IP in its own subnet. Let dcpromo configure DNS
for you when you get that option. It won't work without it.


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Host: Vista, Guest: XP - using guest for MP3 player? Virtual PC
can I autorun a programme in a guest when starting guest? Virtual PC
Networking Guest to Host and Host to Guest Virtual PC
guest log in Vista account administration
guest log on????? Vista account administration


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46