Diagnose this network problem...

Okay, here goes.
I’m working on installing a DVR at work. For the last month I’ve had it sitting in the backroom connected to a switch so I could play around with it via my computer, it’s been working just fine.

Today, I went to install it in it’s final resting spot. It’s going to be over by where the internet enters the building, right next to the modem.

Currently, the a network cable leaves the modem comes over to this end of the building enters a router then a cable goes to a switch and goes out to all the internet hungry devices. During testing I plugged the DVR into that switch.

Now, instead of getting a 100 ft ethernet cable, I picked up another switch. Plugged the modem into the new switch, plugged the cable that goes back to the router into the new switch and plugged the DVR into the new switch.

Everything still works just fine except the DVR won’t hop onto the network. The router won’t show it as attached and I can’t ping it (it, as everything else on the network, has a static IP).
Hopefully this all makes sense. I’m just trying to figure out if there’s any way I make this work before I go back and have to install another 100 ft ethernet cable.

Wait, I think I just figured it out. Because of the way it’s wired now, the DVR is coming into the WAN port on the router with the internet.
Anyway around that?
Do I have to have a separate wire for the internet?

Yup, that was it. Moved the router to the ‘other end’ of the building so I could just run one wire back to the switch at ‘this end’ of the building and everything is fine now. Guess I just needed to say it out loud to help visualize everything.