I have the following environment:
- host Windows-7 Professional, 64 bits, with two virtual machines(VM), Virtual Box:
VM#1: with Ubuntu 12.04.1, 32 bits
VM#2: with Fedora-17 Distro, 32 bits
- VM´s network configured as "NAT Network"
I have an application (POC) that uses the lwip-stack. Inside it there is an ethernet-device, based on "ethernetif.c" to link the lwip-stack to network interface (eth) through a ethernet driver.
I configure the netif with IP=10.0.2.62, MASK=255.255.255.0, GW=10.0.2.61
The eth-7 (VM#1) interface has this configuration:
eth7 Link encap:Ethernet HWaddr 08:00:27:48:61:0c
inet addr:10.0.2.6 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe48:610c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7187 errors:0 dropped:0 overruns:0 frame:0
TX packets:9353 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1153842 (1.1 MB) TX bytes:592966 (592.9 KB)
I run the app on VM#1.
I can ping the netif IP (10.0.2.62) from VM#2 with success. But when I ping the netif from own VM#1 I have no answer(local console), but the lwip-stack indicates (log) the arp received:
etharp_update_arp_entry: 10.0.2.6 - 08:00:27:48:61:0c
etharp_find_entry: found empty entry 0
etharp_find_entry: selecting empty entry 0
etharp_update_arp_entry: updating stable entry 0
etharp_arp_input: incoming ARP request
etharp_arp_input: replying to ARP request for our IP address
1) Is that scenario feasible?
2) If (1) is true, why the local ping does not have reply?