If, on other hand, hair dryer could be configured to use RB as it's default gateway, then the whole SRC-NAT would not be needed because when talking to PC hair dryer would know that PC is not directly accessible and would use gateway as proxy. which (after un-SRC-NATing) arrive at PC. when PC talks to hair dryer, hair dryer thinks it's router communicating to it and can send replies. Assuming your hair dryer is one of those devices it will be able to communicate with router directly (because router will have appropriate IP address on one of its interfaces), but won't know how to talk to your PC because for that it would have to use gateway and hair dryer has no idea about gateways.Īnd to overcome this problem, one uses SRC-NAT. Some devices can't be configured with gateway address which means that (without some tricks) they can only communicate with devices within same LAN subnet. If you have say a hair dryer, connected to ethernet, and it has to be configured manually. If you need some more concrete advice, then describe your use case more in detail. Router will replace PC's address with it's own address and gadget will respond to router's address (which is in the same subnet and hence gadget doesn't need any routing configuration). Which means that from PC you'll initiate connection towards gadget's real IP address. I'm assuming the IoT gadgets (HMI, PLC, Camera, any devices with Ethernet port) can't and you'll have to configure router to perform SRC-NAT on the way from PC subnet towards IoT subnet. The following step depends on whether those devices can use router as their default gateway or not. Then you have to set up router with IP address on each of those subnet devices (either bridge or ethernet port). If you only wanted to connect one of devices in each subnet at the same time, then you could skip this part. Each part would be built off a bridge (something like an ethernet switch), spanning two ethernet ports. if you want to connect two devices from subnet 192.168.7.x/24 and two devices from subnet 192.168.2.x/24, then you would have to "partition" your MT router into two parts. Setup slightly differs depending on whether you want to use one or mutiple ethernet interfaces for connecting devices in particular subnet.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |