Some routers are able to run the Linux-based open source router firmware called DD-WRT. DD-WRT is useful to some UEC users and developers because of the flexibility and additional options available over stock router firmware.

This page is not about flashing your router with DD-WRT. For that, please refer to the DD-WRT website.

This page may be useful to UEC users who already have DD-WRT managing their router, as there are a few features and options that can help set up an automated UEC Provisioning Server.

Setup

Basic Setup

  • Make sure that there are some IP address which are not managed by your router, such that your CC can dole them out to your instances. In this example, 10.1.1.100-10.1.1.149  are dhcp addresses served by this router; the rest of the addresses on the subnet are static IPs. Thus, in the CC's eucalyptus.conf, PUBLIC_IPS could safely be set to 10.1.1.200-10.1.1.231, for example.

  • Use DNSMasq

dhcp.png

Services

Services

  • Create Static leases for each of your UEC hosts, with its MAC Address, Hostname, and IP Address
  • Add the following DNSMasq options to avoid dhcp races with your CC, and enable PXE booting of your UEC hosts (where your PXE server is 10.1.1.11 -- adjust this accordingly)
    dhcp-host=d0:0d:*:*:*:*,ignore
    dhcp-boot=pxelinux.0,,10.1.1.11

dnsmasq.png

UEC/Provisioning/DD-WRT (last edited 2010-06-16 22:09:05 by pool-71-252-251-234)