Procedure
-
Access each VM through the management port:
ssh -p <port> localhost
where:port is the number for the management port assigned when the VM was created.
- 10021 is the port number for VM1
- 10022 is the port number for VM2
-
Inside the VM, list the network interfaces:
ip link
-
In the host1 VM, configure the OVS-connected Ethernet port with an IP address:
Note: It is important that for each tenant each VM is configured with a unique IP address on the same IP subnet. Different tenants could use addresses from the same IP subnet since they are isolated on different integration bridges.Note: The following is an example IP address configuration.
VM A1 (host1)
ip addr add 10.1.1.11/24 dev <if> ip link set <if> up
VM B1 (host1)
ip addr add 10.1.1.21/24 dev <if> ip link set <if> up