Hi Dinh,
You would need to set up port forwarding rules for the guest VMs to enable them send outbound
traffic. In the CS GUI, go to Networks -> click on a network that your VM is associated
with -> View IP addresses -> click on the IP you acquired for the VM -> Configuration
-> click on view all in Port Forwarding -> choose the protocol and define the applicable
port ranges and/or other values, and associate this rule with a VM. In case of ping, use -1
for both the icmp type and code if you want to enable the rule for all code+type combinations.
Regards,
Vijay
From: VietNd4@viettel.com.vn [mailto:VietNd4@viettel.com.vn]
Sent: Saturday, September 15, 2012 12:11 PM
To: cloudstack-dev@incubator.apache.org
Subject: VMs can not access to Internet via Public IP ???
I deploy CS model follow as:
1. MS: 2 NIC card: NIC 1: 192.168.2.100/24 gw 192.168.2.1, NIC 2: 172.15.100.100/24 gw
172.15.100.1. NIC 1 is can connect to Ineternet.
2. Node : 1 NIC with IP 172.15.100.101/24 with XCP. Node connect to MS’s NIC 2 via
a switch.
3. NFS server: 1 NIC with IP 172.15.100.102/24 and connect to MS and node via a switch.
4. Public network 192.168.2.0/24.
5. Pod ip range: 172.15.100.0/24
6. Storage traffic: 172.15.0/24
7. Guest range: 10.1.1.0/24
I create Zone and VMs OK. But I have a problem. VMs, SSVM, VR, CPVM can not connect to outside
(MS NIC 1 IP, internet) via Public IP.????? They can connect to machines that belong to 172.15.100.0/24
network. I try ssh to SSVM, VR, CPVM and use ping command to 8.8.8.8 or 192.168.2.100 and
tcpdump on Node server but have not any packet send through Node’s NIC. Can u help me .
Thanks and bestregard.