Obtaining IP adress

Hello!

I was wondering how you obtain the IP adress for the the arduino if you are connected to a school network.

Thank!

When DHCP is used in the sketch, the school network assigns a new IP address to a new client (the Arduino is the client).
You can print the IP address that is assigned to the serial monitor.