LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Wich files contain IP and host information? (https://www.linuxquestions.org/questions/linux-newbie-8/wich-files-contain-ip-and-host-information-153407/)

sawoy 03-04-2004 08:28 AM

Wich files contain IP and host information?
 
Which files contain IP and host information in SuSe?

Pres 03-04-2004 09:55 AM

Possibly /etc/hosts, /etc/HOSTNAME ... but not sure in SuSe.

Lucasite 03-04-2004 10:25 AM

I know that in RH9, you can enter IFCONFIG .
It displays network information on your linux machine, including IP addressing and hostnames.


Hope this helps.

gregaryh 03-04-2004 11:04 AM

You will find your IP settings in /etc/sysconfig/network/ifcfg-eth0 for your main NIC.
If you are using DHCP however this will not display much usefull info.
For more information you can view the network page on the new LQ wiki site at http://wiki.linuxquestions.org/wiki/Network_Addressing


All times are GMT -5. The time now is 03:58 AM.