To change the network configurations, we need to be root. Generally, we don’t need root access to inspect them.
Use ifconfig to find out the MAC address, IP address, and network mask. Which interface is the relevant one?



Layer 2 - MAC address - ether: 08:00:27:ad:25:87
Layer 3 - IP address - inet 192.168.1.10
- Network mask - 255.255.255.0
- Default gateway - 192.168.3.1
Layer 7 - DNS - 192.168.3.1
Relevant interface - eth0