[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Routed Xen networking



Hi all,

I'm trying to get routed networking running on 4.4, but running into a few issues.

My DomU config file:

builder='hvm'
memory = 1024

# Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
shadow_memory = 8
name = "windows2008"
vif = [ 'type=ioemu,script=vif-route,ip=A.B.C.46/32,gatewaydev=eth0' ]
acpi = 1
apic = 1
disk = [ 'file:/srv/xen/windows2008/windows2008.img,hda,w', 'file:/iso/en_windows_server_2008_r2_with_sp1_x64_dvd_617601.iso,hdc:cdrom,r' ]

#-----------------------------------------------------------------------------
# boot on floppy (a), hard disk (c) or CD-ROM (d)
# default: hard disk, cd-rom, floppy
boot="dc"
sdl=0
vnc=1
vncconsole=1
vncpasswd=''

serial='pty'
usbdevice='tablet'

My routes when the DomU is running:

Kernel IP routing table
DestinationÂÂÂÂ GatewayÂÂÂÂÂÂÂÂ GenmaskÂÂÂÂÂÂÂÂ Flags Metric RefÂÂÂ Use Iface
0.0.0.0ÂÂÂÂÂÂÂÂ A.B.C.1ÂÂÂÂ 0.0.0.0ÂÂÂÂÂÂÂÂ UGÂÂÂ 0ÂÂÂÂÂ 0ÂÂÂÂÂÂÂ 0 eth0
A.B.C.0ÂÂÂÂ 0.0.0.0ÂÂÂÂÂÂÂÂ 255.255.255.0ÂÂ UÂÂÂÂ 0ÂÂÂÂÂ 0ÂÂÂÂÂÂÂ 0 eth0
A.B.C.46ÂÂÂ 0.0.0.0ÂÂÂÂÂÂÂÂ 255.255.255.255 UHÂÂÂ 0ÂÂÂÂÂ 0ÂÂÂÂÂÂÂ 0 vif4.0

Ping response from Dom0:

PING A.B.C.46 (A.B.C.46) 56(84) bytes of data.
From A.B.C.45 icmp_seq=1 Destination Host Unreachable

The DomU instance is configured with IP A.B.C.46/24 and gateway A.B.C.1

I've made a small patch to the vif-route script on Ubuntu 14.04, as the ip route code was being called for online/offline and consequently failing because ipcmd was unset.

Please let me know what else I may need to do,

Thanks,

Phil
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.