I have a new Debian install that I installed my Ubiquity NVR (Network Video Recorder) on and all is well so far. The cameras are currently attached to the U-verse router via external switch device.
The PC has a Realtek Gigabit on the motherboard that is connected to my U-verse router (and the rest of my network). It has a second Realtek PCI Fast Ethernet card that is a 4 port switch (DNR-17746).
what I want to do is use the PCI 4 port switch to connect all my cameras to the recorder and reduce traffic on my LAN. Further, I want to use the 4 Port PCI Switch because the U-verse router is not always reliable. It seems to power cycle and loose connection to often. So I reasoned that putting the cameras on the 4 port PCI card would allow the software to continue recording even if the U-verse router failed. I wanted the NVR software and cameras independent if the rest of the network so it has less failure points. The software will reconnect to internet and sync recordings when internet returns.
Thus, I think I need to install routing on Debian to have the camera live view data only travel through the PCI 4 port switch to the recording software installed on the same PC.
The software will detect motion and record but live view is always on. The recorded videos then are auto uploaded to a cloud service. There are times when I remote connect to the recording software to see live view, so there still needs to be passthough to the internet.
for me this is all too complicated! However, I was able to bridge eth0 and eth1 to br0 and that also works but no traffic routing happens. to make it worse (for me) I want routing to be transparent to the U-verse router. When I plug in another router (external) I get error messages saying double NAT detected on the U-verse router.
I've read that using ebtables (maybe instead of iptables) that the routing is MAC layer based and hopefully works better with my U-verse router.
3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) PRETTY_NAME="Debian GNU/Linux 8 (jessie)" NAME="Debian GNU/Linux" VERSION_ID="8" VERSION="8 (jessie)" ID=debian 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter (rev 10) Subsystem: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter Kernel driver in use: 8139too 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02) Subsystem: Hewlett-Packard Company Asus IPIBL-LB Motherboard Kernel driver in use: r8169
The 4 Port PCI Fast Ethernet Adapter has 2 Realtek chips: RTL8305SC and RTL8100CL. The board has DNR-17746 printed on it but no other info.