Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Can domain and workgroup use same gateway?

Posted on 2011-09-18
6
374 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:paulsolov
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:
paulsolov earned 25 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Assisted Solution

by:Alexlx
Alexlx earned 25 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

789 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