---
title: "Dual ethernet ports Due"
url: "https://maker.wiznet.io/minsu/projects/Dual-ethernet-ports-Due/"
markdown_url: "https://maker.wiznet.io/minsu/projects/Dual-ethernet-ports-Due/md"
type: "UCC: User Created Content"
author: "minsu"
author_url: "https://maker.wiznet.io/minsu/"
original_author: "minsu"
original_url: "http://forum.arduino.cc/index.php?topic=253038.0"
published: "2019-04-02"
language: "en"
hardware: ["WIZnet WIZ820io"]
likes: 0
views: 619
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Dual ethernet ports Due

> Dual ethernet ports Due

Original author: minsu (source: http://forum.arduino.cc/index.php?topic=253038.0)

## Components

- **WIZnet WIZ820io** x 1 ([docs](https://docs.wiznet.io/Product/ioModule/wiz820io))

## Documents and links

- [zabaat](https://github.com/Wiznet/W5200_Arduino_Ethernet_Lib) (code)

## Article

The reason for all this: I have two other devices that need direct connections to and absolutely will not be able to use a switch (http://forum.arduino.cc/index.php?topic=253038.0) using the modified libraries?<https://github.com/Wiznet/W5200_Arduino_Ethernet_Lib>?for the wiz820io chip I found I am successfully able to connect with a single one to the google homepage download demo. Now I am trying to add a second wiz820io to my Due, and having difficulty figuring out how to make a separate instance of the Ethernet library that can use another SS pin. It seems that the w5100.h file defines the SS_PIN so I'm not sure how to make another one and then tell the sketch that it needs to make another client using the different hardware. ![](https://maker.wiznet.io/uploads/2019/04/Dual1-300x225.jpg)

---

Source: https://maker.wiznet.io/minsu/projects/Dual-ethernet-ports-Due/
