Technical Discussion
  >> Home Networking, Internet Connection Sharing, etc.


Register (or login) on our website and you will not see this ad.


Pages in this thread: 1 | [2] | 3 | (show all)   Print Thread
Standard User shaneosborne
(experienced) Wed 29-Feb-12 16:35:10
Print Post

Re: Secondary DNS ? :s


[re: prlzx] [link to this post]
 
Brilliant, many thanks.

It's for a fixed PC and the reason I wanted to change all of my equipment to fixed IP was due to always getting conflict errors, two devices being allocated the same IP Address.

I will probably leave it as it is as all seems to be fine now. I have set my PS3 to a fixed IP as I am using the QoS Option on my Router and also a fixed IP for my Sky+HD box. Both of these devices are connected to my router by cable and all seems to be okay now.

I thought it would be easier and make things simpler if I set all of my devices on the network with a fixed IP. Instead I have just done it with the wired devices, I hope I don't get any more problems... crazy

I couldn't leave the DNS blank as it said invalid entry, I even tried 0.0.0.0 but it showed invalid and it wouldn't allow me to set it to automaticallyy set DNS.

All seems fine now, so I will leave before I mess something up.

The whole purpose was for the QoS feature....

Thanks again for your time and help...

Standard User prlzx
(committed) Wed 29-Feb-12 17:14:53
Print Post

Re: Secondary DNS ? :s


[re: shaneosborne] [link to this post]
 
No worries smile

The reasons for IP conflicts:

  • part (7) of my other post. As soon as even one device has an IP set by hand, the router doesn't know you have done that, so you have some extra work to stop it giving out that IP to something else.
  • More than one DHCP server in the network. This is not actually forbidden and the protocols provide for a device to pick one from multiple answers. However a "losing" DHCP server won't know what IP address was picked so you have to set their ranges (scopes) not to overlap.
  • Malfunctioning or misconfigured DHCP server (rarely).
  • A device connected to the same network by both wired and wireless interfaces. If the same IP address is set on both interfaces it will conflict with itself

Out of interest for future reference, what operating system was running on the PC that required both 2 DNS settings filling in? Any I have seen are happy with primary DNS set and secondary blank.



prompt $P - Invalid drive specification - Abort, Retry, Fail? $G
prlzx on n e w n e t: ADSL2+ / 21CN at 2.5Mbps / 800k

Edited by prlzx (Wed 29-Feb-12 17:25:01)

Standard User shaneosborne
(experienced) Wed 29-Feb-12 17:23:45
Print Post

Re: Secondary DNS ? :s


[re: prlzx] [link to this post]
 
So, do I just change the DHCP START and END range to exclude the fixed IP Addresses/Devices I have set or is this for something completely different?

I've noticed on this page of the Router Control Panel it shows 'Use Router as DNS Server'.

I assume to get the Primary and Secondary DNS to work on as I first mentioned then I would have to uncheck this and enter the Google DNS Server Addresses for the setup to work and allow internet access?

I think it's best left as it is, do you think it is worth changing the IP Range to exclude the two fixed IP/Devices which are both wired to exclude those two IP's?

Sorry if im making this confusing :/


Register (or login) on our website and you will not see this ad.

Standard User prlzx
(committed) Wed 29-Feb-12 17:40:26
Print Post

Re: Secondary DNS ? :s


[re: shaneosborne] [link to this post]
 
In reply to a post by shaneosborne:
So, do I just change the DHCP START and END range to exclude the fixed IP Addresses/Devices I have set or is this for something completely different?

Exactly. So if your fixed IPs are at the lower end, make the DHCP Start address something larger than the last fixed address you want to use. Plenty of room so you can leave big gaps!
In reply to a post by shaneosborne:
I've noticed on this page of the Router Control Panel it shows 'Use Router as DNS Server'.

I assume to get the Primary and Secondary DNS to work on as I first mentioned then I would have to uncheck this and enter the Google DNS Server Addresses for the setup to work and allow internet access?

Not quite. This page is to do with what the router gives out to the local network. You leave Use Router as DNS Server ticked.

Devices whose network settings are "Auto" will receive a DNS setting telling them to ask the router, the router then "asks the internet".

How the router knows who to ask (ISP or public DNS) is a different page, the settings for internet (WAN) side of things, often on or near the page that deals with ADSL or Cable connection settings but varies by model.

Edit: if you have a Draytek, I'm afraid (from experience) some versions of their firmware had a confusing layout for DNS settings which mixed up local and external settings. It is worth updating to the latest firmware from their website.

In reply to a post by shaneosborne:
I think it's best left as it is, do you think it is worth changing the IP Range to exclude the two fixed IP/Devices which are both wired to exclude those two IP's?


By those two IPs you mean the fixed IPs such as the games console - yes. If you don't exclude them from the range, the router will give them out at some random point in the future (imagine the router is a person giving out printed cards with numbers on, it doesn't know you are also giving out your own handwritten cards unless you tell it so it can exclude them from its set).



prompt $P - Invalid drive specification - Abort, Retry, Fail? $G
prlzx on n e w n e t: ADSL2+ / 21CN at 2.5Mbps / 800k

Edited by prlzx (Wed 29-Feb-12 17:46:51)

Standard User shaneosborne
(experienced) Wed 29-Feb-12 18:09:07
Print Post

Re: Secondary DNS ? :s


[re: prlzx] [link to this post]
 
Brilliant - Will change the ranges now smile

Many thanks for all of your help and time, very much appreciated sir. Thankyou

