Go Back   Wireless and Wifi Forums > Wireless Networks (Wifi) > How Tos
Register FAQ Forum Rules Members List Calendar Search Today's Posts Advertise Mark Forums Read

 
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-10-2011, 03:03 PM
Senior Member
 
Join Date: Mar 2008
Posts: 1,048
Default Static, Dynamic, and Static DHCP IPs compared

This question came up in a reply to another tutorial:

what if i m using dynamic IPs. do they change frequently? i just need to know the difference between dynamic and static IPs and please be specific.

The answer merits a small tutorial, with a proper title, so everyone can find it.

Static IPs are assigned to a networked device by the administrator of that device. The network administrators need to keep track of what IPs have been assigned. This leads to organized and planned IP addresses:
  • Printers and scanners XXX.YYY.ZZZ.20 to 29;
  • Wireless routers XXX.YYY.ZZZ.30 to 34; et cetera.
My NAS is always XXX.YYY.ZZZ.35, my laserjet is always XXX.YYY.ZZZ.30.

Dynamic IPs are assigned by Dynamic Host Configuration Protocol; DHCP. You get what you are given, typically for 24 hours.

A variation of DHCP called Static DHCP will set aside preferred IP addresses for certain devices and hold that IP until all IPs in the general pool are tied up. When that happens it will assign preferred IPs to other computers.

IP assignments include:
  • IP
  • DNS IP
  • Default Gateway
  • Subnet mask

DNS IPs can change, making Static IPs impractical for computers. DHCP reassigns DNS IPs when they change.

Static IPs make troubleshooting easier. You know X IP = X device. IF you have the documents up to date.

Dynamic IPs change, so you look for

Bobs Laptop

and see what the IP is, instead of

ping XXX.YYY.ZZZ.18
  • Static IP for devices that are always on; well documented
  • DHCP for computers that get turned on and off.
  • Static DHCP for the best of both worlds.

Static DHCP tutorial

Best practices:
  • Assign Static IPs in blocks by device function: Printers and scanners, Wireless devices, Storage
  • Assign a block of DHCP addresses that does not overlap other blocks. If you do not want guests on your network assign as many IP addreses as you have computers so there are no addresses available for freeloaders.
  • Static IP devices should be on before the DHCP server, so the DHCP server can find IPs currently in use.
  • After a power outage, reset the DHCP server after all Static IP devices are up.
  • Turn DHCP devices on after the DHCP server is up


Last edited by Mark Oney; 02-24-2012 at 03:28 PM..
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Static IP and DHCP with same router AJJackson Wireless Networking Discussion 3 01-20-2011 01:19 AM
static to dynamic IP Address jpjonnyjp Hardware Discussion 4 07-23-2010 11:48 AM
connect the static IP PC to wireless dynamic IP notebook chuikingman Network Troubleshooting 0 03-14-2010 06:12 AM
WRT54G: DHCP plus static local IPs? Bo alt.internet.wireless 5 11-18-2007 11:16 PM
How to keep a static IP and let DNS addresses be dynamically updated on Linksys WRT54GS ? for.fun@laposte.net alt.internet.wireless 15 08-26-2005 08:28 AM


All times are GMT. The time now is 10:09 PM.



Powered by vBulletin® Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 PL2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45