Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Can domain and workgroup use same gateway?

Posted on 2011-09-18
6
Medium Priority
?
382 Views
Last Modified: 2012-05-12
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
0
Comment
Question by:tmss_it_dept
  • 3
  • 2
6 Comments
 
LVL 42

Expert Comment

by:Paul Solovyovsky
ID: 36557790
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.
0
 

Author Comment

by:tmss_it_dept
ID: 36557854
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
0
 
LVL 42

Accepted Solution

by:
Paul Solovyovsky earned 100 total points
ID: 36557882
If it's a virtual machine you have set it with NAT mode which means that it uses the host's IP but also creates a NAT subnet for virtual machines if you want to keep them in their own private subnet.

You can make a static IP for your VM but ensure that the nic is in bridged mode or network for it to be on the 192.168.0. subnet
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 

Assisted Solution

by:Alexlx
Alexlx earned 100 total points
ID: 36558696
Sure it can. Set your VM network in a bridge and configure Ips.
0
 

Author Comment

by:tmss_it_dept
ID: 36560886
Thank you.  I will look into it tonight when I get home.

Mike
0
 

Author Closing Comment

by:tmss_it_dept
ID: 36564811
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
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question