sniffing and passing data

Hello All,
I am new to this and have a question.
I have recently bought two Arduino Ethernet Shields. http://arduino.cc/en/Main/ArduinoEthernetShield
My goal is to have two Ethernet shields 1 input, 1 output and basically connect the input to lets say a wall jack and pass it though to the second shield to connect to the client. However through this process i will be sniffing traffic

I already have the code written for the sniffing portion of this however I can not get it to pass the data when i connect the two Arduino Ethernet Shields. I would ultimately like to be able to plug the one shield into a wall port (input) and use the other shield to pass any traffic (output) to the client.
I was hoping that this was going to simply be a plug and play however it is not. Any thoughts or suggestions on how to get these two Ethernet shields to play together and allow the traffic to pass through the two of them would be greatly appreciated.

Use a small four port switch instead of two shields.

David,
how would i go about this?
If i only have one network shield how would i get an output (to the client)?

You need a four port switch and two Ethernet cables. Run one cable from the switch to the wall jack and run the other from the switch to the client.