Avatar of slgoetze
slgoetze
 asked on

Network - multiple devices on the same IP

Does Windows 7 permit multiple devices on the same IP address but with different port numbers.
For example-
Device1 at  192.168.168.25:8001
Device2 at  192.168.168.25:8002
Device3 at  192.168.168.25:8003

I’m trying to do this with some cameras and it doesn’t seem to like it. It may be the devices or maybe Windows.
Windows 7Windows XP

Avatar of undefined
Last Comment
David Johnson, CD

8/22/2022 - Mon
TazDevil1674

No - why would you need to do it like this?
ASKER CERTIFIED SOLUTION
Kash

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Cluskitt

Each IP has to be assigned to a single device. Ports are used to communicate with different protocols on the same device.
You have lots of available ips. Even if you do need to connect thousands of cameras, you can use 255.255.0.0 submask. That should be enough for 65025 different devices.
slgoetze

ASKER
TazDevil1674Posted on 2012-05-24 at 13:13:50ID: 38007024
No - why would you need to do it like this?

because there are more cameras than there are external IP addresses. What is your suggestion?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Cluskitt

Assign each to a different internal IP address. Configure your router to reroute to each ip based on the port received. That is, incoming connections for port 8001 are sent to 192.168.168.10. 8002 is sent to 192.168.168.11. Etc.
TazDevil1674

Sorry if I sounded blunt?  I was only enquiring why this would have been needed...

I suggest using NAT.  Internally, every device has unique address - externally configure your Firewall/Router (using NAT) to 'port forward' eg:

externalip:801 -> 192.168.10.201:80
externalip:802 -> 192.168.10.202:80
externalip:803 -> 192.168.10.203:80
externalip:804 -> 192.168.10.204:80

The choice of Port on the external side should be chosen not to conflict with standard services which will reduce the chances of probelms.
Tony Giangreco

Your network will not operate with duplicate IP's. Windows will display an error message and eventually stop allowing them to function properly.

You should be able to define a series of ports on the main Pc and assign a specifiv port to each pc that connect to your main pc. That would either be in the target of the icon you add to each pc or specif functionality built into the application that determines the next available port and assign it to that pc.

Hope this info helps!
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
David Johnson, CD

For instance you can have multiple web servers on 1 machine sharing the same ip address using different ports.  That is how tcp/ip works for instance dns uses port 53, http port 80, smtp port 25, pop3 port 110 and so on..

The tcp/ip address must be unique for each network section otherwise the network won't know which mac address to send the packets to