[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Xen networking troubles
Please keep replies on-list so other people can also benefit from any knowledge and contribute to the discussion. Also the list convention is to bottom post. :) Thanks for your quick response James! I tried it and it's not working yet. On the Windows network card i got the yellow triangle saying: "Unidentified Network". What should i use for Default Gateway on my HVM btw? I used now the one IP from my public range that i configured on my eth1 - Do you have a separate device on the 6 IP subnet that is already a router or will your dom0 perform this function? If it will be your dom0 via the eth0 interface then you will need to assign an IP address from the 6 IP subnet to the bridge and enable IP forwarding by adding the line net.ipv4.ip_forward = 1 to /etc/sysctl.conf and executing sysctl -p You'll also need to make sure that the rest of your network knows to route the domU subnet via the dom0. If your eth1 isn't actually connected to the network then you can use the bridge without a physical interface attached to it. And about setting up the extra bridge breth1: does that stick if i reboot the server? And if not how can i make ik more permanent? - To make it permanent you'll need to edit the network scripts. I'm afraid I don't have specific RHEL/CentOS knowledge. But http://acidborg.wordpress.com/2010/01/20/how-to-configure-a-network-bridge-in-red-hat-fedora/ looks like it should give you enough information though. 2011/12/2 James Dingwall <james.dingwall@xxxxxxxxxx> For a customer i received a pre-installed CentOS server with the basic Xen installation running on it. I also received a Public IP range with 6 IP adresses to use for the VM's. The eth0 on the server does have a IP adres in a different net. There is also a eth1 in the server which isn't used. Now i am in the process of create a (windows 2008) HVM, but i can't get this HVM connected to the internet by use of one of the public IP adresses given. I tried this setup: http://www.debian-administration.org/articles/360 but that didn't work for me. I also tried to setup eth1 with one of my public IP adresses and get it connected to the xenbr0 bridge, but that didn't work either. Can anyone give some clue's/guidance how to get this setup working? Thanks a lot! There are several options open but I'll suggest one using the spare eth1 interface. There are different ways to accomplish the bridge creation which will depend a bit on your setup. Personally I am using Xen 4.1.2 and rely on my system network scripts for all the bridge and interface configuration. 1. Create a new bridge called breth1 on the system and add eth1 to it: # brctl addbr breth1 # brctl addif breth1 eth1 Note it is not necessary to assign an IP to the eth1 interface on the dom0 for this to work. That's only required if you want access to the dom0 via that interface. 2. Change your vif line in your HVM configuration to use the breth1 device vif = [ 'bridge=breth1' ] 3. Configure the appropriate IP/netmask in your HVM This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |