I'm running FC6 on an old box (1.8ghz Celly / 512 DDR / Integrated Ethernet), and never had a problem before, until recently, when I modified my network. The box is headless, and all administration is through SSH / Web. I run a number of things on this server (Webserver, Samba, etc)
What I did:
1. Change its IP from 10.2.254.3 to 10.2.10.3
2. Changed Subnet from 255.255.240.0 to 255.255.255.0
3. Changed nameserver from 10.2.254.1 to 10.2.10.1
4. Changed gateway from 10.2.254.1 to 10.2.10.1
However these settings NEVER stick. They ALWAYS reset themselves back to 10.2.254.3 for IP, 255.255.240.0 for subnet, and gateway and nameserver also go back to 10.2.254.1.
I tried setting up the network using the network set up script "netconfig", and it didn't even change the IP to begin with. So used:
[root@FC6Server ~]# ifconfig eth0 10.2.10.3 netmask 255.255.255.0
[root@FC6Server ~]# route add default gw 10.2.10.1 eth0
I then had to manually modify /etc/resolv.conf using vim to change my nameserver to 10.2.10.1 (as it had reverted to 10.2.254.1)
Now that I've set it all up, if I simply type
[root@FC6Server ~]# /etc/init.d/network restart
Everything will revert back to the previous settings.
Even though I have manually set it, there is a good chance that it will just revert by itself. I have no idea what triggers it even.
This is really driving me up the wall
. Why is this happening?