Portenta H7 on Breakout board returns static IP of 0.0.0.0

I cannot get the DHCP Chat Server example to work.

I plug the Portenta H7 into the Breakout board, then I plug the board into my laptop via ethernet, then I open the IDE (1.8.19), then I upload the example, then I check the output via Serial Monitor.

IP configuration failed using DHCP and resulted in a manual IP of 0.0.0.0.

However, these are the manual settings:
IPAddress ip(192, 168, 1, 177);
IPAddress dns(192, 168, 2, 1);

WHAT am I doing wrong??

These are my actual IP settings:

IPAddress ip(192, 168, 1, 177);
IPAddress myDns(192, 168, 1, 1);
IPAddress gateway(192, 168, 1, 1);
IPAddress subnet(255, 255, 0, 0);

did you setup Ethernet on the PC for the direct connection?