When a new PC is being built the motherboard has the most influence when selecting the case and power supply.
Type "ifconfig" at the terminal prompt, then press the "Enter" key. The IP address is labeled as "inet addr." The subnet is labeled as "Mask."
step 2
Type "netstat -r" at the command prompt, then press the "Enter" key to view the gateway address.