You have to include the Ethernet support in your project of course. This varies by the environment used (PlatformIO,CircuitPython,etc). But until you do this you won’t have a MAC address, much less an IP address. What have you done to enable Ethernet on the software side?