That is the right question. Yes, you can. I have server code that monitors two ports with different web pages on each. Is that what you are looking to do?
Can you explain again why you need TWO shields? I'm not seeing any need from what you've said so far.
Yeah, but I'm still not seeing why you need the input and output to be in separate collision domains. Gateways and switches are very different things and it's not at all clear that this is either of those things. What is this device actually doing?
What data rate do you need? This is going to be like hooking up a fire hose with a drinking straw in the middle. It sounds like you're trying to make a network tap. An Arduino is a really terrible way to achieve that, I don't even think it could keep up with the "idle" chatter caused by computers just being plugged into the network, never mind actually sending/receiving data. The cheapest way would be with a laptop running wireshark, and a network tap. The second cheapest would be a dedicated PC with two or more NICs, running PFSense.
How could it not be more clear? you have an input and an output, stuff goes in, stuff comes out.It's reading RAW byte data from one device and sends it to another, that raw data is a specific, in-house protocol.I want the Arduino to just SEE what's being passed through it, it will in no way alter the data.
Quote from: RET80 on Sep 04, 2013, 05:07 pmHow could it not be more clear? you have an input and an output, stuff goes in, stuff comes out.It's reading RAW byte data from one device and sends it to another, that raw data is a specific, in-house protocol.I want the Arduino to just SEE what's being passed through it, it will in no way alter the data.It's not clear because nothing you've said so far precludes having the output interface and the input interface be the same network interface. Ethernet is not like a serial interface, it can carry multiple protocols in multiple directions with multiple senders and receivers all connected to the same network segment. Unless you have some reason why you need to prevent the input packets from being visible on the output network - which you haven't hinted at so far - I can't see why you insist that the input and output networks need to be different. Maybe there is a valid reason, but you haven't given it yet which is why I'm asking the question.