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

[Xen-users] DHCP / Ubuntu



Hi all,

I'm trying to confugre DHCP on Dom0 to server up addresses to DomU, using routed networking. So far, it looks like the requests aren't making it to the DHCP server.

I've played with vif-route a bit (static address work fine, btw), but so far no joy.

/etc/default/interfaces includes:

auto xenbr0
iface xenbr0 inet static
ÂÂÂ address 192.168.1.1
ÂÂÂ network 192.168.1.0
ÂÂÂ netmask 255.255.255.0
ÂÂÂ broadcast 192.168.1.255
ÂÂÂ pre-up brctl addbr $IFACE
ÂÂÂ up ip link set $IFACE up
ÂÂÂ post-down brctl delbr $IFACE
ÂÂÂ down ip link set $IFACE down

VM config:
memory = 1024

# Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
shadow_memory = 8
name = "nfsboot"
vif = [ 'script=vif-route' ]
disk = [ 'file:/srv/xen/nfsboot/nfsboot.img,xvda,w' ]

#bootloader = "pygrub"

kernel = "/srv/xen/web/vmlinuz.netboot"
ramdisk = "/srv/xen/web/initrd.gz"

/etc/default/isc-dhcp-server includes INTERFACES="xenbr0"

/etc/dhcp/dhcpd.conf includes:
subnet 192.168.1.0 netmask 255.255.255.0 {
 option routers 192.168.1.1;
 option broadcast-address 192.168.1.255;
 range 192.168.1.3 192.168.1.254;
}

I'm stumped!
_______________________________________________
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®.