2
When I enter ifconfig command, I get inet address as 192.168.1.36 for example.
But sometimes this address changes to something like 192.168.1.34 like when linux is restarted or when the router is restarted or sometimes it changes even by itself.
This causes a lot of work for me to change again configurations in my projects that needs this IP address.
I am using Fedora 13 64bit.
My DSL Model/Router box is connected to this linux box in addition to other boxes in the local area network. This in unbranded modem/router reachable via http://192.168.1.1. I am not sure if this has anything to do with the issue in this question.
1You need to configure both your router and PC for static IP addresses. There should be an option on your router. I'm not a Linux expert and you don't give your router make/model. However, unless your projects are strictly personal you'll have to make sure that they can cope with running on other machines where the IP address will be different. You should really look into modifying them so that they can auto-detect the IP address if possible. – ChrisF – 2011-06-06T09:16:18.927