View Full Version : DHCP & Static IPs
Saratoga
10th Apr 2005, 23:45
So you've got your router plugged into your telephone socket and the rest of your house is wired by cat 5 ethernet cable.
If your router is set on 192.168.0.x range (which is a private IP range) then what you can do is set your DHCP to allocate IP addresses to machines from 192.168.0.10 to 192.168.0.49.
That then leaves you the range from 2 to 9 to use for your own static machines. You're router is normally on 1.
Changing from DHCP to Static per machine.
XP.
Goto "Network Connections" and then your network connection, mine is called "Local Area Connection" strangely enough. I also have a Bluetooth connection in there, but I know that's not gonna work as I've lost the dongle :o :o
Right click it (the right one) and goto "Properties".
In the middle box you've got the items it uses, such as TCP/IP, NetBeui, File & Printer Sharing... You get the idea.
Select TCP/IP. Click "Properties" below that
The button labled "Obtain an IP address automatically" is probably checked. If you click the button below that it lets you then put your own details in.
In there you put your chosen IP address that is outside your DHCP range (such as 192.168.0.4).
Your "subnet mask" is usually 255.255.255.0 and then the gateway is your router, so that would be 192.168.0.1
Below that is the option for DNS addresses. Personally I've set that to my router, but I suppose you can put your own ISPs DNS server details in there, but I never have...
The "Advanced" tab gives you more options... but I've not been in there for long...
Right. So that is for XP.
Mandrake initially is a bit harder, but it is seemingly logical. You've probably got the lappy running on DHCP, and that will probably suit it best.
Does this all make sense??
I'm back off out again to drop my timesheet in, so if you want to chat then give me a call on the 07721 number ok :) :D :D
Bryan
10th Apr 2005, 23:51
Why not write it up with a few pics and make it an article :)
WTF?? Want to run that by me in English:D
Saratoga
10th Apr 2005, 23:58
Why not write it up with a few pics and make it an article :)
That would be so nice an option if I could work out how to get a print screen to actually not come out corrupt. I reckon this PGP has been faffing with my clipboard...
Or were you being sarcastic? :) :D :D
Bryan
11th Apr 2005, 00:00
No, not sarcastic, a few computer articles could be useful for those who are not so experienced with computers. It may be a Land Rover site but we all use computers to get here :)
Saratoga
11th Apr 2005, 00:00
WTF?? Want to run that by me in English:D
Which bit did you miss? Oh Great Admin :) Sorry, I'll lay off the sarcasm... :D :D
Where did I go wrong?? :eek: :o :rolleyes: :D
That would be so nice an option if I could work out how to get a print screen to actually not come out corrupt. I reckon this PGP has been faffing with my clipboard...
Or were you being sarcastic? :) :D :DNah not being sarcastic, it's a good idea fella, might give other numpties like me some clues to techie type things. By the way, reading it, it sounds as though it was intended for someone in particular or was it something you've just been working on ?
Saratoga
11th Apr 2005, 00:02
I am sure the Moderator will be able to work out the Sticky function soon enough... When I can work out how to unencrypt my clipboard in XP from PGP I can find some graphics no doubt to use :) :D
Pete H
11th Apr 2005, 00:03
An article on the subject would be brill,this network thing comes up quite a lot...
Go for it....
Saratoga
11th Apr 2005, 00:08
Nah not being sarcastic, it's a good idea fella, might give other numpties like me some clues to techie type things.
Nnnnnnnnnnnnnnnnnnnnah, can't get over that. Admins = Techie Types. :D :D
By the way, reading it, it sounds as though it was intended for someone in particular or was it something you've just been working on ?
Moi? Would I do such a thing?
Yes, it was for two people in particular, both members of this forum. I won't point you out, but if TPTB wish to take this further and have a techie thing out of it then I am sure I can come up with something....
Ahh, another thing. Is there a place on these here computery forums to put links and stuff in??
I've just done a bit of digging recently on things such as Outlook Express Error Codes for, alas, a sick elderly Compaq (no, not that one, the single processor one!) And because also a lot of people do come to the LR forums rather, er, less technically minded about PCs and more about them being a tool for a job (like using an axe to fix the PC spyware :D :D)
Hmm. Look. 1am. Time for more coffee! :D :D
Saratoga
11th Apr 2005, 00:10
An article on the subject would be brill,this network thing comes up quite a lot...
Go for it....
Hmm. I get the impression I've fallen into a peat bog and the winch driver is pointing and laughing again. Hmm. :rolleyes: :rolleyes: :rolleyes:
Bryan
11th Apr 2005, 00:13
Ahh, another thing. Is there a place on these here computery forums to put links and stuff in??
http://www.landrovernet.com/links
You mean like that?
Pete H
11th Apr 2005, 00:16
:D
No mate,this would be a good article to do.
Ahh, another thing. Is there a place on these here computery forums to put links and stuff in??
Yeah, it's called starting a thread and putting the link in it :p (now who's bing sarky?) We have the links database but that's basically for Land Rover/outdoor related stuff. As has happened in the past with computer (aka Geeky) type knowledge or software freebies etc, people have just started a thread rather like this one and added the link into it.
Saratoga
11th Apr 2005, 00:18
http://www.landrovernet.com/links
You mean like that?
Oooh, where you been hiding them then??!!
:eek: :D :o :o :o
Bryan
11th Apr 2005, 00:27
Now im being sarcastic..see that big link at the top of the forum that says Links?:p
Saratoga
11th Apr 2005, 00:32
Now im being sarcastic..see that big link at the top of the forum that says Links?:p
I kid you not. I did miss it. Totally. Hmm. :eek: :eek: :eek: :o :o :D :D
jjsaul
11th Apr 2005, 01:26
Hello all :)
As a new mod in this section.....
Cheers for that info saratoga, (it was for me mainly cos i spoke to him on the phone earlier :p ) - putting it into an article sounds a good idea...
WTF?? Want to run that by me in English:D
oh dear, i'd pitty seein u work with me when i used to do work for www.lanforge.net . keeping 150 gamers all happy with response times always below 10ms :o
really wicked write up saratoga, one of the best i've seen so far, u should do some other network troubleshooting articles! u seem u really know wot u talkin about!!
Slime101
29th Apr 2005, 11:36
The question being...WHY?
DHCP does a great job, no need for static addresses, and its simple to implement them anyway - just turn off dhcp and plug in the numbers. Or did i fail to see the point in the above as there was no quesiton or clear problem being answered :confused:
Cocky Lil Guy
29th Apr 2005, 14:35
Yes, it was for two people in particular, both members of this forum. I won't point you out
Me and James by any chance??
Saratoga
29th Apr 2005, 16:33
The question being...WHY?
DHCP does a great job, no need for static addresses, and its simple to implement them anyway - just turn off dhcp and plug in the numbers. Or did i fail to see the point in the above as there was no quesiton or clear problem being answered :confused:
There are reasons why people want two types on their network. I, for example, have a webserver on a static IP. If I let DHCP give it a new IP everytime it restarted then where would I let the router point to? It won't accept a hostname, it needs an IP address.
Besides which, they are easy to co-exist together.
For example, you can have 192.168.0.3 to 192.168.0.9 for static machines, and your DHCP can allocate from .10 to .20 or whatever you need...
Saratoga
29th Apr 2005, 16:37
Me and James by any chance??
James is one, but the other is another friend on here... I thought networking on PCs was OK, then I met Dave on the Mac today, and Dave has really annoyed me :( Being MacOS9 it was Dave 4.1 or summat...
Slime101
30th Apr 2005, 13:31
But its much easier to use NOIP or somthing to track the IP changes on a network with an outward facing machine like a home webserver (which is a hidious idea expecially considering the price of commercial hosting in proper datacentres!).
The above comment is especially notable as MOST home ADSL and BB services have dynamic I.P's anyway and hence you need some form of IP/DNS tracking software to keep it all working.
The other way to implement it is to setup a DMZ and use another internal range such as 10.0.0.x and leave the 192.168 as a DHCP assigned block, thus keeping them even more seperated and allowing the router to use the inbuilt NAT and firewall to keep you safe and sound.
Saratoga
30th Apr 2005, 21:49
Despite other options available, I have presented a valid option for doing it yourself.
Slime101
30th Apr 2005, 22:37
Despite other options available, I have presented a valid option for doing it yourself.
Never said it wasnt valid now did i?? :p :D
Powered by vBulletin™ Version 4.0.2 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.