Adding a Physical NIC to Xen host
I have just installed Xen and configured a virtual machine for the first time. I followed the following How To:
When I did the initial install and configuration of the VM, the physical machine only had one NIC installed. I now want to install a second physical NIC in the machine and eventually have the VM utilize the second NIC.
After installing the NIC, I logged onto the Dom0 machine. I then modified /etc/network/interfaces.
After issuing the ifconfig command, I failed to see the second interface.
My guess is that my approach is wrong since the Dom0 is really a VM as well. So how do I go about adding the second NIC and configuring the existing VM's to use it?
You want to try this link
Using multiple network cards in XEN 3.0
I had to read this article three times before it started making sense to me. I don't know that I fully understand it yet, but I think I am getting there. It appears as though you are creating a bridge to each physical NIC in the machine, then forcing each VM to use a specific physical NIC.
However, one thing that is somewhat confusing to me is that many articles dealing with Xen reference xenbr0. I never see that on my machine. Here is the results of my brctl show command:
Lastly, it appears that I could build my machines and "move" them to physical NIC's when I have them. Right now, I only have two NIC's but would like a third. It would appear that the same steps apply. I was under the assumption the NIC's would need to be present before creating the VM.
Okay, so I managed to get my two NICs working and configured on my Dom0 before creating the my-network-script as suggested on the URL.
This is the second time actually going through the setup. In both instances, the machine is unreachable via SSH (or any protocol for that matter) after implementing the script.
I can login at the terminal. Upon watching the messages on the screen, I see two related to my NICs. They read:
I wanted to say that I did get it to work. The bridged names are now called the same as the physical names (eth0 and eth1). I had to read all the comments on the list of the web site above in order to find my solution. But it worked none the less.
|All times are GMT +2. The time now is 06:26.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.