nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Xen networking problem

This is a discussion on Xen networking problem within the XEN forums, part of the Linux virtualization category; Hello, We are experiencing a very strange networking problem with the open source version of Xen. The host OS was ...


Go Back   nixCraft Linux Forum > Linux virtualization > XEN

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-02-2008, 11:30 PM
Junior Member
User
 
Join Date: Jul 2008
My distro: CentOS
Posts: 1
Rep Power: 0
ontai is on a distinguished road
Default Xen networking problem

Hello,

We are experiencing a very strange networking problem with the open source version of Xen. The host OS was CentOS 5.1, but I believe it has been patched to the latest version. We are using the Xen virtualization that ships with CentOS. The Ubuntu guest VM is running 7.1.2008

When the Ubuntu guest VM boots up, it exhibits the following behavior:

The VM can ping its default gateway
The VM can ping remote hosts by IP address
The VM can run nslookup, connect to both local and remote DNS servers, and successfully resolve names (so, UDP is working…)
The host OS can SSH into the VM (both are on the same logical subnet)
The VM can SSH into the host OS
The VM cannot do any kind of TCP based connections to hosts other than the host OS. We have tried FTP, HTTP, and SSH. It should also be noted that we attempted to perform an installation of a CentOS 5.1 VM using the CD to boot and then selecting HTTP and FTP downloads from known mirrors. These TCP transactions also failed, so the problem doesn’t appear to be specific to the Ubuntu VM.

I ran a tcpdump of the virtual bridge interface and I can see outbound TCP connections and the return traffic. But for some reason the return traffic isn’t being passed on to the VM. I tried disabling IPTables on the host OS and that didn’t impact anything.

It should also be noted that Xen worked perfectly on another CentOS 5.1 server. The problem is showing up only on some new SuperMicro servers that my customer purchased.

Any help would be greatly appreciated!

Here is the uname –an output of the host OS:
Linux sf-prod-host2.keystream.com 2.6.18-92.1.6.el5xen #1 SMP Wed Jun 25 14:13:10 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

Here is the Xen config file:

(logfile /var/log/xen/xend.log)
(loglevel DEBUG)

(xend-unix-server ye
(xend-unix-path /var/lib/xend/xend-socket)
(xend-relocation-hosts-allow '^localhost$ ^localhost\\.localdomain$')

(network-script network-bridge)
(vif-script vif-bridge)
(dom0-min-mem 256)

(dom0-cpus 0)

Here is the test.cfg file used to launch the VM:

kernel = '/boot/vmlinuz-2.6.22-14-xen'
ramdisk = '/boot/initrd.img-2.6.22-14-xen'
memory = '4096'
name = "test"
cpus = "" # leave to Xen to pick
vif = [ "mac=00:16:3e:77:b8:a4,bridge=xenbr0" ]
root = '/dev/hda1 ro'
disk = ['tap:aio:/xen/test/disk.img,hda1,w','tap:aio:/xen/test/swap.img,hda2,w']
extra = "4"
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
extra = 'xencons=tty'
Reply With Quote
Sponsored Links
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
linux networking shanthiavari Linux software 1 06-17-2008 10:18 PM
keep networking permanent jhgarcon Getting started tutorials 1 05-11-2008 02:49 PM
Mail Server Networking Problem mvibin Networking, Firewalls and Security 1 05-09-2008 07:15 PM
ubuntu linux start, stop, restart networking toor Linux software 3 07-17-2006 11:32 AM


All times are GMT +5.5. The time now is 11:05 PM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36