gns3-server icon indicating copy to clipboard operation
gns3-server copied to clipboard

Guest( VMware machine or qemu guest(openwrt) ) on GNS3 can't ping VMnat8 address through Cloud node

Open weiqi-chen opened this issue 4 months ago • 1 comments

Herr is my "Virtual Network Editor" settings

图片 图片

Here is my GNS3 Preference for VMware preferences Advanced local settings 图片

Here is my Topology

By the way, I'm trying to setup strongswan, so I has the "INTERNET" zone, just ignore it.

图片 图片

I want to copy some files to OpenWRT router(scp). So I created a Cloud node, connected the devices to VMnet8 It strange that both Win7-2 and OpenWRT can't ping 192.168.80.1. But they can get ip address from dhcp, ping 192.168.80.2and 8.8.8.8(has Internet Access). It shows that VMware NAT is working well. Win7-2 can access OpenWRT web admin page.

I verified that both Win7-2 and Win7-1 connect the custom VMware virtual network adapters (changed by gns3 automatically) and I did not modify them. I also shutdown my Host Windows 10 firewall.

图片

OpenWRT

root@OpenWrt:/# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br-lan state UP group default qlen 1000
    link/ether 0c:b0:c5:f7:00:00 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 0c:b0:c5:f7:00:01 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::eb0:c5ff:fef7:1/64 scope link
       valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 0c:b0:c5:f7:00:02 brd ff:ff:ff:ff:ff:ff
    inet 192.168.80.131/24 brd 192.168.80.255 scope global eth2
       valid_lft forever preferred_lft forever
    inet6 fe80::eb0:c5ff:fef7:2/64 scope link
       valid_lft forever preferred_lft forever
5: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 0c:b0:c5:f7:00:00 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.1/24 brd 192.168.1.255 scope global br-lan
       valid_lft forever preferred_lft forever
    inet6 fdbc:fbef:7cd8::1/60 scope global noprefixroute
       valid_lft forever preferred_lft forever
    inet6 fe80::eb0:c5ff:fef7:0/64 scope link
       valid_lft forever preferred_lft forever
root@OpenWrt:/# nslookup bing.com
Server:         127.0.0.1
Address:        127.0.0.1:53

Non-authoritative answer:
Name:   bing.com
Address: 13.107.21.200
Name:   bing.com
Address: 204.79.197.200

Non-authoritative answer:
Name:   bing.com
Address: 2620:1ec:c11::200

root@OpenWrt:/# ping 192.168.80.1
PING 192.168.80.1 (192.168.80.1): 56 data bytes
^C
--- 192.168.80.1 ping statistics ---
15 packets transmitted, 0 packets received, 100% packet loss
root@OpenWrt:/# ping 192.168.80.2
PING 192.168.80.2 (192.168.80.2): 56 data bytes
64 bytes from 192.168.80.2: seq=0 ttl=128 time=1.080 ms
64 bytes from 192.168.80.2: seq=1 ttl=128 time=1.744 ms
^C
--- 192.168.80.2 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 1.080/1.412/1.744 ms
root@OpenWrt:/# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.80.2    0.0.0.0         UG    0      0        0 eth2
192.168.1.0     *               255.255.255.0   U     0      0        0 br-lan
192.168.80.0    *               255.255.255.0   U     0      0        0 eth2

weiqi-chen avatar Oct 01 '24 13:10 weiqi-chen