[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13581886#comment-13581886
 ] 

angeline shen commented on CLOUDSTACK-1328:
-------------------------------------------

Here is another setup using    hosts  KVM  rhel 6.3 

1.  On the KVM host login to console proxy VM   v-2-VM  via link local address:

[root@Rack2Host10 ~]# ssh root@169.254.2.145   -i .ssh/id_rsa.cloud -p 3922

root@v-2-VM:~# ip route
10.223.50.0/26 dev eth1  proto kernel  scope link  src 10.223.50.35 
10.223.122.0/26 dev eth2  proto kernel  scope link  src 10.223.122.11 
10.223.195.0/24 via 10.223.50.1 dev eth1 
169.254.0.0/16 dev eth0  proto kernel  scope link  src 169.254.2.145 
default via 10.223.122.1 dev eth2 
root@v-2-VM:~# 
root@v-2-VM:~# 
root@v-2-VM:~# 
root@v-2-VM:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 0e:00:a9:fe:02:91  
          inet addr:169.254.2.145  Bcast:169.254.255.255  Mask:255.255.0.0
          inet6 addr: fe80::c00:a9ff:fefe:291/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:214 errors:0 dropped:0 overruns:0 frame:0
          TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:17621 (17.2 KiB)  TX bytes:10750 (10.4 KiB)

eth1      Link encap:Ethernet  HWaddr 06:58:90:00:00:19  
          inet addr:10.223.50.35  Bcast:10.223.50.63  Mask:255.255.255.192
          inet6 addr: fe80::458:90ff:fe00:19/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1693 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:173818 (169.7 KiB)  TX bytes:1038 (1.0 KiB)

