Advice needed on handling two Internet connections
by lucmove from LinuxQuestions.org on (#6H8ZC)
This is the situation: I have a modem/router connected to the ISP. And I have a security camera that connects to the modem/router and feeds it the outside view. My machine is connected to the modem/router over Ethernet and I can access the camera feed on a certain IP address.
It works well except that sometimes that connection goes down and I have to use my phone's access point mode to access the Internet on the computer over Wifi. In which case I am no longer connected to that modem/router so I can't view the camera feed.
My available resources:
1. The camera. I can have it operate like an access point that feeds the images to anyone who connects to it. I really dislike that option because there are no configuration options besides the access password so I have no idea how secure it is so I'm afraid it could be hacked. I'm not using that. Or I can have it connect to my router, which is the way I'm using it.
2. The router. Besides the modem/router, I also have two old Wifi routers, one running standard firmware and the other running OpenWRT. They're not being used now, but I can use them. Both can get Internet over Wifi and serve via Ethernet or the other way around, never both.
3. Two wifi cards on the computer plus the Ethernet port.
4. A very basic and dumb Ethernet switch with 5 ports.
5. Only two Ethernet cables.
Now, the possible route:
The modem/router connects to the ISP. Router 1 receives Internet from the modem/router over Wifi or Ethernet. I always prefer Ethernet.
Router 2 receives Internet from my phone over Wifi. That Internet feed will be available sporadically.
The camera connects to Router 2, I guess.
My computer connects to Router 2, which has the camera feed and hopefully has Internet served by the phone or the modem/router. Hopefully.
Now, when my computer connects to Router 2, which Internet is it going to use? There must be Internet on Router 2 (though not always) and somehow Internet on Router 1 (usually). But will Router 2 know how to handle both Internet feeds?
Sounds like a Rube Goldberg machine to me and I'm not even sure it is going to work. I remember that configuring OpenWRT was no walk in the park either.
I'm out of ideas. Do you have any you can share with me?
It works well except that sometimes that connection goes down and I have to use my phone's access point mode to access the Internet on the computer over Wifi. In which case I am no longer connected to that modem/router so I can't view the camera feed.
My available resources:
1. The camera. I can have it operate like an access point that feeds the images to anyone who connects to it. I really dislike that option because there are no configuration options besides the access password so I have no idea how secure it is so I'm afraid it could be hacked. I'm not using that. Or I can have it connect to my router, which is the way I'm using it.
2. The router. Besides the modem/router, I also have two old Wifi routers, one running standard firmware and the other running OpenWRT. They're not being used now, but I can use them. Both can get Internet over Wifi and serve via Ethernet or the other way around, never both.
3. Two wifi cards on the computer plus the Ethernet port.
4. A very basic and dumb Ethernet switch with 5 ports.
5. Only two Ethernet cables.
Now, the possible route:
The modem/router connects to the ISP. Router 1 receives Internet from the modem/router over Wifi or Ethernet. I always prefer Ethernet.
Router 2 receives Internet from my phone over Wifi. That Internet feed will be available sporadically.
The camera connects to Router 2, I guess.
My computer connects to Router 2, which has the camera feed and hopefully has Internet served by the phone or the modem/router. Hopefully.
Now, when my computer connects to Router 2, which Internet is it going to use? There must be Internet on Router 2 (though not always) and somehow Internet on Router 1 (usually). But will Router 2 know how to handle both Internet feeds?
Sounds like a Rube Goldberg machine to me and I'm not even sure it is going to work. I remember that configuring OpenWRT was no walk in the park either.
I'm out of ideas. Do you have any you can share with me?