check static ip
I am trying to make my ip address static, so i have used this method.
http://www.backtrack-linux.org/forum...l=1#post114225 Now, i want to check if my ip address have become static or not. So, how can i do that ? Thanks |
Check the interfaces file in /etc. It will show if you are using DHCP or a static address. I cannot say with certainty exactly where the file will be with Fedora and RedHat, but with Debian-based systems it is /etc/network/interfaces.
|
According to your profile you are on RHEL/Fedora.
Check your network config files: Code:
cat /etc/sysconfig/network-scripts/ifcfg-eth0 Code:
BOOTPROTO="dhcp" Code:
BOOTPROTO=static |
And if you want to verify that the configuration file has been applied correctly, run "ifconfig eth0" and vberify that the IP address shown is the correct static IP.
|
All times are GMT -5. The time now is 02:41 AM. |