我无法从ext net& amp;连接到我的虚拟机计算节点。
ip netns
fip-39243e7a-1b2d-48bf-b8ad-93eac32489dc (id: 4)
qrouter-851cb54c-5d59-4b8f-b2eb-94c64065b86a (id: 3)
ip netns exec fip-39243e7a-1b2d-48bf-b8ad-93eac32489dc telnet
172.27.42.39 22
Trying 172.27.42.39...
Connected to 172.27.42.39.
Escape character is '^]'.
SSH-2.0-OpenSSH_7.4
ip netns exec fip-39243e7a-1b2d-48bf-b8ad-93eac32489dc ping 172.27.42.39 -c 2
PING 172.27.42.39 (172.27.42.39) 56(84) bytes of data.
64 bytes from 172.27.42.39: icmp_seq=1 ttl=63 time=0.485 ms
64 bytes from 172.27.42.39: icmp_seq=2 ttl=63 time=0.277 ms
来自分机主持人:
ping 172.27.42.39 PING 172.27.42.39 (172.27.42.39) 56(84) bytes of data.
ip netns exec qrouter-851cb54c-5d59-4b8f-b2eb-94c64065b86a tcpdump -n -i any host 172.27.42.39 tcpdump:详细输出被抑制,使用-v或-vv进行完整协议解码 监听任何,链接类型LINUX_SLL(Linux cooked),捕获大小262144字节 17:11:05.417022 IP 172.27.18.3> 172.27.42.39:ICMP回应请求,id 14693,seq 1698,length 64
17:11:06.416728 IP 172.27.18.3> 172.27.42.39:ICMP回应请求,id 14693,seq 1699,length 64
17:11:07.416792 IP 172.27.18.3> 172.27.42.39:ICMP回应请求,id 14693,seq 1700,length 64
ip netns exec qrouter-851cb54c-5d59-4b8f-b2eb-94c64065b86a iptables -L -v
not contains DROP
Security Group Rules on VM:
Egress IPv4 Any Any 0.0.0.0/0
Ingress IPv4 ICMP Any 0.0.0.0/0
Egress IPv4 ICMP Any 0.0.0.0/0
Egress IPv4 TCP 1 - 65535 0.0.0.0/0
Ingress IPv4 TCP 1 - 65535 0.0.0.0/0
来自ext的nmap:
nmap 172.27.42.39 -p 22 -Pn
Host is up (0.027s latency).
PORT STATE SERVICE
22/tcp filtered ssh
Nmap done: 1 IP address (1 host up) scanned in 0.60 seconds
帮助我,请!