After various help that I have received from this community, I would like to ask you another question.
The question always concerns a system installed on a boat.
First of all a brief description of the network, where I will have to repeat some information already provided in my previous post (https://community.teltonika-networks.com/19988/two-dhcp-servers-with-different-subnets).
The internet gateway of the entire network is Teltonika RUTX12:
2 sim cards:
SIM 1 (flat data - public IP, not fixed 2.196.XXX.X)) —> ddns xxx.ddns.it
SIM 2 (for load balancing)
WiFI - OFF
DHCP server (192.168.10.100/249)
Two ethernet cables are connected to the RUTX12:
LAN 1 —> Router Netgear R8500 (WAN address 192.168.10.101 - DHCP server 192.168.11.2/254) —> WiFi 2,4 and 5,0 GHz —> devices
LAN 2 —> Raymarine Multifunction display (DHCP server, range 10.30.102.x)
IP CAM 1 (fixed IP in Raymarine DHCP server 10.30.102.101)
IP CAM 2 (fixed IP in Raymarine DHCP server 10.30.102.102)
IP CAM 3 (fixed IP in Raymarine DHCP server 10.30.102.103)
IP CAM 4 (fixed IP in Raymarine DHCP server 10.30.102.104)
IP CAM 5 (fixed IP in Raymarine DHCP server 10.30.102.105)
IP CAM 6 (fixed IP in Raymarine DHCP server 10.30.102.106)
IP CAM 7 (fixed IP in Raymarine DHCP server 10.30.102.107)
IP CAM 8 (fixed IP in Raymarine DHCP server 10.30.102.108)
This was necessary because, parallel to LAN network, there is a network of navigation instruments on the boat (NMEA2000, MasterBus, Czone). Among these instruments are a Raymarine AXIOM Chartplotter and 8 IP CAMs.
To work on navigation instruments, the IP CAM must be directly connected to the Raymarine AXIOM 12 via ethernet cable.
The Raymarine AXIOM 12 has two separate network interfaces that work simultaneously:
- WiFi interface, with which the device connects as a client to the WiFi of the Netgear router. It receives an IP address in the 192.168.11.x range, and downloads weather data and software updates. There is no device configuration webpage at the assigned IP address.
- Ethernet interface, where instead the device acts as a DHCP server, to which IP cameras and other navigation instruments are connected. In this mode AXIOM automatically acts as a DHCP server and assigns addresses in the range 10.30.102.177 subnet mask 255.224.0.0 These DHCP settings can only be viewed but cannot be modified in any way (the question has already been clarified on the manufacturer's forum).
In order to view the IP CAM video streams both from navigation instruments and remotely, Flebourse suggested me to:
- Go to Network->VLAN, for VLAN ID 1 change LAN 2 from untagged to off, add a new VLAN and set LAN 2 from off to untagged in VLAN 3.
- Go to Network->Interfaces, create a new interface edit it;
- in General Setup change the protocol to DHCP, in Physical Setting change the interface to eth0.3, "Bridge Interface" off, in Firewall Settings create a new firewall zone.
- Network->Firewall->general settings, assign permissions to new zone.
Now that everything is working correctly, I have two more questions:
1. On LAN 1 I have several Apple TVs, on which I have installed some APPs for viewing IPCAMS via url. From LAN 1, can I access LAN 2 or are they completely separate?
2. The system management software on iPad (WilhelmSK) gives me the possibility to enter only one address for the camera. Is it possible to set the RUTX12 to resolve the IPCAM remote address to a local address? In this way, when away from the boat, I would view the IPCAMs via remote streaming, while when connected to the boat's WiFi, the RUTX12 would automatically resolve the remote url to the local one?
I hope I have explained myself enough, thanks in advance to those who want to help me.