According to your profile you are on RHEL/Fedora.
Check your network config files:
Code:
cat /etc/sysconfig/network-scripts/ifcfg-eth0
If there is a line saying
you are on DHCP, If there is are lines saying
Code:
BOOTPROTO=static
IPADDR=XX.XX.XX.XX
you are on static IP.