I'm trying to make my IP address static as I hear it fixes slow browsing issues.
When I click on connection information under the networking menu of the gray taskbar, it tells me about the IP address, subnet mask, and DNS, but nothing about the gateway.
I would like to know if there's a terminal command to find the information.
Best Answer
I have this command as an alias for "ipconfig" (up to 14.04):
An example listing is:
If
eth0
doesn't work, you may need to useeth1
,eth2
, ... depending on your configuration.EDIT: 2/8/16
Note that this only works in versions before v15.04 (or possibly before v14.10; I have v14.04). For newer versions, you can use this: