Virtual machine on different hosts but in same isolated network not able to communicate (can't ping each other). #9154
Replies: 20 comments 6 replies
-
Thanks for opening your first issue here! Be sure to follow the issue template! |
Beta Was this translation helpful? Give feedback.
-
@akshaybachhav can you check iptables/firewall rules in the VM? Can you ping the VR from the VMs? |
Beta Was this translation helpful? Give feedback.
-
+1 |
Beta Was this translation helpful? Give feedback.
-
Thanks for your help. We checked the iptables/firewall rules and found below status. It is allowing all traffic by default. tcpdump command on vm which is on same host as on which VR is present gives below results: 04:54:50.697249 IP ubuntu-dev-vm-1.cs2cloud.internal.ssh > 10.0.1.10.42550: Flags [P.], seq 7368836:7369064, ack 4249, win 1002, options [nop,nop,TS val 718803065 ecr 1773071291], length 228 I am able to ping the VR from the VM which is on same host. But if I ping from VM to VR which is not on same host then it is not working. |
Beta Was this translation helpful? Give feedback.
-
@akshaybachhav just to confirm, are both vms configured to get dhcp IPs from the VR ? or as static IPs ? |
Beta Was this translation helpful? Give feedback.
-
both vms get dhcp ips from vr no static ip set in vms on both kvm machine status of ufw is |
Beta Was this translation helpful? Give feedback.
-
Have you disabled apparmour on them, what guide or steps of installation if any did you follow @akshaybachhav |
Beta Was this translation helpful? Give feedback.
-
i followed the tutorial from official documentation from apache cloudstack: this is my netplan configuration file. |
Beta Was this translation helpful? Give feedback.
-
i followed the tutorial https://rohityadav.cloud/blog/cloudstack-kvm/ and done exactly same setup. |
Beta Was this translation helpful? Give feedback.
-
@akshaybachhav
|
Beta Was this translation helpful? Give feedback.
-
we have done setup of cloudstack using mini pc , asus chromebox and acer chromebox which has single nic. |
Beta Was this translation helpful? Give feedback.
-
If you are testing communication between 2 VMs on the SAME network, but on different KVM hosts, then you should check:
The problem you have sounds like (99.999%) to be an underlying infrastructure/configuration issue |
Beta Was this translation helpful? Give feedback.
-
It looks we forgot to ask you
|
Beta Was this translation helpful? Give feedback.
-
@weizhouapache We are using We haven't specified any VLAN/VNI while creating the zone. @andrijapanicsb We are only able ssh the vm which is same host as of vr and the other vm which is on different host is not reachable. And I will check about TRUNK mode |
Beta Was this translation helpful? Give feedback.
-
Hi @dineshjchoudhary @akshaybachhav Did you guys managed to resolve this? We have Compute 6 Nodes and our 6th Node is having this same issue. Using:
We have checked:
But in our situation, what we noticed:
|
Beta Was this translation helpful? Give feedback.
-
Hi All, We managed to resolve our issue. Upon further checking, we found out that the VXLAN in Host 6 was down, while other VXLANs were up and running fine. This would explain why:
@dineshjchoudhary @akshaybachhav , maybe you guys should try checking this out too if the root cause is the same. When we manually bring back the VXLAN, it works. What we dont know now is, why the VXLAN suddenly went down. Ill probably raise another ticket for this. |
Beta Was this translation helpful? Give feedback.
-
Interesting. When you say VXLAN interface, is it the physical interface (underlay) or the VTEP attached to the bridge? |
Beta Was this translation helpful? Give feedback.
-
Do you use multicast group? If yes, can you check if the setting impacts you? https://docs.cloudstack.apache.org/projects/archived-cloudstack-getting-started/en/latest/networking/vxlan.html#important-note-on-max-number-of-multicast-groups-and-thus-vxlan-intefaces |
Beta Was this translation helpful? Give feedback.
-
thanks all we resolved the issue. the problem was with the switch. |
Beta Was this translation helpful? Give feedback.
-
Ok,thanks you
… From: "Akshay ***@***.***>
Date: Mon, Jul 15, 2024, 14:30
Subject: Re: [apache/cloudstack] Virtual machine on different hosts but in same isolated network not able to communicate (can't ping each other). (Discussion #9154)
To: ***@***.***>
Cc: ***@***.***>, ***@***.***>
Yes, allowing the VLAN for the isolated network on the switch did indeed enable it to ping. The underlying issue was related to the trunking configuration of the VLAN ports. Specifically, the VLAN was not correctly allowed on the trunk ports, which prevented proper communication between the network segments. By ensuring the VLAN is permitted on the trunk ports, the isolated network could successfully communicate and ping other devices.
—
Reply to this email directly, view it on GitHub<#9154 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BJL6NHSAQRB7NTA5ONHSGU3ZMNUBDAVCNFSM6AAAAABKW2KIOWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMBUG42DEMI>.
You are receiving this because you commented.[image: https://github.com/notifications/beacon/BJL6NHVTOC4WZI6NRA7R6JTZMNUBDA5CNFSM6AAAAABKW2KIOWWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQATFH32.gif]Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
EXPECTED RESULTS
ACTUAL RESULTS
Screenshots
virtual router is running on the host 1 machine.
when we run diagnostics to ping from virtual router to the VM(10.1.1.158) the says network unreachable.
On one host machine I have created the vm and that also have virtual router, for this case the router is able to ping the same VM(10.1.1.96).
Beta Was this translation helpful? Give feedback.
All reactions