Solved

need 2 network settings for home and office

Posted on 2013-12-05
18
347 Views
Last Modified: 2013-12-05
Hi,
one of the users in our office has a laptop that she uses to work from home and also at the office but for some reason we are having some issues with our dns server right now and if she uses the option to obtain ip address automatically which works for home but when at the office it only works if i change the dns server to 8.8.8.8.  Is there a way to create separate profiles so that when she signs in at the office she has a certain setup for the ip address and when she's home she would get ip automatically?  thanks.
0
Comment
Question by:dankyle67
  • 10
  • 8
18 Comments
 
LVL 14

Expert Comment

by:dmwynne
ID: 39698874
What about configuring your Dhcp at work to hand out 8.8.8.8 as DNS server until you get your DNS working properly?
0
 

Author Comment

by:dankyle67
ID: 39698909
oh thats a good idea.  Just concerned why the dns server doesnt work properly now.
0
 

Author Comment

by:dankyle67
ID: 39698921
Where would i find that section in dns server again to change setting to give out 8.8.8.8 as dns?
0
 

Author Comment

by:dankyle67
ID: 39698926
Actually i meant in dhcp server
0
 

Author Comment

by:dankyle67
ID: 39698932
also, by changing to 8.8.8.8 for dhcp will this affect users or pcs as far as active directory?
0
 
LVL 14

Expert Comment

by:dmwynne
ID: 39698974
I had assumed you knew and working on an issue with DNS server.  You should resolve that first before doing making a change.  Is there only one user impacted or is it everyone?
0
 

Author Comment

by:dankyle67
ID: 39699003
Well there is only one user affected since they are the only one who brings their laptop home and also uses it at office.  I saw in the dhcp server options that the dns server and name server options are both there and it is saying to use the current dns server which is on same server as dhcp which is the one we seem to be having issue with.  I can put the 8.8.8.8 into the dns server portion but was wondering the difference between name server and dns server since i thought they were the same.  When i run nslookup for instance and a machine is set to use 8.8.8.8 as dns server then thats what would come up after nslookup.
0
 
LVL 14

Expert Comment

by:dmwynne
ID: 39699024
You do not want 8.8.8.8 as the DNS server for your clients so forget changing that option.

Name server is the predecessor to DNS servers and should not be used:

http://www.networksorcery.com/enp/ien/ien116.txt

http://www.experts-exchange.com/Networking/Windows_Networking/NT/Q_21059749.html

I wonder if you having name servers listed in Dhcp is the issue.  Do you need 005- Name server, it seems doubtful you do.  Maybe test taking that out and trying it.

I would not focus on how to configure the laptop for 2 locations but on why it is not able to work using Dhcp in both locations.  That is a common scenario and should work with little effort.
0
 

Author Comment

by:dankyle67
ID: 39699041
I agree that if i can get the dhcp to give correct dns server then that should take care of the laptop issue.  The first thing i need to do is to be able to resolve addresses on the dns server itself which is also the dhcp server.  In other words, currently if i try to ping yahoo.com on the dns server it wont work unless i enter 8.8.8.8 as alternate dns server.  Let me try your suggestion about removing 005-Name server first then will see if that works.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 14

Expert Comment

by:dmwynne
ID: 39699060
On the dns server how do you have forwarders and/or root hints setup?
0
 

Author Comment

by:dankyle67
ID: 39699097
Thats what i was gona get to actually.  This dns server is at a remote site and so is set up as active directory integrated and replicates from main office dns server.  In the forwarders what should i have as the entry/entries?  Currently there is no entry so i entered the ip address of the main dns server at the other office.  I also noticed that the soa start of authority listed this non working dns server as the soa but should it be the one in the other office?
0
 

Author Comment

by:dankyle67
ID: 39699108
Well right after i entered the ip address of the main office dns server into forwarders then i was able to ping yahoo.com without using 8.8.8.8 at all so that's a step in the right direction.  Should i copy the root hints from the main dns as well or is having it on the forwarders section good enough?
0
 
LVL 14

Expert Comment

by:dmwynne
ID: 39699187
Need to know more about the network topology.  Does the remote site go through the main office for Internet access?
0
 
LVL 14

Expert Comment

by:dmwynne
ID: 39699210
If you have root hints configured and no forwarders any queries the local server can't resolve will get sent to a root server.  If you configure a forwarder it will send those queries to the forwarder.
0
 

Author Comment

by:dankyle67
ID: 39699283
The site i just did the change on has only 5 users and 2 servers one of which is the domain controller/dns/dhcp server.  The remote site has its own access to internet but to be honest with you im not sure how it is set up exactly since a month ago they installed voip system that connected both sites together thru whats called a level3 mpls dedicated connection from site to site.  I had a lot of issues with the remote site since it seems that they were getting 2 sets of ip addresses since the phones are connected to wall directly and have static ips and then connect to pcs which strangely enough you cannot ping a machine unless someone is logged in and always in the past i can ping a pc as long as its up and connected to network but doesnt need to have user logged in so that must be what creates the connection that gives the pc its ip address.  Sorry to to give extra detail but since it looks like you are very knowledgeable about a lot of things maybe you could shed some light on this.  Anyway, in general, when you first set up a dns server if you dont put a forwarder or root hints then would it still be able to resolve addresses on its own? In the main office for instance i think i entered the ip address of the dns server of the T1 provider but in the remote office i dont know that info since i didnt set up the phone line mpls device so dont know isp info.
0
 
LVL 14

Accepted Solution

by:
dmwynne earned 500 total points
ID: 39699396
If the server is not setup with root hints or forwarders then it would not be able to resolve external addresses.

For the remote site you can either use root servers or use a reliable known DNS server for a forwarder.  I use google's dns servers when I need:

8.8.8.8 - google
8.8.4.4. - google

I would set a forwarder and have root hints configured.  If the forwarder were to fail it should fail back to using root hints for resolution if you checked that box on the forwarders tab.

If the server is not setup with root hints or forwarders then it would not be able to resolve external addresses.

Hopefully what I've said gets the DNS resolution issue working for now.  If it does your next order of business should be creating a network diagram of both sites which includes how each site is connected to one another, how each site connects to the internet, private and public ip's of all critical network devices.   How is the Mpls and phone network setup.  Trust me, you or someone really needs to do this.
0
 

Author Comment

by:dankyle67
ID: 39699434
Got it and thanks for all the good information it really made things clearer for me since i always wanted to know about the proper way to set up the forwarders and root hints.  The thought process you gave enabled me to resolve the laptop issue as well as the dns issue on the server itself and this will also help with the other dhcp clients.  One last question, in the dns server properties section where i did the forwarders i also noticed the top line which said which router or default gateway i should use and so i have that as the ip of that mpls since that is the only gateway on  the remote site that allow traffic out to internet.  I noticed that in addition to that gateway there is another router which is the ip of the wireless router we have attached to the network which is configured as an access point so should i remove that since that was the old router they used before they moved from another location a month ago.  Thanks again.
0
 
LVL 14

Expert Comment

by:dmwynne
ID: 39699481
From what you've told me it does not sounds like you need that router listed.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

762 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now