Hi Clay,

On 05/14/10 01:43 AM, [email protected] wrote:
Hi all,
Here's what I'm envisioning for the AI multihomed implementation plan. Please let me know your oppinion of it or if it looks like anything is missing.
                            Thank you,
                            Clay



[...]


* Wanboot
     Wanboot in its wanboot.conf provides a root_server value which has
     an IP address in it. This project will modify ON's
     usr/src/common/net/wanboot/bootconf.c valid_root_server()
    function to populate a variable substitution similar to GRUB's
    handling of variables (e.g. kernel$ enabling $ISADIR) for
    providing a subnet specific IP to clients; the incoming subnet's
    interface is returned in place of the token (envisioned to be
    '$serverIP').


Do we need to modify usr/src/common/net/wanboot/bootconf.c ?
For wanboot itself, it seems it contains mechanism for locating
the server:

http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/psm/stand/boot/sparc/common/wbcli.c#determine_bootserver_url

Then once microroot is booted, in net-fs-root we could derive server address by inspecting 'dhcpinfo bootfile' (thus eliminating dependency on root_server wanboot.conf property):

# dhcpinfo bootfile
http://192.168.100.10:5555/cgi-bin/wanboot-cgi

The whole DHCP response OBP receives seems to be exported by
OBP as bootp-response property:

# prtconf -vp  | grep bootp-response
bootp-response: 02010600.9508409d.00000000.00000000.c0a864bf.00000000.00000000.0003bafb.20c10000.00000000.00000000.00000000.00000000.
00000000.00000000.00000000.00000000.00000000.00000000.00000000.00000000.00000000.00000000.00000000.00000000.00000000.00000000.
68747470.3a2f2f31.39322e31.36382e31.30302e31.303a3535.35352f63.67692d62.696e2f77.616e626f.6f742d63.67690000.00000000.00000000.
00000000.00000000.00000000.00000000.00000000.00000000.00000000.00000000.00000000.00000000.00000000.00000000.00000000.00000000.
00000000.00000000.00000000.00000000.63825363.35010536.04c0a864.0a0204ff.ff8f8004.04c0a864.0a330400.0151800f.0d637a65.63682e73.
756e2e63.6f6d0608.819d108c.819d804f.0104ffff.ff000304.c0a86401.1c04c0a8.64ffff

Jan

_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to