[Solved] Fixed IP to communicate with PLC

Discussions related to using VirtualBox on Linux hosts.

[Solved] Fixed IP to communicate with PLC

Postby facilXT » 16. Jun 2021, 23:23

Host ubuntu 20.04
Guest Windows 7 64bits
PLC

How communicate from Windows 7 to PLC using a fixed IP in Windows 7?
I have a specific program to communicate from windows 7 to PLC.

In a windows machine, it is enough to put a fixed IP in windows 7.
Then the windows are in the same network address.

For example:
Windows: 192.168.121.x

PLC:
192.168.121.y

I have already tried to use vboxnet0, but I only got to communicate between ubuntu and windows using ping.
facilXT
 
Posts: 2
Joined: 16. Jun 2021, 23:16

Re: Fixed IP to communicate with PLC

Postby mpack » 17. Jun 2021, 10:23

You do that the same way you would any other PC - disable automatic IP assignment in the guest OS and give it a manually assigned IP address. This is not a VirtualBox matter so don't look for a VirtualBox setting.

You should also configure the VM for bridged networking mode so it can use a physical network directly.

Management of physical networks is not a VirtualBox matter so there's no need for you to look for a VirtualBox setting.
mpack
Site Moderator
 
Posts: 34553
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Fixed IP to communicate with PLC

Postby facilXT » 17. Jun 2021, 16:39

mpack wrote:You do that the same way you would any other PC - disable automatic IP assignment in the guest OS and give it a manually assigned IP address. This is not a VirtualBox matter so don't look for a VirtualBox setting.

You should also configure the VM for bridged networking mode so it can use a physical network directly.

Management of physical networks is not a VirtualBox matter so there's no need for you to look for a VirtualBox setting.


Oh Oh No No
Solved.
Thanks!
facilXT
 
Posts: 2
Joined: 16. Jun 2021, 23:16


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 26 guests