Thank you Rohit, the issue was resolved, I have another issue where when you open the console proxy on the instance, it times out !!
and the management server is not able to ping the console proxy VM I can SSH inside it and It has this error : root@v-2-VM:~# root@v-2-VM:~# root@v-2-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh ================================================ First DNS server is 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes 64 bytes from 8.8.8.8: icmp_seq=0 ttl=113 time=29.581 ms 64 bytes from 8.8.8.8: icmp_seq=1 ttl=113 time=30.140 ms --- 8.8.8.8 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 29.581/29.861/30.140/0.280 ms Good: Can ping DNS server ================================================ Good: DNS resolves cloudstack.apache.org ================================================ ERROR: NFS is not currently mounted Try manually mounting from inside the VM NFS server is 255.255.255.0 PING 255.255.255.0 (255.255.255.0): 56 data bytes --- 255.255.255.0 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss WARNING: cannot ping nfs server routing table follows Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth2 8.8.4.4 192.168.1.1 255.255.255.255 UGH 0 0 0 eth1 8.8.8.8 192.168.1.1 255.255.255.255 UGH 0 0 0 eth1 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2 ================================================ Management server is 192.168.1.8. Checking connectivity. Good: Can connect to management server 192.168.1.8 port 8250 ================================================ Good: Java process is running ================================================ Tests Complete. Look for ERROR or WARNING above. root@v-2-VM:~# Kind Regards, On Sun, May 23, 2021 at 6:08 PM Rohit Yadav <[email protected]> wrote: > Hi Serge, > > Have you added the public IP range with a VLAN (say while deploying the > zone)? You can ping your CPVM IP and use tcpdump on protocol icmp for > example "tcpdump -i <interface name> icmp" across all hosts (start with the > KVM/CentOS host where the cpvm is running) and debug where the packet is > being dropped. > > > Regards. > > ________________________________ > From: Serge Byishimo <[email protected]> > Sent: Sunday, May 23, 2021 12:59 > To: [email protected] <[email protected]> > Subject: Console IP is unreachable, but it’s Private IP is reachable > > Centos8 > Cloudstack 4.15 > > My console IP address 192.168.1.86 is unreachable from anywhere > But it’s Private IP 192.168.1.68 is reachable EVERYWHERE > > The console also has access to the Internet. > > Network Setup : > > 2 servers : they are on a home Local Network router with internet > Home Router Gateway : 192.168.1.1 > Home Router Netmask : 255.255.255.0 > Home Route IP Range : 192.168.1.2 - .61 > > 1st server : management server > IP : 192.168.1.8 > > > ============== > > 2nd server : Host > IP : 192.168.1.7 > > > [root@srvr2 ~]# > [root@srvr2 ~]# ifconfig > br-200: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 > ether c2:0e:f3:be:8b:14 txqueuelen 1000 (Ethernet) > RX packets 0 bytes 0 (0.0 B) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 0 bytes 0 (0.0 B) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > brenp0s25-200: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet6 fe80::fc9c:5dff:fe6d:cd99 prefixlen 64 scopeid 0x20<link> > ether d0:50:99:81:89:f5 txqueuelen 1000 (Ethernet) > RX packets 80947 bytes 2821053 (2.6 MiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 50 bytes 3636 (3.5 KiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > cloud0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet 169.254.0.1 netmask 255.255.0.0 broadcast 0.0.0.0 > inet6 fe80::c77:fbff:fe37:94cf prefixlen 64 scopeid 0x20<link> > ether fe:00:a9:fe:17:7d txqueuelen 1000 (Ethernet) > RX packets 27169 bytes 4740900 (4.5 MiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 30778 bytes 4633136 (4.4 MiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > cloudbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet 192.168.1.7 netmask 255.255.255.0 broadcast 192.168.1.255 > inet6 fe80::d250:99ff:fe81:89f5 prefixlen 64 scopeid 0x20<link> > ether d0:50:99:81:89:f5 txqueuelen 1000 (Ethernet) > RX packets 701422 bytes 1846775312 (1.7 GiB) > RX errors 0 dropped 38954 overruns 0 frame 0 > TX packets 566835 bytes 1064377633 (1015.0 MiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > cloudbr1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 > ether 66:99:75:20:97:e0 txqueuelen 1000 (Ethernet) > RX packets 0 bytes 0 (0.0 B) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 0 bytes 0 (0.0 B) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > ether d0:50:99:81:89:f5 txqueuelen 1000 (Ethernet) > RX packets 1737418 bytes 1938354995 (1.8 GiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 947393 bytes 100900024 (96.2 MiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > device interrupt 20 memory 0xfb200000-fb220000 > > enp0s25.200: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet6 fe80::d250:99ff:fe81:89f5 prefixlen 64 scopeid 0x20<link> > ether d0:50:99:81:89:f5 txqueuelen 1000 (Ethernet) > RX packets 0 bytes 0 (0.0 B) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 79122 bytes 3326072 (3.1 MiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet6 fe80::6a05:caff:fec6:6e9d prefixlen 64 scopeid 0x20<link> > ether 68:05:ca:c6:6e:9d txqueuelen 1000 (Ethernet) > RX packets 159042 bytes 21914322 (20.8 MiB) > RX errors 0 dropped 38972 overruns 0 frame 0 > TX packets 1096 bytes 102120 (99.7 KiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > device interrupt 18 memory 0xfb1c0000-fb1e0000 > > lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 > inet 127.0.0.1 netmask 255.0.0.0 > inet6 ::1 prefixlen 128 scopeid 0x10<host> > loop txqueuelen 1000 (Local Loopback) > RX packets 1655743 bytes 9484529950 (8.8 GiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 1655743 bytes 9484529950 (8.8 GiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > vnet0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet6 fe80::fc00:a9ff:fefe:3dc9 prefixlen 64 scopeid 0x20<link> > ether fe:00:a9:fe:3d:c9 txqueuelen 1000 (Ethernet) > RX packets 1823 bytes 236454 (230.9 KiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 2239 bytes 172684 (168.6 KiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > vnet1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet6 fe80::fc00:43ff:fe00:16 prefixlen 64 scopeid 0x20<link> > ether fe:00:43:00:00:16 txqueuelen 1000 (Ethernet) > RX packets 249253 bytes 1008634858 (961.9 MiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 608622 bytes 2041552296 (1.9 GiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > vnet2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet6 fe80::fc00:e9ff:fe00:1 prefixlen 64 scopeid 0x20<link> > ether fe:00:e9:00:00:01 txqueuelen 1000 (Ethernet) > RX packets 36 bytes 1512 (1.4 KiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 78250 bytes 3288836 (3.1 MiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > vnet3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet6 fe80::fc00:a9ff:fefe:fe9d prefixlen 64 scopeid 0x20<link> > ether fe:00:a9:fe:fe:9d txqueuelen 1000 (Ethernet) > RX packets 1192 bytes 148445 (144.9 KiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 1539 bytes 123433 (120.5 KiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > vnet4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet6 fe80::fc00:c1ff:fe00:14 prefixlen 64 scopeid 0x20<link> > ether fe:00:c1:00:00:14 txqueuelen 1000 (Ethernet) > RX packets 64424 bytes 6691867 (6.3 MiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 262867 bytes 37447101 (35.7 MiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > vnet5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet6 fe80::fc00:2ff:fe00:2 prefixlen 64 scopeid 0x20<link> > ether fe:00:02:00:00:02 txqueuelen 1000 (Ethernet) > RX packets 111 bytes 4662 (4.5 KiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 79005 bytes 3320874 (3.1 MiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > vnet6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet6 fe80::fc00:24ff:fe00:4 prefixlen 64 scopeid 0x20<link> > ether fe:00:24:00:00:04 txqueuelen 1000 (Ethernet) > RX packets 78170 bytes 3283140 (3.1 MiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 79 bytes 5626 (5.4 KiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > vnet7: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet6 fe80::fc00:a9ff:fefe:177d prefixlen 64 scopeid 0x20<link> > ether fe:00:a9:fe:17:7d txqueuelen 1000 (Ethernet) > RX packets 21423 bytes 4226016 (4.0 MiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 23882 bytes 4011248 (3.8 MiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > vnet8: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet6 fe80::fc00:87ff:fe00:3 prefixlen 64 scopeid 0x20<link> > ether fe:00:87:00:00:03 txqueuelen 1000 (Ethernet) > RX packets 1922 bytes 635261 (620.3 KiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 79 bytes 5626 (5.4 KiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > [root@srvr2 ~]# > > > > ============== > > > > Console Proxy : Running, Agent is UP, I can SSH using Local Link IP, SSVM > check is GOOD except warning about NFS but Secondary Storage VM can see the > NFS server, check below > > IP Address > 192.168.1.86 > Private IP Address > 192.168.1.68 > Link Local IP Address > 169.254.254.157 > Gateway > 192.168.1.1 > > > root@v-2-VM:~# > root@v-2-VM:~# > root@v-2-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh > ================================================ > First DNS server is 8.8.8.8 > PING 8.8.8.8 (8.8.8.8): 56 data bytes > 64 bytes from 8.8.8.8: icmp_seq=0 ttl=113 time=31.459 ms > 64 bytes from 8.8.8.8: icmp_seq=1 ttl=113 time=31.633 ms > --- 8.8.8.8 ping statistics --- > 2 packets transmitted, 2 packets received, 0% packet loss > round-trip min/avg/max/stddev = 31.459/31.546/31.633/0.087 ms > Good: Can ping DNS server > ================================================ > Good: DNS resolves cloudstack.apache.org > ================================================ > ERROR: NFS is not currently mounted > Try manually mounting from inside the VM > NFS server is 255.255.255.0 > PING 255.255.255.0 (255.255.255.0): 56 data bytes > --- 255.255.255.0 ping statistics --- > 2 packets transmitted, 0 packets received, 100% packet loss > WARNING: cannot ping nfs server > routing table follows > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 > eth1 > 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 > eth2 > 8.8.4.4 192.168.1.1 255.255.255.255 UGH 0 0 0 > eth1 > 8.8.8.8 192.168.1.1 255.255.255.255 UGH 0 0 0 > eth1 > 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 > eth0 > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 > eth1 > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 > eth2 > ================================================ > Management server is 192.168.1.8. Checking connectivity. > Good: Can connect to management server 192.168.1.8 port 8250 > ================================================ > Good: Java process is running > ================================================ > Tests Complete. Look for ERROR or WARNING above. > root@v-2-VM:~# > root@v-2-VM:~# > > IFCONFIG > > > root@v-2-VM:~# > root@v-2-VM:~# ifconfig > eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet 169.254.254.157 netmask 255.255.0.0 broadcast > 169.254.255.255 > ether 0e:00:a9:fe:fe:9d txqueuelen 1000 (Ethernet) > RX packets 1440 bytes 117675 (114.9 KiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 1100 bytes 137721 (134.4 KiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet 192.168.1.68 netmask 255.255.255.0 broadcast 192.168.1.255 > ether 1e:00:c1:00:00:14 txqueuelen 1000 (Ethernet) > RX packets 262267 bytes 37382735 (35.6 MiB) > RX errors 0 dropped 99572 overruns 0 frame 0 > TX packets 64251 bytes 6674061 (6.3 MiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet 192.168.1.86 netmask 255.255.255.0 broadcast 192.168.1.255 > ether 1e:00:02:00:00:02 txqueuelen 1000 (Ethernet) > RX packets 78782 bytes 3311460 (3.1 MiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 110 bytes 4620 (4.5 KiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 > inet 127.0.0.1 netmask 255.0.0.0 > loop txqueuelen 1000 (Local Loopback) > RX packets 74 bytes 7771 (7.5 KiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 74 bytes 7771 (7.5 KiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > root@v-2-VM:~# > > > > > Route table > > > > root@v-2-VM:~# > root@v-2-VM:~# > root@v-2-VM:~# route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 > eth1 > 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 > eth2 > 8.8.4.4 192.168.1.1 255.255.255.255 UGH 0 0 0 > eth1 > 8.8.8.8 192.168.1.1 255.255.255.255 UGH 0 0 0 > eth1 > 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 > eth0 > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 > eth1 > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 > eth2 > root@v-2-VM:~# > > > > ============ > > > > System VM : Running, Agent is UP, I can SSH using Local Link IP, SSVM check > is GOOD > > > IP Address > 192.168.1.85 > Private IP Address > 192.168.1.70 > Link Local IP Address > 169.254.61.201 > Gateway > 192.168.1.1 > > > > root@s-1-VM:~# > root@s-1-VM:~# > root@s-1-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh > ================================================ > First DNS server is 8.8.8.8 > PING 8.8.8.8 (8.8.8.8): 56 data bytes > 64 bytes from 8.8.8.8: icmp_seq=0 ttl=113 time=31.624 ms > 64 bytes from 8.8.8.8: icmp_seq=1 ttl=113 time=31.446 ms > --- 8.8.8.8 ping statistics --- > 2 packets transmitted, 2 packets received, 0% packet loss > round-trip min/avg/max/stddev = 31.446/31.535/31.624/0.089 ms > Good: Can ping DNS server > ================================================ > Good: DNS resolves cloudstack.apache.org > ================================================ > nfs is currently mounted > Mount point is /mnt/SecStorage/3636e78b-77d4-3562-995e-deb81e266bce > Good: Can write to mount point > ================================================ > Management server is 192.168.1.8. Checking connectivity. > Good: Can connect to management server 192.168.1.8 port 8250 > ================================================ > Good: Java process is running > ================================================ > Tests Complete. Look for ERROR or WARNING above. > root@s-1-VM:~# > > > IFCONFIG > > > > > root@s-1-VM:~# ifconfig > eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet 169.254.61.201 netmask 255.255.0.0 broadcast 169.254.255.255 > ether 0e:00:a9:fe:3d:c9 txqueuelen 1000 (Ethernet) > RX packets 2139 bytes 166852 (162.9 KiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 1732 bytes 225784 (220.4 KiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet 192.168.1.70 netmask 255.255.255.0 broadcast 192.168.1.255 > ether 1e:00:43:00:00:16 txqueuelen 1000 (Ethernet) > RX packets 608005 bytes 2041480833 (1.9 GiB) > RX errors 0 dropped 97731 overruns 0 frame 0 > TX packets 249107 bytes 1008620091 (961.8 MiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet 192.168.1.85 netmask 255.255.255.0 broadcast 192.168.1.255 > ether 1e:00:e9:00:00:01 txqueuelen 1000 (Ethernet) > RX packets 78001 bytes 3278330 (3.1 MiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 35 bytes 1470 (1.4 KiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 > inet 127.0.0.1 netmask 255.0.0.0 > loop txqueuelen 1000 (Local Loopback) > RX packets 89 bytes 8524 (8.3 KiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 89 bytes 8524 (8.3 KiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > root@s-1-VM: > > > Route Table > > root@s-1-VM:~# > root@s-1-VM:~# route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 > eth1 > 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 > eth2 > 8.8.4.4 192.168.1.1 255.255.255.255 UGH 0 0 0 > eth1 > 8.8.8.8 192.168.1.1 255.255.255.255 UGH 0 0 0 > eth1 > 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 > eth0 > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 > eth1 > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 > eth2 > root@s-1-VM:~# > > > === > > Pod > Gateway 192.168.1.1 > Netmask : 255.255.255.0 > > === > > Issue : From the Host .7 I can not Ping console .86, I can only ping > console private .68 > > Thank you so much > > > > -- Byishimo Shema Serge Kigali, Rwanda Tel: +250 786 076 106 www.serge.works
