07-21-2016 09:58 AM - edited 03-08-2019 06:43 AM
Hello,
I need to setup to VLAN inside a network.
I have a network with this gateway 144.146.18.1, a DNS server 144.146.18.14 and a mask 255.255.0.0
IPs are assigned via DHCP.
And I need to connect a PLC which has a default gateway like this 192.168.0.200 and a static IP. I need to give internet access to this PLC
So, I guess I need to create a second VLAN in order to do this.
Is it possible?
I'm working with these switches: Cisco SG200-26 26-port Gigabit Smart Switch
Thank you in advance
07-22-2016 02:33 PM
Hi Moreno;
Cisco SG200-26 is a Layer 2 switch and support 256 vlan. If you want both Network to be segregate and work individually you can do without any extra device. But if you want intercommunication between these 2 Vlan you need a routing device (e.g Router).
Now with reference to your issue PLC network need to access internet. Then you required a Router with Internet connection. On Router you need configure NAT for PLC network (means your 192.168.0.X - PLC network need to nat with Public IP).
PLC ---> Router ---> Internet Cloud
(192.168.0.X) 192.168.0.200 X.X.X.X
(PLC DG on Router) (public IP)
Best regards;
Shoaib Ahmed
07-28-2016 01:23 AM
So I have to NAT the PLC on the router.
And do I have to create the second VLAN?
07-28-2016 02:08 AM
Hi;
You need to enable the NAT on PLC Router where your NAT inside will be PLC subnet & NAT Outside will be Router public ip address.
No extra vlan is required.
Thanks & Best regards;
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide