|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] No net connectivity on Xen321 + Centos52 ?
I run Centos 5.2
uname -rm
2.6.18-92.1.6.el5 x86_64
On boot, Ethernet is
ifconfig
...
eth0 Link encap:Ethernet HWaddr 00:0E:0C:C1:18:1D
inet addr:192.168.1.9 Bcast:192.168.1.955 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1
...
Net access to & from the box is fully functional.
I 've installed kernel-xen and upgraded to Xen 3.2.1
rpm -qa xen\* kernel-xen
kernel-xen-2.6.18-92.1.6.el5
xen-debuginfo-3.2.1-0xs
xen-devel-3.2.1-0xs
xen-libs-3.2.1-0xs
xen-3.2.1-0xs
/boot/grub/grub.conf contains
title XenCentOS (2.6.18-92.1.6.el5xen)
root (hd0,0)
kernel /xen.gz-3.2 dom0_mem=1024M selinux=0 noirqdebug irq=poll
module /vmlinuz-2.6.18-92.1.6.el5xen ro root=/dev/VG0/LV0
module /initrd-2.6.18-92.1.6.el5xen.img
Boot to 'XenCentOS' is OK
uname -rm
2.6.18-92.1.6.el5xen x86_64
At this point, I've lost all Net access; Can't ping or ssh to/from the box.
I've edited
cat /etc/xen/xend-config.sxp
...
#(network-script network-bridge)
(network-script network-bridge-custom)
#(vif-script vif-bridge)
cat /etc/xen/scripts/network-bridge-custom
#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0 bridge=bridge00 netdev=eth0
"$dir/vif-bridge" vifnum=0 bridge=bridge00 netdev=eth0
ip link set bridge00 up
route -A inet add default gw 192.168.1.9 dev bridge00
and network state looks OK
ifconfig
peth0 Link encap:Ethernet HWaddr 00:0E:0C:C1:18:1D
UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1
RX packets:91 errors:0 dropped:0 overruns:0 frame:0
TX packets:105 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12692 (12.3 KiB) TX bytes:7548 (7.3 KiB)
Interrupt:20
bridge00 Link encap:Ethernet HWaddr 00:0E:0C:C1:18:1D
inet addr:192.168.1.9 Bcast:192.168.1.955 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:980 (980.0 b) TX bytes:1386 (1.3 KiB)
brctl show
bridge name bridge id STP enabled interfaces
bridge00 8000.00216352165d no peth0
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.9 0.0.0.0 255.255.255.0 U 0 0
0 bridge00
0.0.0.0 192.168.1.9 0.0.0.0 UG 0 0
0 bridge00
Any clues as to why connectivity is down?
Wil
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-users] No net connectivity on Xen321 + Centos52 ?,
Wil Decius <=
|
|
|
|
|