Standard User XRaySpeX
(eat-sleep-adslguide) Thu 01-Mar-12 00:24:14
Print Post

Re: Secondary DNS ? :s


[re: prlzx] [link to this post]
 
In reply to a post by prlzx:
As soon as even one device has an IP set by hand, the router doesn't know you have done that, so you have some extra work to stop it giving out that IP to something else.
Thus it is simpler to just reserve the fixed IPs in the router's DHCP rather than on the individual devices. Then the router will know they have been used and you don't need to mess about defining IP ranges to keep free.

1999: Freeserve 48K Dial-Up => 2005: Wanadoo 1 Meg BB => 2007: Orange 2 Meg BB => 2008: Orange 8 Meg LLU => 2010: Orange 16 Meg LLU => 2011: Orange 19 Meg WBC
Standard User deleted
(deleted) Thu 01-Mar-12 09:11:40
Print Post

Re: Secondary DNS ? :s


[re: shaneosborne] [link to this post]
 
In reply to a post by shaneosborne:
Hope someone can help;

What do I use as my secondary DNS?

If ive got it right, I use my Routers Address for the Primary DNS but what about the secondary, it won't allow me to use the same....

I'm trying to get my computer set to a fixed IP as to Windows automatically allocating the address...
Hi, I use static IP addresses for my network and for the Windows PC settings I leave the Secondary DNS: blank. The static IP address must not be within the range of the router DHCP server settings.

Follow the instructions on the link (Static IP address set-up and converting from a DHCP based LAN configuration) (made easy!)

http://www.homenethelp.com/web/howto/static-ip-addre...
Standard User Pipexer
(eat-sleep-adslguide) Thu 01-Mar-12 18:11:36
Print Post

Re: Secondary DNS ? :s


[re: shaneosborne] [link to this post]
 
Slightly unrelated but if you are getting IP conflicts on your network when using DHCP, perhaps it is time to throw whatever is acting as the DHCP server in the bin, perhaps your router? and get a quality device.

______________
Zen 8000 Active
Standard User prlzx
(committed) Fri 02-Mar-12 01:56:03
Print Post

Re: Secondary DNS ? :s


[re: Pipexer] [link to this post]
 
I think people are going round in circles by not reading the whole thread as the OP is pretty such sorted ...

I already explained what causes IP conflicts (commonly setting 1 or more IPs by hand and not realising the router will still give out those IPs from time to time unless you tell DHCP not to).

A faulty DHCP server is not impossible but these days really it is almost never the cause in real setups.
People also forget things like releasing leases on PCs if they do stuff like swap out the DHCP server (for a new one with no leases stored yet) and then assume the new server is faulty.

I lose track of the offices I have visited where all PCs were setup manually (including laptops) and the significant administrative burden with the comment being "well we tried changing (a few) things back to automatic but we get conflicts" and you can see that is faulty reasoning rather than faulty router.

Or, some PCs fail to get an IP address (because a connecting switch was unplugged). So someone sets a manual IP (because "it stops Windows popping up that yellow triangle thingy" - so that must have fixed it). The PC now has a supposedly "valid" IP address, the symptom has been hidden but it hasn't actually fixed the cause.

I (and XRaySpeX and others) also stated that DHCP reservations are the tidy way to deal with this.

To avoid complications I would always suggest either letting DHCP manage all (end) devices or (but only as a last resort for small networks) manually setting everything but not a mixture of the two. I say (end) devices because in a big network there may be things like servers or wireless bridges that you prefer to set manually.

That said, if someone is determined to tinker manually it is important to have an approach that will still work.

Back to the OP who is trying to get from where they are now (seems to be working for now) to a reliable setup in the least number of steps - and changing the Range Start IP (and rebooting the end devices) will likely keep things working - plus learning more about DHCP works in the process which is to be encouraged ...




Now no doubt someone will be thinking, doesn't DHCP use ARP (or PING) to check if an IP is in use before actually allocating it?
Well, it can but have a think about real networks where not all devices are turned on all the time.

A device with a manual IP might be off because Bob isn't at work today (Thursday).
Ann turns on her computer and gets an DHCP supplied address. Her lease is valid for days (or even weeks). No problems today.

Now it's Friday and Bob is back at work. He turns on his computer. Ann and Bob both get an IP conflct. Because Bob decided to set a manual IP and didn't tell anyone. Then Bob says "oh theses automatic IPs don't work - they cause conflicts".

I know I'm having a soapbox moment here smile but we've had DHCP for nearly 20 years because someone put in the effort to design a protocol so that we could spend more time using networks rather than configuring them, I'm looking forward to IPv6 when maybe people will decide memorising IP addresses is no longer fun!

And yet we still see people proposing doing things the hard way, often for the wrong reasons or to fix a different problem (such as wanting to port forward to a single computer to play a game) that DHCP (and NAT) already provide settings for.



prompt $P - Invalid drive specification - Abort, Retry, Fail? $G
prlzx on n e w n e t: ADSL2+ / 21CN at 2.5Mbps / 800k

Edited by prlzx (Fri 02-Mar-12 02:37:15)

Standard User ionic
(fountain of knowledge) Fri 02-Mar-12 08:39:02
Print Post

Re: Secondary DNS ? :s


[re: prlzx] [link to this post]
 
You missed:
Device allocated an address, router rebooted, new device conected to the network and router allocates same address again as the reservation table has no persietence.

Seen that too many times....
Pages in this thread: 1 | [2] | 3 | (show all)   Print Thread

Jump to