LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-05-2011, 08:11 AM   #1
volga629
Member
 
Registered: Dec 2009
Posts: 67

Rep: Reputation: 21
Exclamation XEN 4.0 Networking.


I setup XEN 4.0 on CentOS 5.6 x86_64.
Installation went without problems.
But have some question about XEN Networking.
By default on startup I have eth0, peth0.
Some reason when I am start xenbr0, eth0 converted to peth0 and left only peth0 and xenbr0 and all traffic is linked to xenbr0.
So when I trying to create guest it create vif interface linked to xenbr0, but it not going anywhere.
The old xen 3 was leaving eth0 and copy peth0 and all was linked to eth0.

Here some output for more information.

Code:
[root@host179 ~]# brctl show
bridge name	bridge id		STP enabled	interfaces
xenbr0		8000.000c2951acb9	no		peth0
[root@host179 ~]# ifconfig -a
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2050 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2050 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:5111988 (4.8 MiB)  TX bytes:5111988 (4.8 MiB)

peth0     Link encap:Ethernet  HWaddr 00:0C:29:51:AC:B9  
          inet6 addr: fe80::20c:29ff:fe51:acb9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:405 errors:0 dropped:0 overruns:0 frame:0
          TX packets:83 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:62170 (60.7 KiB)  TX bytes:10199 (9.9 KiB)

xenbr0    Link encap:Ethernet  HWaddr 00:0C:29:51:AC:B9  
          inet addr:XX.XX.XX.XX  Bcast:0.0.0.0  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fe51:acb9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:361 errors:0 dropped:0 overruns:0 frame:0
          TX packets:65 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:52657 (51.4 KiB)  TX bytes:8942 (8.7 KiB)

[root@host179 ~]# ip route show
XX.XX.XX.XX/24 dev xenbr0  proto kernel  scope link  src XX.XX.XX.XX 
default via XX.XX.XX.XX dev xenbr0
network-bridge script

Code:
#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" netdev=eth0 bridge=xenbr0
File vm.cfg

Code:
bootloader = "/usr/bin/pygrub"
disk = ['file:/opt/vm_storage/OVM_OL5U6_X86_64_PVM_10GB/System.img,xvda,w']
memory = '768'
name = 'OVM_OL5U6_X86_64_PVM_10GB'
vcpus = 1
on_crash = 'restart'
on_reboot = 'restart'
vfb = [ 'type=vnc,vncunused=1, vnclisten=0.0.0.0' ]
vif = [ 'bridge=xenbr0' ]

Any help or suggestions welcome.
Thank you in advance.
 
  


Reply


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
XEN\Centos\Networking Martin_H Linux - Virtualization and Cloud 1 06-30-2010 09:18 AM
xen networking on Fedora 8 bojanap Linux - Virtualization and Cloud 1 10-18-2009 01:12 PM
Bridge networking for Xen sparkshankar Linux - Server 1 09-30-2009 04:53 AM
Xen install, can't get networking done I_AM Linux - Software 4 06-29-2009 10:25 AM
Xen Vs Qemu Networking depam Linux - Software 0 03-04-2006 04:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration