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.