You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by 北京华耶美术 <11...@qq.com> on 2015/04/13 07:31:53 UTC
how to capture traffic between VM in Cloudstack
Hi Team,
I have a problem that how to capture traffic between VM in Cloudstack enviroument.Below is my test enviroument(some VM in some project):
___ VM01A
|
prj01A------VR
|___ VM02A
|
|___ VM03A
___ VM01B
|
prj02B------VR
|___ VM02B
I need to capture traffic from prj02B-VM02B to prj01A-VM01A,from VM03A to VM01A.When use "tcpdump -vv -i eth0" or "tcpdump -vv -i eth2" in VR,there is nothing captured.Where to capture these traffic?
回复: Re: how to capture traffic between VM in Cloudstack
Posted by "quan_hping@bjhit.com" <qu...@bjhit.com>.
Hi,
Assuming you have the CS with two isolated network VRs prj01A and prj02B.
You are sending traffic from the VM02B to VM01A.
Hope you configured the NAT rules to reach VM01A.
VM02B ----(guest)eth0 (prj02B VR) eth2 (public) ---------------Hypervisor------------eth2(prj01A VR)eth0-----VM01A
In the above traffic path you can also capture the traffic the VM/VR vif on the hypervisor.
Thanks,
Jayapal
On 13-Apr-2015, at 11:01 AM, 北京华耶美术 <11...@qq.com> wrote:
> Hi Team,
>
> I have a problem that how to capture traffic between VM in Cloudstack enviroument.Below is my test enviroument(some VM in some project):
>
> ___ VM01A
> |
> prj01A------VR
> |___ VM02A
> |
> |___ VM03A
>
> ___ VM01B
> |
> prj02B------VR
> |___ VM02B
>
> I need to capture traffic from prj02B-VM02B to prj01A-VM01A,from VM03A to VM01A.When use "tcpdump -vv -i eth0" or "tcpdump -vv -i eth2" in VR,there is nothing captured.Where to capture these traffic?
Re: how to capture traffic between VM in Cloudstack
Posted by Jayapal Reddy Uradi <ja...@citrix.com>.
Hi,
Assuming you have the CS with two isolated network VRs prj01A and prj02B.
You are sending traffic from the VM02B to VM01A.
Hope you configured the NAT rules to reach VM01A.
VM02B ----(guest)eth0 (prj02B VR) eth2 (public) ---------------Hypervisor------------eth2(prj01A VR)eth0-----VM01A
In the above traffic path you can also capture the traffic the VM/VR vif on the hypervisor.
Thanks,
Jayapal
On 13-Apr-2015, at 11:01 AM, 北京华耶美术 <11...@qq.com> wrote:
> Hi Team,
>
> I have a problem that how to capture traffic between VM in Cloudstack enviroument.Below is my test enviroument(some VM in some project):
>
> ___ VM01A
> |
> prj01A------VR
> |___ VM02A
> |
> |___ VM03A
>
> ___ VM01B
> |
> prj02B------VR
> |___ VM02B
>
> I need to capture traffic from prj02B-VM02B to prj01A-VM01A,from VM03A to VM01A.When use "tcpdump -vv -i eth0" or "tcpdump -vv -i eth2" in VR,there is nothing captured.Where to capture these traffic?