tmart
09-10-2009, 01:04 PM
As far as I understand the DHCP boot cycle process, after the DHCP lease is assigned to a newly started component, the component issues several wget requests. One of these requests is for the applogic_network.conf file which is then sourced and invokes some user-defined functions defined in the boot scripts.
I am wondering about how AppLogic formulates the contents of these files that are retrieved. The general DHCP and wget sequencing makes sense to me, but I'm wondering how some of the contents for these files are assigned. Specifically about how the "ncfg_nameserver 'XXX.XXX.XXX.XXX' gets determined.
Does AppLogic assume that whatever the default gateway is connected to is the appropriate internal 10.* IP address to use? Or is something else going on... like "If the default gateway is connected to a NET appliance, then ... " ?
On a related topic: if we want to use an internal nameserver but use a NET for our outbound gateway, is there a "right way" to do this?
I am wondering about how AppLogic formulates the contents of these files that are retrieved. The general DHCP and wget sequencing makes sense to me, but I'm wondering how some of the contents for these files are assigned. Specifically about how the "ncfg_nameserver 'XXX.XXX.XXX.XXX' gets determined.
Does AppLogic assume that whatever the default gateway is connected to is the appropriate internal 10.* IP address to use? Or is something else going on... like "If the default gateway is connected to a NET appliance, then ... " ?
On a related topic: if we want to use an internal nameserver but use a NET for our outbound gateway, is there a "right way" to do this?