Solved

Can domain and workgroup use same gateway?

Posted on 2011-09-18
6
376 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 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
OfficeMate Freezes on login or does not load after login credentials are input.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

734 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