nikman1991
Posts: 3
Joined: Fri Jun 05, 2020 7:00 am

Multiple ip camera connection via Ethernet and USB Ethernet

Sun Jun 07, 2020 7:31 am

Hello,
(Using the Pi 4 Computer Model B 4GB RAM & Hikvision IP Cameras)
I am working on a project, where I need to use 3 IP cameras simultaneously. I managed to connect to each camera individually but as soon as i connect more that one Ethernet connection only the first IP camera connected is responding.
Also I can connect the cameras only using the USB-Ethernet adapters (I'm using: tp-link UE200, USB 2.0 to 100Mbps Ethernet Network Adapter),
if the IP camera is connected via the RP4's Ethernet connection then I cant connect to it (can't even go to its IP web-page).

To summarize:
1. How can I connect more the one IP camera? and are there any POWER issues i should be aware of?
2. Why can't i connect any camera using the Ethernet connection directly? (possible only if I use USB-Ethernet adapter).

Thank you so much for the time and attention. :D

User avatar
penguintutor
Posts: 386
Joined: Tue May 08, 2012 9:11 am
Location: UK
Contact: Website

Re: Multiple ip camera connection via Ethernet and USB Ethernet

Sun Jun 07, 2020 8:40 am

Are you connecting an Ethernet adapter for each camera? That would create different networks and need different addressing for each interface.

It would be better to have a switch which connects the Pi and all the cameras on a single LAN. Then configure each camera with a unique IP address but on the same subnet, or setup a DHCP server.

nikman1991
Posts: 3
Joined: Fri Jun 05, 2020 7:00 am

Re: Multiple ip camera connection via Ethernet and USB Ethernet

Sun Jun 07, 2020 1:20 pm

I just got a new switch and i will try it later.
Is there any way to keep my WIFI on while i'm connected trough the ET

User avatar
penguintutor
Posts: 386
Joined: Tue May 08, 2012 9:11 am
Location: UK
Contact: Website

Re: Multiple ip camera connection via Ethernet and USB Ethernet

Tue Jun 09, 2020 10:16 am

You can use wireless and wired ethernet at the same time.

One way is to connect the switch to the same router as the wireless network, although in that case you probably don't need to use wireless anyway.

I assume though you mean having a local network via wired ethernet to the switch and wireless to the rest of your network / internet.
In that case you just need to configure a different IP address for each interface with a different network address range (subnet). If your wireless network is giving you an address 192.168.0.? then set the network range for the other network as 192.168.1.? (or vice versa). I have written some guides on computer networking here: http://www.penguintutor.com/linux/compu ... k-overview
You can also set up to route between the two although that's quite a bit more complicated, so I suggest concentrating on two separate networks for now.

nikman1991
Posts: 3
Joined: Fri Jun 05, 2020 7:00 am

Re: Multiple ip camera connection via Ethernet and USB Ethernet

Thu Jun 11, 2020 9:52 am

penguintutor wrote:
Tue Jun 09, 2020 10:16 am
You can use wireless and wired ethernet at the same time.

One way is to connect the switch to the same router as the wireless network, although in that case you probably don't need to use wireless anyway.

I assume though you mean having a local network via wired ethernet to the switch and wireless to the rest of your network / internet.
In that case you just need to configure a different IP address for each interface with a different network address range (subnet). If your wireless network is giving you an address 192.168.0.? then set the network range for the other network as 192.168.1.? (or vice versa). I have written some guides on computer networking here: http://www.penguintutor.com/linux/compu ... k-overview
You can also set up to route between the two although that's quite a bit more complicated, so I suggest concentrating on two separate networks for now.
This is very helpful. Thank you so much :!:

Return to “Troubleshooting”