Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Can domain and workgroup use same gateway?

Posted on 2011-09-18
6
Medium Priority
?
380 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
[X]
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
  • 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 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
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 

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

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
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 and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

688 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