eth2      Link encap:Ethernet  HWaddr 06:25:1c:00:00:1a  
          inet addr:10.223.122.11  Bcast:10.223.122.63  Mask:255.255.255.192
          inet6 addr: fe80::425:1cff:fe00:1a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:70 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4942 (4.8 KiB)  TX bytes:1330 (1.2 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:200 (200.0 B)  TX bytes:200 (200.0 B)

root@v-2-VM:~# ping www.google.com
PING www.google.com (173.194.79.99): 56 data bytes
64 bytes from 173.194.79.99: icmp_seq=0 ttl=41 time=25.587 ms
64 bytes from 173.194.79.99: icmp_seq=1 ttl=41 time=25.639 ms
^C--- www.google.com ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 25.587/25.613/25.639/0.026 ms

root@v-2-VM:~# ping 10.223.123.1
PING 10.223.123.1 (10.223.123.1): 56 data bytes
64 bytes from 10.223.123.1: icmp_seq=0 ttl=64 time=1.849 ms
64 bytes from 10.223.123.1: icmp_seq=1 ttl=64 time=1.781 ms
64 bytes from 10.223.123.1: icmp_seq=2 ttl=64 time=1.396 ms
64 bytes from 10.223.123.1: icmp_seq=3 ttl=64 time=1.504 ms
64 bytes from 10.223.123.1: icmp_seq=4 ttl=64 time=1.376 ms
64 bytes from 10.223.123.1: icmp_seq=5 ttl=64 time=1.480 ms
64 bytes from 10.223.123.1: icmp_seq=6 ttl=64 time=1.480 ms
^C--- 10.223.123.1 ping statistics ---
7 packets transmitted, 7 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.376/1.552/1.849/0.173 ms




2.  On the KVM host login to Secondary storage VM   s-1-VM  via link local 
address:

[root@Rack2Host10 ~]# ssh root@169.254.1.193   -i .ssh/id_rsa.cloud -p 3922

root@s-1-VM:~# ip route
10.223.110.232 via 10.223.50.1 dev eth1 
10.223.110.254 via 10.223.50.1 dev eth1 
10.223.195.113 via 10.223.50.1 dev eth1 
10.223.50.0/26 dev eth1  proto kernel  scope link  src 10.223.50.22 
10.223.50.0/26 dev eth3  proto kernel  scope link  src 10.223.50.26 
10.223.122.0/26 dev eth2  proto kernel  scope link  src 10.223.122.14 
10.223.110.0/24 via 10.223.50.1 dev eth1 
10.223.195.0/24 via 10.223.50.1 dev eth1 
169.254.0.0/16 dev eth0  proto kernel  scope link  src 169.254.1.193 
default via 10.223.122.1 dev eth2 
root@s-1-VM:~# 
root@s-1-VM:~# 
root@s-1-VM:~# 
root@s-1-VM:~# 
root@s-1-VM:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 0e:00:a9:fe:01:c1  
          inet addr:169.254.1.193  Bcast:169.254.255.255  Mask:255.255.0.0
          inet6 addr: fe80::c00:a9ff:fefe:1c1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:148 errors:0 dropped:0 overruns:0 frame:0
          TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:15934 (15.5 KiB)  TX bytes:13775 (13.4 KiB)

eth1      Link encap:Ethernet  HWaddr 06:e8:a4:00:00:0c  
          inet addr:10.223.50.22  Bcast:10.223.50.63  Mask:255.255.255.192
          inet6 addr: fe80::4e8:a4ff:fe00:c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4931177 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1647309 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2550573458 (2.3 GiB)  TX bytes:616339925 (587.7 MiB)

eth2      Link encap:Ethernet  HWaddr 06:c8:2a:00:00:1d  
          inet addr:10.223.122.14  Bcast:10.223.122.63  Mask:255.255.255.192
          inet6 addr: fe80::4c8:2aff:fe00:1d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:44 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3024 (2.9 KiB)  TX bytes:744 (744.0 B)

eth3      Link encap:Ethernet  HWaddr 06:cb:1c:00:00:10  
          inet addr:10.223.50.26  Bcast:10.223.50.63  Mask:255.255.255.192
          inet6 addr: fe80::4cb:1cff:fe00:10/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1184 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:121330 (118.4 KiB)  TX bytes:318 (318.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:64 errors:0 dropped:0 overruns:0 frame:0
          TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:5292 (5.1 KiB)  TX bytes:5292 (5.1 KiB)

root@s-1-VM:~# ping www.google.com
PING www.google.com (173.194.79.99): 56 data bytes
64 bytes from 173.194.79.99: icmp_seq=0 ttl=41 time=29.706 ms
64 bytes from 173.194.79.99: icmp_seq=1 ttl=41 time=25.592 ms
64 bytes from 173.194.79.99: icmp_seq=2 ttl=41 time=21.980 ms
64 bytes from 173.194.79.99: icmp_seq=3 ttl=41 time=21.674 ms
^C--- www.google.com ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 21.674/24.738/29.706/3.256 ms
root@s-1-VM:~# 
root@s-1-VM:~# 
root@s-1-VM:~# ping 10.223.123.1
PING 10.223.123.1 (10.223.123.1): 56 data bytes
64 bytes from 10.223.123.1: icmp_seq=0 ttl=64 time=1.421 ms
64 bytes from 10.223.123.1: icmp_seq=1 ttl=64 time=1.881 ms
64 bytes from 10.223.123.1: icmp_seq=2 ttl=64 time=1.457 ms
64 bytes from 10.223.123.1: icmp_seq=3 ttl=64 time=1.434 ms
64 bytes from 10.223.123.1: icmp_seq=4 ttl=64 time=1.347 ms
^C--- 10.223.123.1 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.347/1.508/1.881/0.190 ms
root@s-1-VM:~# 


3. From firefox host  -  my laptop  I can ping both CPVM and SSVM successfully:

  CPVM  public IP:   10.223.122.11             
  SSVM public IP:    10.223.122.14

[ashen@localhost ~]$ ping 10.223.122.11
PING 10.223.122.11 (10.223.122.11) 56(84) bytes of data.
64 bytes from 10.223.122.11: icmp_seq=1 ttl=59 time=10.1 ms
64 bytes from 10.223.122.11: icmp_seq=2 ttl=59 time=0.428 ms
64 bytes from 10.223.122.11: icmp_seq=3 ttl=59 time=0.488 ms
64 bytes from 10.223.122.11: icmp_seq=4 ttl=59 time=0.483 ms
64 bytes from 10.223.122.11: icmp_seq=5 ttl=59 time=0.451 ms
^C
--- 10.223.122.11 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4477ms
rtt min/avg/max/mdev = 0.428/2.398/10.142/3.872 ms



[ashen@localhost ~]$ ping 10.223.122.14
PING 10.223.122.14 (10.223.122.14) 56(84) bytes of data.
64 bytes from 10.223.122.14: icmp_seq=1 ttl=59 time=0.701 ms
64 bytes from 10.223.122.14: icmp_seq=2 ttl=59 time=0.400 ms
64 bytes from 10.223.122.14: icmp_seq=3 ttl=59 time=0.490 ms
64 bytes from 10.223.122.14: icmp_seq=4 ttl=59 time=0.469 ms
64 bytes from 10.223.122.14: icmp_seq=5 ttl=59 time=0.489 ms
^C
--- 10.223.122.14 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4661ms
rtt min/avg/max/mdev = 0.400/0.509/0.701/0.105 ms





                
> console view unable to connect - CPVM  SSVM  guest VMs
> ------------------------------------------------------
>
>                 Key: CLOUDSTACK-1328
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1328
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>    Affects Versions: 4.1.0
>         Environment: MS    rhel6.3    ASF 4.1  
> host   xen  6.0.2   xen 6.1
>            Reporter: angeline shen
>             Fix For: 4.1.0
>
>         Attachments: management-server.log.gz, Screenshot-s-1-VM - Mozilla 
> Firefox.png, Screenshot-v-2-VM - Mozilla Firefox.png, Screenshot-z1nonvpcV1 - 
> Mozilla Firefox.png
>
>
> MS    rhel6.3    ASF 4.1 
> host   xen  6.0.2   xen 6.1
> 1. advance zone,  create VPC network, tier, VMs
> 2. create non-VPC network, VMs
> 3. CPVM   SSVM   guest VMs - console view displays   Unable to connect -  
> Firefox  can't establish connection to server at 10-223-123-12.realhostip.com
> On host:
> root@v-2-VM:~# ip route
> 10.223.51.0/26 dev eth1  proto kernel  scope link  src 10.223.51.31 
> 10.223.123.0/26 dev eth2  proto kernel  scope link  src 10.223.123.12 
> 10.223.195.0/24 via 10.223.51.1 dev eth1 
> 169.254.0.0/16 dev eth0  proto kernel  scope link  src 169.254.2.183 
> default via 10.223.123.1 dev eth2 
> root@v-2-VM:~# ifconfig
> eth0      Link encap:Ethernet  HWaddr 0e:00:a9:fe:02:b7  
>           inet addr:169.254.2.183  Bcast:169.254.255.255  Mask:255.255.0.0
>           inet6 addr: fe80::c00:a9ff:fefe:2b7/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:130 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:9188 (8.9 KiB)  TX bytes:7174 (7.0 KiB)
>           Interrupt:9 
> eth1      Link encap:Ethernet  HWaddr 06:84:16:00:00:15  
>           inet addr:10.223.51.31  Bcast:10.223.51.63  Mask:255.255.255.192
>           inet6 addr: fe80::484:16ff:fe00:15/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:18079 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:2281171 (2.1 MiB)  TX bytes:1150 (1.1 KiB)
>           Interrupt:10 
> eth2      Link encap:Ethernet  HWaddr 06:33:8a:00:00:1b  
>           inet addr:10.223.123.12  Bcast:10.223.123.63  Mask:255.255.255.192
>           inet6 addr: fe80::433:8aff:fe00:1b/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:96 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:5372 (5.2 KiB)  TX bytes:1518 (1.4 KiB)
>           Interrupt:11 
> lo        Link encap:Local Loopback  
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:4 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0 
>           RX bytes:200 (200.0 B)  TX bytes:200 (200.0 B)
> root@v-2-VM:~# 
> root@s-1-VM:~# ip route
> 10.223.110.232 via 10.223.51.1 dev eth1 
> 10.223.110.254 via 10.223.51.1 dev eth1 
> 10.223.195.113 via 10.223.51.1 dev eth1 
> 10.223.51.0/26 dev eth1  proto kernel  scope link  src 10.223.51.25 
> 10.223.51.0/26 dev eth3  proto kernel  scope link  src 10.223.51.30 
> 10.223.123.0/26 dev eth2  proto kernel  scope link  src 10.223.123.13 
> 10.223.110.0/24 via 10.223.51.1 dev eth1 
> 10.223.195.0/24 via 10.223.51.1 dev eth1 
> 169.254.0.0/16 dev eth0  proto kernel  scope link  src 169.254.0.124 
> default via 10.223.123.1 dev eth2 
> root@s-1-VM:~# ping www.google.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to