CentOS virtual machine affecting the local network
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
CentOS virtual machine affecting the local network
I have the following setup:
Windows7 64-bit host - static IP - unique within the LAN
Virtual box Bridged Adapter
Centos 6.5 32-bit guest - static IP - unique within the LAN
When the guest starts it paralizes all the network and the internet
connection becomes quite instable although I can ping any website from each of the machine.
I should also mention that I have forwarded several ports through the router in order for the machine to be accessible via ssh.
Did you ever encountered this problem is it from the guest or from the way the connections for both are set?
Should not happen. Never seen it. Guess you could start off with making the vm client nat. As to what is causing it, you may start with window's performance monitor. Make a log before you start this and see if anything can report what the issue is. Perfmon has thousands of metrics.
Can also look at client next, generally var/ log files. Might use other tools like top.
Using NAT seems to work as expected without affecting the rest of the local network.
Still I wiil further invetigate it and post the cause if I find it because it looks
strange to me and it is sommeting that should not happen.
try to capture network traffic and see if there are any unwanted packets flying aroung causing the network go crazy. On Windows and Linux you could use Wireshark, I usually use tcpdump on Linux instead.
In case you identified any dodgy packets you need to find out where they originate. According to your desxcription I would suspect your VM.
What services/deamons are running? any special software on it?
since you made your VM accessible from outside your netork, could it be it got hacked?
Sorry for replying so late. So I changed the VM's MAC and refreshed the interface inside the machine and the problem seems to be solved. I think that the VM took the MAC of the host or something like this. But the ideea is that the problems seems to be gone now. Thank you all the the advice.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.