Sounds like you have two DSL modems there.

A router would have 5 cat5 ports and a power connection.