Obtaining IP adress


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


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.