Visit The New, Modern Unix Linux Community

Purpose of Static IP address through DHCP

Thread Tools Search this Thread
Operating Systems Linux Red Hat Purpose of Static IP address through DHCP
# 1  
Purpose of Static IP address through DHCP

Hi All,

Could you please explain the purpose of assigning the static IP by using the DHCP Concept. Like by using the clients MAC address we assign the static IP Address. Waiting for your reply. Thanks in Advance.
# 2  
One reason is ease of IP address management
# 3  
Not sure I would agree with ease of ip address management. After all depending on how large the network is using dhcp to staticly assign ip addresses could be a very large task and if you are going to use static that way why not remove DHCP ahs assign everything it's own ip address.. I would say it is used for devices that need to have a staic ip address on a HDCP network. For example a printer or server or IDS system. Usually on a dhcp network you are only going to have a hand full of staticly assigned addresses.
# 4  
You could do static for every device and every host... but do you a have a good way to automate such for every OS and device? This is why bootp style auto addressing is perhaps a good idea.

Just saying...

Problem sort of goes away with IPv6... (depending... those dhcp servers hand out a lot of data that isn't necessarily related to getting the device onto the network)
# 5  
Devices which provide services might would need a static ip.
I can't say much for what you'd assign them for, but I know for sure it is better to assign static addresses by DHCP than on each client. Say your network gets larger and you need to split it into subnets, it would suck going around to all the machines to change them.
# 6  
Here is the thought process;

DHCP is use for mobile devices which could/do move around form one network to another, i.e., Laptops.

Static is used for device that would not move around, i.e., Servers, Desktops and Printers.

If your network is growing then any new device that is static would get a static IP address for the new network. Mobile device connecting to the new network would get a DHCP address from the new network.

I guess if you are working for Mom & Pop you don't need to think this way but in an environment of 6000+ employees and 10000+ devices, using DHCP for static is not going to cut it.

Here is another thing to think about. Just because you map an ip address to a MAC address doesn't mean the machine is going to be assigned to that device. MAC spoofing ring any bells? This is why you want devices that provide a serves to have a static IP Address not some sort of DHCP static.

At the end of the day it all comes down to what you prefer. I prefer static devices to have static addresses and mobile devices to have DHCP addresses. If you cannot see far enough into the future to plan ahead for a growing network.......
# 7  
We have to build thousands of PC's where I work. They are all built with the same image and thus they all use DHCP. A very few of them need a static IP (or at least the owners think they do Smilie). We assign these static IP's but the PC's still use DHCP. We have almost 3,000 PC's but less than 100 of them have static IP addresses.

The usual genuine reason for assigning static IP's is security. My PC has a static IP address and that address is known by various highly secured servers. Thus an ssh from my PC will be accepted.

At home I use static IP addresses because I feel like it. But my roku box must use DHCP, it has no capabilty to enter an IP address directly. This is the only device I know that must use DHCP but I guess that others may exist.

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #410
Difficulty: Easy
Trusted XENIX was a variant initially developed by HP-UX, under the name Secure XENIX.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Solaris static IP changed (non DHCP)

We have 2 solaris 10 t5240 servers with static IP addresses on nxge0 I/F which were rebooted a few days back with a known good config that has been in place for years (for /etc/hosts, /etc/hostname.nxge0, /etc/netmasks, etc) They are not using dhcp. About the same time today, both of their... (7 Replies)
Discussion started by: hdatontodo
7 Replies

2. IP Networking

Node switched itself from static to DHCP on reboot issue

I'm trying to figure out what circumstances would cause an Open Solaris 11.2 host to switch itself from a static to a DHCP ip address upon reboot. This has only happened once but is a cause for some concern as this machine will be part of a web server pool. Nothing has changed on the LAN that... (2 Replies)
Discussion started by: SmokeyJoe
2 Replies

3. IP Networking

Get DHCP relay interfaces IP address using DHCP

Hi All , please view the set up below: ------------------------------------------------------------------- | DHCP Server |-----------| ROUTER & |-----------| Clients | | | - -<eth1>| DHCP-RELAY|<eth2>-- | 192.168.88.X | ... (2 Replies)
Discussion started by: gdangoor
2 Replies

4. HP-UX

[Solved] Static or DHCP IP in HP-UX

Hi, I can find the IP details whether it is Static or dynamic in Linux machine from the location /etc/sysconfig/network-scripts/ifconfig-eth0 configuration file. Can someone suggest a location to find the same in HP UX machines? -Vivek (2 Replies)
Discussion started by: vkk
2 Replies

5. UNIX for Dummies Questions & Answers

How to tell if i am using DHCP or Static

Hey guys , YEs this is probably silly for most but i am new to this forum and solaris . i am curious to know if the ip address we have for our solaris server is static or dhcp . how can i tell ? will ifconfig -a tell me this ? or other commands? Thanks in advance (1 Reply)
Discussion started by: xdrivex
1 Replies

6. Red Hat

How to know whether my system is using DHCP or STATIC IP

Hi, I am using RHEL 5.1 and i would like to know, how to find the whether my system is using DHCP or STATIC IP with out looking at /etc/sysconfig/network-scripts/ifconfig-eth0 configuration file. Regards, Venkat (3 Replies)
Discussion started by: venkat55
3 Replies

7. IP Networking

Switching from DHCP to Static IP

I am trying to write a set of scripts for my Ubuntu 810 Server to allow a user to change from DHCP to a user-supplied Static IP, Subnet, Gateway and DNS Servers. So far I have the following, where $USERCHOICE is a user-entered value in each case: ifconfig eth0 down && ifconfig eth0 $USERCHOICE... (1 Reply)
Discussion started by: cleanden
1 Replies

8. IP Networking

How to configure DHCP to Static IP

I am pretty new to this. My router was earlier configured to enable DHCP, thus my UNIX box is using the dhcp address, i.e. I have to do a ifconfig dhcp hme0 start. Since I am planning to use my NT as a web server, I needed to use the static IP address. How do I configure the unix box to use the... (5 Replies)
Discussion started by: lee30320
5 Replies

9. IP Networking

dhcp and static ip conflicts.

I have a USB Wireless Adapter using the rum0 driver. All I want to do is set a perminent static IP for the onboard wired interface elxl0. I can plumb the wired interface up fine on the fly, but when I try to save the static IP over a reboot, I lose the IP address assigned to rum0 from my wireless... (1 Reply)
Discussion started by: ts97783
1 Replies

10. HP-UX

HP-UX 10.xx Changing from static IP to DHCP

***Newbie alert*** What's the easiest way to accomplish this? An admin left our company and I have taken over his HP Workstation and moved it to a different location that is on a different IP segment. I have performed a number of google searches but the steps I have followed haven't worked. ... (1 Reply)
Discussion started by: Steelysteel
1 Replies

Featured Tech Videos