Static IP / Subnet mask and Gateway

Hi all,

I installed Fedora 9 + squid at one of PC at work.
Our company has windows 2003 servera acting as DHCP server.

During installation, i set linux box up as Static IP (192.168.0.100)

But once installation completed, The pc is assigned a different IP address instead of 192.168.0.100.

I changed the config at /etc/sysconfig/network-scripts/ifcfg-eth0 but no good..

I also changed the gateway at /etc/sysconfig/network

i restarted but it still picks up different ip address.

Note: 192.168.0.100 is not in use

any idea?

Maybe because 192.168.0.100 is a private IP and to connect to the Internet you need a public IP so the DHCP server maybe assigning it one.

The PC is assigned another private IP which is 192.168.0.70. Your PC does not need public IP to go to internet. Your router is.

How did you change your config?
Make sure 'BOOTPROTO=static' is set in the ifcfg-eth0 file.

If that doesn't work post your ifcfg-eth0 file so we can see what might be the problem.