Hi,
On RedHat systems for startup config the IP address of an interface is stored in /etc/sysconfig/network-scripts/ifcfg-eth0
If I issue ifconfig command on comand line, then the ip address of interface is changed however the change of ip address is not reflected in the above file.
I want to know, where does linux store this ip adress apart from the above file.
When you do use ifconfig from the command line, the IP address is only kept internally in the kernel, and is lost when you reboot.
Instead of using ifconfig, modify the IP address in the file that you mentioned, and run "service network restart" as root. Now even if you reboot, the IP address is going to "stay".
- Sandip
-- Sandip Bhattacharya sandip (at) puroga.com Puroga Technologies Pvt. Ltd. Work: http://www.puroga.com Home: http://www.sandipb.net
GPG: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3
_______________________________________________ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/