WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 584] New: vif-route configures wrong interface for hmx d

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 584] New: vif-route configures wrong interface for hmx domains
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Mon, 27 Mar 2006 09:58:29 +0000
Delivery-date: Mon, 27 Mar 2006 10:04:20 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=584

           Summary: vif-route configures wrong interface for hmx domains
           Product: Xen
           Version: unstable
          Platform: x86
        OS/Version: Linux-2.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: nick@xxxxxxxxxxxxxx


Eg

# xm create win2003
Using config file "/etc/xen/win2003".
Started domain win2003

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.21.1.4       0.0.0.0         255.255.255.255 UH    0      0        0 vif1.0
10.21.0.0       0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         10.21.0.1       0.0.0.0         UG    0      0        0 eth0

That vif1.0 should of course be tun0.

This fixes the routing and gets the networking into working order

# ifconfig vif1.0 down
# ifconfig tun0 10.21.1.2 netmask 255.255.255.255 up
# route add -host 10.21.1.4 dev tun0

This could be a config problem (if it is - apologies in advance!)

Config is

import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 256
name = "win2003"
vif = [ 'type=ioemu, ip=10.21.1.4' ]
disk = [ 'file:/home/win2003/win2003-3.img,ioemu:hda,w' ,
'file:/home/win2003/disk2.img,ioemu:hdc,w' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot='c'
sdl=0
vnc=1
vncviewer=0
serial='pty'
ne2000=0

-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 584] New: vif-route configures wrong interface for hmx domains, bugzilla-daemon <=