查看您的ECS没有100.64.0.0/10网段的路由。 Linux 相关的OS添加方法参考: 注:下文的 gateway_ip 请根据实际情况替换 1)查看GATEWAY IP cat /etc/sysconfig/network |grep GATEWAY 下面的gateway_ip需要替换成上面查询得到的网关地址 2)手动添加静态路由规则,实时生效: ip route add 100.64.0.0/10 via gateway_ip dev eth0 3)添加静态路由到配置文件,持久化配置,下次重启系统也能生效: centos/redhat/alios/suse/opensuse 系统: echo "100.64.0.0/10 via gateway_ip dev eth0” >> /etc/sysconfig/network-scripts/route-eth0 ubuntu/debian 系统: echo "up route add -net 100.64.0.0 netmask 255.192.0.0 gw gateway_ip dev eth0" >> /etc/network/interfaces gentoo 系统: echo "routes_eth0=(\"100.64.0.0/10 via gateway_ip\")" >> /etc/conf.d/net 4)检查路由是否设置成功: ip route show | grep '100.64.0.0/10' 100.64.0.0/10 via gateway_ip dev eth0 Windows 操作系统添加方法 1)查看GATEWAY IP 在Windows 命令行下执行 route print 查看私网网关 2)添加路由 在Windows 命令行下执行下面的命令,这个命令会让路由规则永久生效 route add 100.64.0.0 mask 255.192.0.0 gateway_ip -p
相关文章
- 12-26mysql远程连接问题 Lost connection to MySQL server at ‘reading initial communication packet', system error: 0
- 12-26mysql登陆时出现ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0
- 12-26Mysql Lost connection to MySQL server at ‘reading initial communication packet', system error: 0
- 12-26navicat 出现 mysql远程连接问题 Lost connection to MySQL server at ‘reading initial communication packet', system error: 0
- 12-26Lost connection to MySQL server at 'reading initial communication packet', system error: 0的一个解决方案
- 12-26mysql登陆时出现ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication
- 12-26MySQL远程连接丢失问题解决方法Lost connection to MySQL server at ‘reading initial communication packet’, system error: 0
- 12-26Lost connection to MySQL server at ‘reading initial communication packet', system error: 0 mysql远程连接问题
- 12-26ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet
- 12-26虚拟机中MySQL连接问题:Lost connection to MySQL server at 'reading initial communication packet, system error: 0 以及 host is not allowed to connect mysql