Could you please let me know how can we check whether any given solaris machien is using DHCP or not.
is
is full proof method or is their any other way.
It might depend on which Linux you are using. In RHEL, ifconfig is deprecated (and doesn't show if the interface is using DHCP, and it's replacement commands don't show it either, from what I can see).
You can check /var/lib/dhclient/dhclient-*.leases files or the interface configuration files (in the case of RHEL) in /etc/sysconfig/network-scripts/ifcfg-*.
Last edited by Scott; 03-26-2014 at 02:06 PM..
Reason: Added /etc/... info
but is it possible by any other method apart from checking the file given by you.
i am just trying to check whether the RHEL machine is running with dhcp or not .
Please suggest.
DHCP clients are programs, not a driver or setting, which is why this is complicated. There isn't a special "this interface is using DHCP" flag. The client might not even still be running, and if it is, you don't necessarily know which client.
So, figuring out if a distribution uses DHCP comes down to understanding how it's configured and therefore knowing what to check for.
We have one address range for statis IP addresses. And we have a second range for DHCP addresses. I just look at the IP address and see which range it is in. Don't you guys have a specific range of addresses for DHCP?
Hi All.
Can anyone let me know the smartest and fullprrof method of checkking whther any given linux machine is using DHCP or not?
# ps -ef | grep dhcp
gives output like below :
root 3251 3128 0 11:02 pts/0 00:00:00 grep dhcp
so i dont think its full proof method , please... (3 Replies)
I need to find out the MAC address of an IP leased from DHCP server .
For Eg:-i need to know the MAC of the below mentioned IP at the below mentioned time .
IP : 172.16.28.90
Date :Sunday July 2nd 2011
Time : 14.07.2011
OS -Solaris 10
Vital QIP IP management software using to... (0 Replies)
Dear All,
I have following configuration solaris 10 host
interface e1000g0 hold IP 10.124.73.178 having internet access natted to public ip on cisco switch
interface e1000g1 hold IP 192.168.8.10 DHCP server with DHCP client IP ranges 192.168.8.11 to 192.168.8.15
/etc/defaultrouter hold... (4 Replies)
Hello,
I need to configure a Cisco VLAN Accesspoint with DHCP using Solaris
dhtadm & pntadm
Network: 10.10.122.0 255.255.255.0
Default Router 10.10.122.1
Scope Range 10.10.122.10 - 254
Option 60 “Cisco AP c1142”
Option 43 ... (0 Replies)
This is probably really basic compared to what you guys are usually talking about here, but I have a problem and I have no idea what to do about it. I try to RSH to my Ubuntu computer from my Solaris one and run into a dead end:
>> rsh 192.168.1.103
::ffff:192.168.1.103: Connection timed out... (4 Replies)
hi,
I have some windows client machines which require a signal to be sent by a Solaris machine( SunOS 5.6) when ever a particular event occurs on that Solaris machine. What are possible communication mechanisms by which i can do this.
the constraints are
> the windows machines have to... (7 Replies)
I have a new solaris machine and I am trying to bring the same on network. The IP assignemnt is via DHCP. I want to know as which files need to be modified to include DHCP server IP in order that the machine gets its IP via DHCP server.
Thanks in Advance. :) (1 Reply)
I am running solaris 8 on the ultra 5 sparc. I used to have a static ip address set up and now I've moved and I'm trying to get dhcp working. I have read many man pages. My latest attempt was trying to use the ifconfig command to set this up but I'm not sure how to use it. How does my gateway... (9 Replies)