Results 1 to 5 of 5
Hi,
I am using RHEL 5.1 and i would like to know,
How to find, whether my system is using DHCP or STATIC IP
with out looking at /etc/sysconfig/network-scripts/ifconfig-eth0 configuration ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-25-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 2
[SOLVED] 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, whether my system is using DHCP or STATIC IP
with out looking at /etc/sysconfig/network-scripts/ifconfig-eth0 configuration file.
Regards,
venkat
- 09-25-2009 #2
Do you mean based on the IP address itself or using another file? There is no real way to know unless you look at a configuration file for your network or syslog, or checking to see if there is a dhclient pid file saying that you leased an IP.
- 09-25-2009 #3forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
Welcome to the forums!
In my own experience, I've always had to setup any static IP address that I wanted to use, so that it would work, whereas DHCP worked without any added effort from me.
Just curious... did you setup a static IP address on your machine, or did it connect automatically to the web?oz
- 09-25-2009 #4
If you are using gnome, try looking in the menu.
system->administration->network
Something there should indicate if it's static or DHCP.
I'm not using RHEL, but your menu should be similar.
- 09-26-2009 #5Just Joined!
- Join Date
- Sep 2009
- Posts
- 2




