LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Linux servers' IP address (http://www.linuxquestions.org/questions/linux-server-73/linux-servers-ip-address-635868/)

huhahu 04-16-2008 08:51 PM

Linux servers' IP address
 
I've been given the task to fill a form that asks our servers'
IP Addresses:
Network Masks:
MAC Addresses:
Default Gateway:
My work station is in the network.
How can I get these addresses?
The network has two ISPs.

blacky_5251 04-16-2008 11:19 PM

Depending on your distro, you can use "ifconfig" and/or "ip a" to show the information you are looking for.

mahmoud 04-17-2008 06:17 AM

or view the files depending on the disto
/etc/sysconfig/network-scripts/ifcfg-eth0,eth1
/etc/network/interfaces


All times are GMT -5. The time now is 09:23 PM.