I have a embedded board with yocto based minimal linux without GUI. It has Ethernet and WiFi interface up and running.
Now, I have connected Axis F44 (192.168.30.35) camera to my ethernet port (192.168.30.34). My WiFi interface uap0 having AP mode static IP:192.168.42.1 and when I connect any device to WiFi as station that device receives IP:192.168.42.25. Below image describe the network details.
Now, in order to play the RTSP stream of camera from the mobile device application I am not sure what network changes I should do in board so that mobile device (192.168.42.25) can start ping Camera (192.168.30.35) and vice-ver-sa.
Can anyone suggest how to achieve the goal? Or what should be the required network configuration (bridge or IP forwarding) ?
Interface on device:
eth0 Link encap:Ethernet HWaddr E2:5D:60:CB:29:99
inet addr:192.168.30.34 Bcast:192.168.30.255 Mask:255.255.255.0
inet6 addr: fe80::e05d:60ff:fecb:2999%lo/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:209 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2030 (1.9 KiB) TX bytes:17571 (17.1 KiB)
uap0 Link encap:Ethernet HWaddr D4:CA:6E:5E:4E:01
inet addr:192.168.42.1 Bcast:192.168.42.255 Mask:255.255.255.0
inet6 addr: fe80::d6ca:6eff:fe5e:4e01%lo/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2617 errors:0 dropped:0 overruns:0 frame:0
TX packets:78 errors:18 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:180796 (176.5 KiB) TX bytes:4590 (4.4 KiB)
