Bringing up an interface:
To bring up a network interface, we use:
And likewise for "turning off" an interface, we use:
Showing the interface details:
Assigning an address to an interface:
Assigning a static IP to an interface:
We use the file "/etc/network/interfaces" to assign a static IP address to an interface:
Changing the hostname:
To change the hostname, we use the below command:
Your machine's neigbhors:
The below command replaces the "arp" command:
- STALE : the entry is correct but not 100% accurate.
- REACHABLE : the entry is valid as long as the timeout (reachability timeout) has not expired.