Problem with static VM connection through adapter

Discussions about using Windows guests in VirtualBox.
Post Reply
Disconnected
Posts: 2
Joined: 19. Nov 2018, 15:42

Problem with static VM connection through adapter

Post by Disconnected »

Hi!

I run on a Win7 host, with a Ubuntu 14 guest. Separate NIC for internet and the local net i got problem wiht.
IPs for guest 192.168.2.3. Other IP on my mini net 192.168.2.4.
When I do ping i only see ARP queries but no reponses. I can see these ARP requests both in the host and in the VM with wireshark.
In win7 I have disabled all features on the network settings for the adapter apart form the VirtualBoxNDIS6. I use BridgedAdapater in the VM settings.

Output:
arp -an
? (192.168.2.4) at <incomplete> on vlan171

ifconfig:
enp0s8 Link encap:Ethernet HWaddr 08:00:27:4d:ea:30
inet6 addr: fe80::69c9:2b73:92ff:6b1b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4535 errors:0 dropped:0 overruns:0 frame:0
TX packets:4816 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:391280 (391.2 KB) TX bytes:363805 (363.8 KB)
Interrupt:16 Base address:0xd240

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:7472 errors:0 dropped:0 overruns:0 frame:0
TX packets:7472 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:945029 (945.0 KB) TX bytes:945029 (945.0 KB)

vlan171 Link encap:Ethernet HWaddr 08:00:27:4d:ea:30
inet addr:192.168.2.3 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe4d:ea30/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3873 errors:0 dropped:0 overruns:0 frame:0
TX packets:3891 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:168584 (168.5 KB) TX bytes:170890 (170.8 KB)

I have tried all different adapters though i didnt see this to be the problem. I am not 100% sure i have done everything correct so it would be nice with help.... Also i dont think it can be a firewall issue, as the requests are outgoing.
The device connected to this dedicated NIC works fine with other devices running with Native Ubuntu installation.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Problem with static VM connection through adapter

Post by mpack »

If you can send and receive then the NIC hardware is working. That is all that VirtualBox is responsible for. Network protocols, addressing, routing etc are not within the remit of the hardware, virtual or not.

You should not be "trying different adapters", you should stick to the hardware selected by the OS template, as that is what the guest OS has drivers for.
Disconnected
Posts: 2
Joined: 19. Nov 2018, 15:42

Re: Problem with static VM connection through adapter

Post by Disconnected »

Yes, i have my target NIC of course i want to run, this was more for trouble shooting purposes. It is still not clear to me where the packets are discarded.
Post Reply