Two VM - Network of one them fails randomly

Discussions related to using VirtualBox on Windows hosts.
Post Reply
orbegonzo
Posts: 4
Joined: 5. Oct 2015, 15:14

Two VM - Network of one them fails randomly

Post by orbegonzo »

Hi everyone.

I have installed Virtual Box in Windows 7 64 bits (host has 8GB RAM, i5 2.9GHz). I needed to run 2 virtual machines, each of them with the same configuration: 3GB Ram, 50GB HD, Oracle Linux 6.3. Machine A has IP 192.168.1.151 and Machine B has IP 192.168.1.156. Machine A works perfect, I can ping the rest of the machines in my LAN, and also access to IPs from outside my network. However, the network behaviour of Machine B is really strange: sometimes I can ping any machine on the LAN and external IPs, but then, it stops working and I can't ping anything. It happens randomly, and after some time (usualy more than 20 seconds), it starts working again for some time.

The network configurations of both machines is the same (except for their IPs), and I have trying both cloning machine A and configuring machine B from the start. I have also tried turning off machine A (just in case there was some kind of memory shortage), but it still doesn't work. The network is configured as Bridge Adapter.

Any leads about this issue?

Regards
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Two VM - Network of one them fails randomly

Post by Perryg »

Do the two machines have unique MAC addresses?
Also you may need to edit the /etc/udev/rules.d/70-persistent-net.rules or you can delete the rules and Linux will configure it on the next boot on the second machine if it was a clone of the first.
orbegonzo
Posts: 4
Joined: 5. Oct 2015, 15:14

Re: Two VM - Network of one them fails randomly

Post by orbegonzo »

Perryg wrote:Do the two machines have unique MAC addresses?
Also you may need to edit the /etc/udev/rules.d/70-persistent-net.rules or you can delete the rules and Linux will configure it on the next boot on the second machine if it was a clone of the first.
Yes, I made sure that both MAC addresses were different, and I also edited that find, deleting the old cloned rules and editing the new ones. In any case, I also tried configuring the second machine from zero, and it didn't work either.

Regards
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Two VM - Network of one them fails randomly

Post by Perryg »

Then we are going to need to see the guests log file as an attachment. One from each.
orbegonzo
Posts: 4
Joined: 5. Oct 2015, 15:14

Re: Two VM - Network of one them fails randomly

Post by orbegonzo »

Perryg wrote:Then we are going to need to see the guests log file as an attachment. One from each.
Hello,

I attach the logs of both Virtual Machines (VBox2 is the one that fails). If you need more information, feel free to ask.

Regards,
Attachments
VBox2.log
Log 2 (machine fails randomly)
(92.29 KiB) Downloaded 6 times
VBox1.log
Log 1 (machine works ok)
(93.52 KiB) Downloaded 6 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Two VM - Network of one them fails randomly

Post by Perryg »

The logs are so close to being exactly the same its crazy. Checking the diff of the two I actually don't find any reason for the guests acting differently with the exception of the host network controller "Realtek PCIe GBE Family Controller" which has had issues before. I would first make sure you have the latest updated driver installed on the host for this adapter and if that does not help or fix this issue I would raise a ticket at bugtracker giving them the complete details and log files.
orbegonzo
Posts: 4
Joined: 5. Oct 2015, 15:14

Re: Two VM - Network of one them fails randomly

Post by orbegonzo »

Perryg wrote:The logs are so close to being exactly the same its crazy. Checking the diff of the two I actually don't find any reason for the guests acting differently with the exception of the host network controller "Realtek PCIe GBE Family Controller" which has had issues before. I would first make sure you have the latest updated driver installed on the host for this adapter and if that does not help or fix this issue I would raise a ticket at bugtracker giving them the complete details and log files.
Ok, I will check if the driver is updated (I'm almost sure that it is, but in any case I will remove it at install the latest version again), otherwise I'll raise a ticket.

Thanks for your help.

Regards.
Post Reply