Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hello all,

I have a robot which has only one NIC that has two virtual addresses:

a) 192.168.1.X
This address will be used to connect the robot to a PLC.
b) 192.168.1.Y
This address will be used to connect the robot to the customer LAN.

Would a managed switch be able to separate both connections?

LAN (192.168.2.X) --A--- SWITCH --B--- ROBOT (192.168.2.100 & 192.168.1.100)
                           |
                           C
                           |
                          PLC (192.168.1.101)


I would like to ensure no traffic that should go from B to C would reach A meanwhile any traffic from B to A would never reach C...

Do the managed switch manage the port (rj45) or does it manage the IP addresses that reach the switch through the port?

In the first case it would not work as a single cable would take two IP addresses to the switch from the robot, but in the second case it would do what I do need.

Can this be done with a managed switch?

summarizing: 1 physical NIC, two IP addresses linked to that NIC, two separated network paths. Would that work?

Thank you all!
Posted
Updated 23-Sep-14 18:54pm
v3
Comments
Sergey Alexandrovich Kryukov 23-Sep-14 15:15pm    
As far as I understand, this is a right idea... with a switch, you can create a "machine-area network" and isolate it from the outer network. If some computer needs to work with both, you can also do it using separate network card; then, for a performance-critical application, when a hardware control and data acquisition via IP traffic is a bottleneck, you can avoid compromising this traffic with the outer LAN traffic...
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900