Having Internet connectivity issues in windows server 2008 r2 - server

I have recently installed windows server 2008 r2 on my virtual box. As soon as install active directory and create a domain. i loose internet connection on my machine.
I have assigned manual IP to my windows server 2008 r2 and have assigned the DNS same as its IP.
Also when i install windows 7 on another virtual machine, at first i do get internet connection but as soon as i connect it to my domain, windows 7 virtual pc looses internet connectivity as well. I have configured bridge adapter on my network setting for virtual box.
Any ideas

Please check if correct forwarders are set in the DNS, try to resolve any public domain (i.e.; yahoo.com) via nslookup command (nslookup yahoo.com)and see if you are able to resolve. If you are not able to resolve the public domain names then you should set the forwarders correctly in DNS (May be you can use 8.8.8.8, 4.4.2.2 as forwarders, these are global google DNS resolvers)

Related

Accessing Virtual Server Running inside Hyper-V

I have created a Linux server inside Hyper-V. Normally If we have IP of server then we can browse pages being severed. But How to do that in case of Hyper-V VM.
Basically i am unable to reach server using the IP because it is Virtual.
I have creating network switch but it didn't help. Any help or guidance would be appreciated.
In Hyper-V manager there is a networking tab at bottom which shows IP of the machine if it is running.

i am unable to ping two Vms each other on hyper v manager tool

in my windows 10 system i have created two virtual machine using Hyper-v Manager tool one is Redhat-Linux and second one is windows 10 for sql server, and i am trying to ping from Redhat-Linux to sql server and sql server to Redhat_Linux each others but it is not pinging .
Can anyone give me the solution for this issue .
Did you check if both VM's connected to the same network? (eg. private, internal or public?)
can you ping the vm's from your host? Do they get ip addresses, and are they in the same range?

How do I ping my VM for data

Target Goal: Be able to ping my VM which has a bunch of SOAP calls at localhost:1337/service.asmx
Current VM Settings: Set to Bridged with Replicate Physical Network Connection State enabled.
Known issues:
I cant hit the internet at all from within the VM. test via cnn.com fails.
I can hit localhost:1337 from within the VM
I cant hit VM localhost from the host computer.
What sort of adjustments am I going to need to make in order to open up my VM of MS Server 2012 R2 to the network for testing?
Since I set up a custom port: 1337 there was actually a firewall issue.
On the VM, set it back to NAT from Bridged (in the adapter settings)
On the Windows Virtual Machine, go into Firewall Settings.
Go into Inbound Rules.
Add New Rule for the defined port.
save it.
Now the host can access via that port the page i created.

Manually configure routing tables for azure virtual network (point-to-site)

I am having trouble connecting to my virtual network using the azure VPN client on windows 10 (I get an error about the certificate not found).I found a way to manually configure the VPN, I can successfully connect to it, ping my virtual machines from my local machine, ping my local machine from my virtual machines, remote desktop to it with the virtual network IP address (or hostname) and even connect to my shared folders on my local machine from the Virtual machines. What I can't do, and want to do is to connect to my shared drives on the VMs from my local machine (it works perfectly when I connect with the azure vpn client from windows 7). I've noticed when you connect through the vpn client it actually sets up the routing tables for you. So my question is: How do you configure it manually with powershell?
PS: For some reason you can't go to the IPV4/6 or any properties on your VPN connection on windows 10, So i have to do everything through powershell.
The problem wasn't the routing tables. The problem was that there was credentials stored in my my Credential Manager (Control Panel\All Control Panel Items\Credential Manager) for the VM which was incorrect, I think, I cleared it, and all worked. And by the way, I got the Azure VPN client to work on my windows 10 machine with help from this article

Access SQL Server 2008 R2 from a remote location

I have remote access enabled in SQL Server at my work network, which is on my "server". In the office, I have my desktop machine which I can use SQL Server Management Studio to access - no problems. I can use telnet [LOCAL_IP] 1433 with no problems.
When I am at home, I want to access the SQL Server too. I can PING [EXTERNAL_IP] address to the office fine (which is a router), but can't telnet [EXTERNAL_IP] 1433. So my machine can't access it when using SQL Server Management Studio.
I thought it was a router firewall issue, I have modified the router firewall to let my IP address through on TCP and UDP on ports 1433 and 1434 both source and destination. I've also tried letting my home IP through on all ports too, and still nothing. I've also tried to disable the firewall on the windows server at work.
I can set up RDP fine though....so I am thinking something I don't know about in SQL Server is the problem.
Does anyone have any suggestions to try please?
Thx