user41077: Maybe a silly question, because it is a usual topic, but I have a problem with my Arduino Leonardo ETH.
I want to create a web server on the Arduino with the example sketch File > Examples > Ethernet > WebServer. I plugged in the ethernet cable directly to my laptop. So there is no router or switch between them.
I also set the configuration to my ethernet port to the following IPv4 properties:

Then in the example sketch, I changed the MAC address according to the bottom sticker of my Arduino.
byte mac[] = {0x90, 0xA2, 0xDA, 0x11, 0x33, 0xD6};
IPAddress ip(192, 168, 1, 177);

Now when I compile and upload the sketch to the Arduino, everything is working fine until it prints the IP address. According to the IP address which I have set in the code (192.186.1.177), it shows me 0.46.46.46 as you can see in the picture:

This happens when I print that:
Serial.println("server is at ");
Serial.println(Ethernet.localIP());

Do you have any ideas how I could fix this? And why does it show me that invalid IP address?
Thank you in advance.

user37622: use the Ethernet2 library for W5500

41077: <p>Maybe a silly question, because it is a usual topic, but I have a problem with my Arduino Leonardo ETH.</p>

<p>I want to create a web server on the Arduino with the example sketch <code>File &gt; Examples &gt; Ethernet &gt; WebServer</code>. I plugged in the ethernet cable directly to my laptop. So there is no router or switch between them.</p>

<p>I also set the configuration to my ethernet port to the following IPv4 properties:
<a href="https://i.stack.imgur.com/FUcIw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FUcIw.png" alt="Properties of internet protocol version 4"></a></p>

<p>Then in the example sketch, I changed the MAC address according to the bottom sticker of my Arduino.</p>

<pre><code>byte mac[] = {0x90, 0xA2, 0xDA, 0x11, 0x33, 0xD6};
IPAddress ip(192, 168, 1, 177);
</code></pre>

<p>Now when I compile and upload the sketch to the Arduino, everything is working fine until it prints the IP address. According to the IP address which I have set in the code (<code>192.186.1.177</code>), it shows me <code>0.46.46.46</code> as you can see in the picture:</p>

<p><a href="https://i.stack.imgur.com/6Jn9g.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6Jn9g.png" alt="Serial Monitor output"></a></p>

<p>This happens when I print that:</p>

<pre><code>Serial.println("server is at ");
Serial.println(Ethernet.localIP());
</code></pre>

<p>Do you have any ideas how I could fix this? And why does it show me that invalid IP address?</p>

<p>Thank you in advance.</p>
 37622: <p>use the Ethernet2 library for W5500</p>
