LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Xen Bridges on Centos5.1 (https://www.linuxquestions.org/questions/linux-networking-3/xen-bridges-on-centos5-1-a-658525/)

r3sistance 07-27-2008 05:20 AM

Xen Bridges on Centos5.1
 
I am trying to set-ups xen on my personal webserver with this purpose of setting up xen VMs. But currently I am having issues trying to configure the network bridges for Xen. This is due to the fact I don't know what files need to be configured and where they are (I can find aload of files with find but none sit in /etc/sysconfig/network-scripts/).

I currently had two static IPs which are 85.234.131.137 and 85.234.131.138. I want .137 to stay as the main IP for connecting into the actual centos OS and .138 to become the IP of the VM I am currently trying to configure.

I am either looking for a manual that ACTUALLY explains how to do this in relation to red hat based linux distros or just someone to say where to go. Most things I see don't actually tell me what files need to be configured and how they need to be configured.

Thanks for your time and hopefully help :).

mad4linux 09-06-2008 08:12 AM

XEN networking is set in /etc/xen/xend-config.sxp

There you can set the basic scripts that xen runs on startup.

The network scripts themselves are in:

/etc/xen/scripts/

These pages may help you when trying to setup xen networking:

http://wiki.xensource.com/xenwiki/XenNetworking
http://www.debian-administration.org/articles/360
http://wiki.kartbuilding.net/index.php/Xen_Networking

Hope this helps!

r3sistance 09-06-2008 11:33 AM

I already managed to sort this out thankfully :).

Guess I should have made a note on it, heh.

JMCraig 11-12-2008 07:54 AM

Quote:

Originally Posted by r3sistance (Post 3271652)
I already managed to sort this out thankfully :).

Guess I should have made a note on it, heh.

Would you be so good as to post an outline of what you did? This is essentially the problem I'm dealing with in trying to get my first Xen VM working. None of the available info I can find is targeted at this kind of simple setup. (In my case, the Xen VM's would not have a public IP, but I need the main install (dom0) to listen on one NIC, and the guest VM to listen on another.)

Thanks!

r3sistance 11-14-2008 03:33 PM

Unfortantly all I did was reinstall from scratch rather then installing Xen on a pre-existing system to clean up all the network and firewall settings so I can't really answer that one. =X.

JMCraig 11-14-2008 03:46 PM

OK. But having done the reinstall to get rid of the junk, what settings worked?

Would you be willing to share sanitized copies of the critical setup files, such as:

/etc/xen/xend-config.sxp
The guest_name file from the same directory
/etc/sysconfig/network-scripts/ifcfg* files


John

r3sistance 11-14-2008 04:26 PM

It's all default... literally all of it.

Since reinstalling it cleared all the problems I had, I left it at that, I dunno how to assign different VMs between peth0 and peth1 at all. sorry :(.


All times are GMT -5. The time now is 11:09 PM.