Can't get DUAL NIC setup to work #21441
-
|
Hi, when i try to setup a single camera , the yaml saves but i receive no frames; please find attached the error logs. The frigate yaml configuration is as follows: cameras: detectors: |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
|
The issue is likely related to Docker networking rather than Frigate configuration. When running Frigate in a Docker container on Unraid with a dual-NIC setup, the container needs proper network access to reach cameras on the isolated network (10.1.1.x). Your Frigate configuration looks correct for a basic camera setup(1). The "no frames received" error typically indicates the container cannot establish a network connection to the camera at 10.1.1.65. For Docker installations, you'll need to ensure the container can route to your camera network. The standard Docker Compose configuration uses bridge networking(2): services:
frigate:
container_name: frigate
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:stable
network_mode: bridge
ports:
- "8971:8971"
- "8554:8554"However, with your dual-NIC setup where cameras are on an isolated network (10.1.1.x via eth1), the container likely cannot reach that subnet through standard bridge networking. Potential solutions:
The first option (host networking) is typically the simplest for troubleshooting. Once you confirm the camera feed works, you can refine the networking setup if needed. Check the Frigate Docker logs ( 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
The best way to diagnose this is to check within the Unraid CLI if you can ping the camera, and then within the Frigate container |
Beta Was this translation helpful? Give feedback.
-
|
Not sure of the data you have entered in your copy for "PCI Network Interface Card". The address 10.1.1.0 with a /24 subnet mask appears to describe an entire subnet, not an individual device... I would have expected that you would have needed to specify the specific static IP Address "10.1.1.1" as the address for the NIC in this spot ? (but admit I am not familiar with your Unraid config screens). I did what you are trying to do under Debian 13, and roughly followed process similar to what is described here "https://devtutorial.io/how-to-configure-static-ip-address-on-debian-12-p3121.html" performing config of the 2nd static NIC address using the command line. In any case - after you setup the static address for the NIC - and the IP addresses "10.1.1.x" for the individual cameras... you should be able to access / ping the cameras from the Unraid CLI (or desktop if you have one there) ... After that configure Frigate docker container etc. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.














I got it to work finally! (with the help of Gemini)
Turned out that also the URL structure for my dahua camera needed to be different than was suggested by default by frigate;
i had to use:
rtsp://admin:password@ip_address:554/cam/realmonitor?channel=1&subtype=0
so in summary, the steps i had to take to solve the original problem:
in unraid network settings configure eth1: set the IP addess for eth1 (i.e. the second NIC) to 10.1.1.1 / 24
in camera settings, set static ip addresses on camera in camera subnet range, e.g. for me 10.1.1.x, put default gateway to 10.1.1.1
define a docker macvlan for br1 (eth1). i did this by puting in the cli:
docker network create -d macvlan --subnet=10…