Hi, I apologise if this has been addressed somewhere else.
I am using the RPI 4b headless and I am running a custom Archlinux OS.
I am trying to connect my RPI 4b to my home internet modem/router via a USB2.0 to ethernet connector while also connecting the RPI to a router without an internet connection. The job of this router is to assign IP addresses to other devices in a local network.
RPI 4b ----- Internet (via USB to Ethernet Connector, not sure about the IP address assigned here, as it might be different)
RPI 4b -----Router (via ethernet, gets assigned IP 192.168.0.14)
router ----- connected to an RPI 3 device via Wifi and connected to RPI4b via ethernet.
In this situation, when I try to access the internet website that hosts the RPI 4b I get a partial image of the website and then it tells me that the IP address is not available.
when I switch things around:
RPI 4b ----- Internet (via ethernet port)
RPI 4b -----Router (via USB to Ethernet Connector)
router ----- connected to an RPI 3 device via Wifi and connected to RPI4b via ethernet.
I can see the hosting website is up and running, but the connection to the other devices via the router is not detected.
I am wondering if 1) the USB to ethernet connector is not working properly with the Archlinux OS
2) if having two IP addresses (one from the router and one from my internet modem/router both connected to RPI4b) is confusing the RPI4b.
What can I do to be able to access the host website for the RPI4b while also being able to detect the devices connected to the router?
This has been very difficult for me to figure out, with limited knowledge of RPI, Archlinux and routers. Any help would be appreciated!