[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-bugs] [Bug 584] New: vif-route configures wrong interface for hmx domains
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
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |