[Solved] Fixed IP to communicate with PLC

Discussions related to using VirtualBox on Linux hosts.
Post Reply
facilXT
Posts: 2
Joined: 16. Jun 2021, 23:16

[Solved] Fixed IP to communicate with PLC

Post by facilXT »

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.
mpack
Site Moderator
Posts: 39156
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

Post by mpack »

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.
facilXT
Posts: 2
Joined: 16. Jun 2021, 23:16

Re: Fixed IP to communicate with PLC

Post by facilXT »

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!
Post Reply