Windows Vista Tips

Windows Vista Tips > Newsgroups > Virtual PC > Using AD on guest

Reply
Thread Tools Display Modes

Using AD on guest

 
 
Jack
Guest
Posts: n/a

 
      07-03-2009
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?

 
Reply With Quote
 
 
 
 
Bill Grant
Guest
Posts: n/a

 
      07-04-2009


"Jack" <> wrote in message
news:OEBxidD$...
> 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.


 
Reply With Quote
 
Jack
Guest
Posts: n/a

 
      07-04-2009

"Bill Grant" <not.available@online> wrote in message
news:OM8pPKE$...
>
>
> "Jack" <> wrote in message
> news:OEBxidD$...
>> 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?

 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      07-04-2009



"Jack" <> wrote in message
news:e#qhqcE$...
> "Bill Grant" <not.available@online> wrote in message
> news:OM8pPKE$...
>>
>>
>> "Jack" <> wrote in message
>> news:OEBxidD$...
>>> 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.

 
Reply With Quote
 
Jack
Guest
Posts: n/a

 
      07-04-2009

"Bill Grant" <not.available@online> wrote in message
news:uczP2gE$...
>
>
> "Jack" <> wrote in message
> news:e#qhqcE$...
>> "Bill Grant" <not.available@online> wrote in message
>> news:OM8pPKE$...
>>>
>>>
>>> "Jack" <> wrote in message
>>> news:OEBxidD$...
>>>> 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.

 
Reply With Quote
 
Jack
Guest
Posts: n/a

 
      07-04-2009

"Bill Grant" <not.available@online> wrote in message
news:uczP2gE$...
>
>
> "Jack" <> wrote in message
> news:e#qhqcE$...
>> "Bill Grant" <not.available@online> wrote in message
>> news:OM8pPKE$...
>>>
>>>
>>> "Jack" <> wrote in message
>>> news:OEBxidD$...
>>>> 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

 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      07-04-2009



"Jack" <> wrote in message
news:eb2xhIH$...
> "Bill Grant" <not.available@online> wrote in message
> news:uczP2gE$...
>>
>>
>> "Jack" <> wrote in message
>> news:e#qhqcE$...
>>> "Bill Grant" <not.available@online> wrote in message
>>> news:OM8pPKE$...
>>>>
>>>>
>>>> "Jack" <> wrote in message
>>>> news:OEBxidD$...
>>>>> 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.


 
Reply With Quote
 
Jack
Guest
Posts: n/a

 
      07-12-2009
"Bill Grant" <not.available@online> wrote in message
news:O4%23D07P$...
>
>
> "Jack" <> wrote in message
> news:eb2xhIH$...
>> "Bill Grant" <not.available@online> wrote in message
>> news:uczP2gE$...
>>>
>>>
>>> "Jack" <> wrote in message
>>> news:e#qhqcE$...
>>>> "Bill Grant" <not.available@online> wrote in message
>>>> news:OM8pPKE$...
>>>>>
>>>>>
>>>>> "Jack" <> wrote in message
>>>>> news:OEBxidD$...
>>>>>> 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?

 
Reply With Quote
 
Steve Jain [MVP]
Guest
Posts: n/a

 
      07-12-2009
On Sun, 12 Jul 2009 17:53:36 +1200, "Jack" <>
wrote:

>"Bill Grant" <not.available@online> wrote in message
>news:O4%23D07P$...
>>
>>
>> "Jack" <> wrote in message
>> news:eb2xhIH$...
>>> "Bill Grant" <not.available@online> wrote in message
>>> news:uczP2gE$...
>>>>
>>>>
>>>> "Jack" <> wrote in message
>>>> news:e#qhqcE$...
>>>>> "Bill Grant" <not.available@online> wrote in message
>>>>> news:OM8pPKE$...
>>>>>>
>>>>>>
>>>>>> "Jack" <> wrote in message
>>>>>> news:OEBxidD$...
>>>>>>> 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/
 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      07-13-2009


>>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.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Host: Vista, Guest: XP - using guest for MP3 player? Kelsey Virtual PC 1 12-27-2008 07:02 PM
can I autorun a programme in a guest when starting guest? Wasted Virtual PC 3 11-27-2008 04:50 PM
Networking Problems - Host to Guest And Guest to Host... RRBILLY Virtual PC 14 09-22-2004 05:01 PM
No sound in guest Win2003 and Longhorn, poor display in guest Longhorn Jesse Virtual PC 4 11-29-2003 07:54 PM
Can ping host->guest but not guest->host Nick Payne Virtual PC 1 11-24-2003 05:04 PM



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 47 48 49 50 51 52 53 54 55 56 57 58 59