On Wed, Mar 16, 2011 at 6:24 AM, Sachin Kamat sachin.kamat@linaro.org wrote:
On 16 March 2011 10:03, Michael Hudson-Doyle michael.hudson@canonical.com wrote:
On Tue, 15 Mar 2011 11:17:14 -0500, Paul Larson paul.larson@linaro.org wrote:
I like statically IP. How do we know which board would get which IP? One idea would be to set up a DNS for internal board names. e.g. panda01.internal.network would resolve to our preallocated static IP for board "panda01".
This could then be used by the dispatcher to resolve the IP and pass it to the board through kernel cmdline.
I hadn't really thought of passing it via cmdline. If we need to bring it
up statically, we could possibly do that, or possibly just make the necessary adjustments before booting the image. What I was proposing, if the image is already set up to dhcp by default, we could run a dhcp server on the control node with the static ip assignments already in place for each board.
How would you do this? Most boards don't have a fixed MAC address. You can set up a dhcp-name but that (AIUI) means a different rootfs for each board and then you might as well just allocate a static IP...
Also, some boards of the same type have the same MAC as well..
Is setting a static IP for those boards actually enough or do we also need to set some reasonable MAC?