LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-27-2008, 05:20 AM   #1
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
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 .

Last edited by r3sistance; 07-27-2008 at 06:35 AM.
 
Old 09-06-2008, 08:12 AM   #2
mad4linux
Member
 
Registered: Aug 2003
Distribution: Debian Testing / kubuntu
Posts: 86

Rep: Reputation: 21
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!
 
Old 09-06-2008, 11:33 AM   #3
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Original Poster
Rep: Reputation: 79
I already managed to sort this out thankfully .

Guess I should have made a note on it, heh.
 
Old 11-12-2008, 07:54 AM   #4
JMCraig
Member
 
Registered: Feb 2003
Location: Utah, USA
Distribution: Red Hat EL/CentOS, Ubuntu/Debian
Posts: 113

Rep: Reputation: 15
Quote:
Originally Posted by r3sistance View Post
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!
 
Old 11-14-2008, 03:33 PM   #5
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Original Poster
Rep: Reputation: 79
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.
 
Old 11-14-2008, 03:46 PM   #6
JMCraig
Member
 
Registered: Feb 2003
Location: Utah, USA
Distribution: Red Hat EL/CentOS, Ubuntu/Debian
Posts: 113

Rep: Reputation: 15
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

Last edited by JMCraig; 11-14-2008 at 03:50 PM. Reason: Added specifics
 
Old 11-14-2008, 04:26 PM   #7
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Original Poster
Rep: Reputation: 79
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 .
 
  


Reply

Tags
bridge, networking, xen


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Install, Configure, Manage and Administer Xen Servers with New book on Xen LXer Syndicated Linux News 0 01-11-2008 11:41 PM
XEN on centos5 hackintosh Linux - Server 2 10-19-2007 11:11 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 11-05-2006 12:21 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 10-21-2006 11:33 PM
XEN-SUSE 10.1-- DHCP Server works under plain but not under XEN Dimitriy Linux - Networking 4 06-08-2006 05:53 PM


All times are GMT -5. The time now is 10:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration