Can not ping NIC from another NIC on same VM
Posted: 26. Feb 2013, 01:00
I have Ubuntu guest installed with two virtual network adapters : Internal network adapter + Bridged Adapter.
The bridged adapter is using DHCP for connectivity configuration and works well. The internal network adapter is configured manually so i can simulate a cross cable connection with another Ubuntu guest and also works well. The internal network adapter has this configuration :
My router is providing to the bridged adapter an IP in the range 192.168.1.0/24 (actually it has 192.168.1.37).
Now i want to be able to ping from the bridged adapter to the internal network adapter and viceversa because right now i can not do it. Basically i want to establish my Bridged adapter IP as the internal networks adapter gateway so any traffic coming from my internal network (two ubuntu guests) through the internal network adapter can reach internet.
Here is my complete scenario :
My "Ubuntu guest 1" can access internet through the bridged adapter correctly. Between "Ubuntu Guest 1" and "Ubuntu Guest 2" i can ping in both directions and captures traffic in Wireshark through the internal network adapters that both VMs have. I am only missing the interconnection between the adapters in my "Ubuntu guest 1" as explained.
The bridged adapter is using DHCP for connectivity configuration and works well. The internal network adapter is configured manually so i can simulate a cross cable connection with another Ubuntu guest and also works well. The internal network adapter has this configuration :
Code: Select all
IP : 192.168.1.100
MASC : 255.255.255.0
GW : --
DNS : --Now i want to be able to ping from the bridged adapter to the internal network adapter and viceversa because right now i can not do it. Basically i want to establish my Bridged adapter IP as the internal networks adapter gateway so any traffic coming from my internal network (two ubuntu guests) through the internal network adapter can reach internet.
Here is my complete scenario :
Code: Select all
Windows Host <------- Bridged Connection --------> Ubuntu Guest 1 <-------- Internal network ------> Ubuntu Guest 2