Link to home
Start Free TrialLog in
Avatar of tmss_it_dept
tmss_it_deptFlag for United States of America

asked on

Can domain and workgroup use same gateway?

Hello all.  My home network is currently a setup as a Workgroup and everything is working fine.  I am messing around with Server 2008 as a school project, and was wondering if it is possible to share the internet connection to both my Workgroup and the Domain that I set up on my virtual machine?  I have set the default gateway for the VM to the same IP as I use for my workgroup, but I cannot connect.  Is this even possible?

Let me know if there is any other info I need to provide.

Mike
Avatar of Paul Solovyovsky
Paul Solovyovsky
Flag of United States of America image

Should not be a problem at all.  The only piece that you have to keep in mind is that for DNS point your Domain nodes to the domain controller.

The default gateway is just the next hop so if it doesn't find an IP it goes to it.  You can proceed with your lab.
Avatar of tmss_it_dept

ASKER

Actually I have DNS and AD on the same server (Currently only one server so far), and set the IP of the server and the DNS server on the NIC as the same IP.

I did notice that if I allowed the VM to obtain IP address automatically, I now have an internet connection, although I am confused by the values in IPConfig.  It has the following values:

IPv4:  10.0.2.15
Subnet Mask:  255.255.255.0
Default Gateway:  10.0.0.2
                               10.0.2.2
DHCP Server:  10.0.2.2
DNS Server:  192.168.0.1

and an IPConfig of one of my WorkGroup PC shows the following:

IPv4:  192.168.0.7
Subnet Mask:  255.255.255.0
Default Gateway:  192.168.0.1
DHCP Server:  192.168.0.1
DNS Server:  192.168.0.1

How can I create a static for the VM?  I don't need to share anything between the domain and the workgroup.

Thanks again,

Mike
ASKER CERTIFIED SOLUTION
Avatar of Paul Solovyovsky
Paul Solovyovsky
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you.  I will look into it tonight when I get home.

Mike
Ok, I ran into troubles at first, then I realized that I need to create the bridge within the VM and leave the Host adapter settings alone.  Working now!

Thank you both so much....

Mike