Get IP.Adress of wired (ethernet) Devices with Arduino YUN

Hello,
I beginner with the YUN arduino and I could like to get the IPaddress of devices wired by ethernet to the YUN.
And finally print it on the console!

I read many tutorials and library description but got no Clue!
Thank for your help!

Did you do that on the PC you connect to an Ethernet network? No? That's because in the described way it's not possible.

Before I explain you how Ethernet and IP networks work: What do you want to achieve? Do you want to scan a network (an illegal task if the network is not your's)? Do you want to find a specific service on the network? What kind of network are we talking about? If the YUN is connected to the Internet the list would be almost infinitely large.

Hello, first thank you for the answer.
My goal is to get the entrance from the ethernet then transmit it through Xbee to another Arduino :slight_smile:
But for now, I just want to get some data from the Ethernet sock to the serial console.
Nothing illegal :slight_smile:

My goal is to get the entrance from the ethernet then transmit it through Xbee to another Arduino

For that you only need to know what IP the Yun has, the Yun doesn't have to know anything about the rest of the network.

But for now, I just want to get some data from the Ethernet sock to the serial console.

Again, that's a simple applications. The example "Examples/Bridge/TemperatureWebPanel" gives you some hints how you can do that.