Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
what's possible depends on what this camera is... are they networked? usb? we can't really help if you don't actually tell us about what these things are. there's certainly no reason you can run multiple web services on different ports, apache can do that without thinking...
Assuming that the cameras are each connected to the same network, with separate network cards each, then that's not directly possible.
Each IP address on the network relates to one network interface controller (NIC), being one network card. Each NIC can have several IP addresses.
You would have to assign each network card its own IP address, and then set up 10.0.0.50 as a NAT-ing router. You can then redirect ports on the router to point to the various cameras.
e.g. let's say camera 1 is at 10.0.0.1 and camera 2 is at 10.0.0.2, and the router (any old linux box would do) is at 10.0.0.50 as in your example. You can then set up port redirection to forward port 10.0.0.50:80 to 10.0.0.1:80, and 10.0.0.50:81 to 10.0.0.2:80.
You could even set up the cameras on a separate subnet if the number space becomes a problem. The router would just need two IPs , say 10.0.0.50 and 10.0.1.50, and routing table entries to direct both subnets to the card. (Or change the netmask to 255.255.127.0 so the router thinks of it as one subnet, but that can get very confusing).
okay here is exactly what i, i just confirmed it lol,
there are camera's and these camera's will in LAN through a switch. Now ppl from other part of the world should be able access all the camera whenever they want (sort of a website kinda service u may think of). So how to achieve this using linux box?