Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
soc:2009:pravin:journal:bkostaticip [2009/07/07 04:23]
less1
soc:2009:pravin:journal:bkostaticip [2009/07/08 02:42] (current)
less1
Line 18: Line 18:
 ==== Passing information from pxelinux.0 to linux kernel ==== ==== Passing information from pxelinux.0 to linux kernel ====
 Linux kernel can take parameter which will have network configuration info.  Linux kernel can take parameter which will have network configuration info. 
-The unknown factor here is that, if information is with pxelinux.0, and parameters are taken from config file. +<​code>​ 
-So, I need a way by which configuration file can inform pxelinux.0 to fill in certain places ​with values it is having.+ip=<​client-ip>:<​server-ip>:<​gw-ip>:<​netmask>:<​hostname>:<​device>:<​autoconf>​ 
 +</​code>​ 
 +Refer to [[http://​www.mjmwired.net/​kernel/​Documentation/​filesystems/​nfsroot.txt|Documentation/​filesystems/​nfsroot.txt]] for more details on these parameters\\ 
 +The unknown factor here is that, if information is with ''​pxelinux.0''​, and parameters are taken from config file. 
 +So, I need a way by which configuration file can inform ​''​pxelinux.0'' ​to fill in the <​client-ip>,​ <​gw-ip>,​ <​netmask> ​with values it is having.\\ 
 + 
 +I would also like to pass on the DNS ip which is not an option above. I may add one more parameter, or reuse <​server-ip>​ as <​dns-ip>​
  
 ==== Passing information from gpxe to pxelinux.0 ==== ==== Passing information from gpxe to pxelinux.0 ====
Line 33: Line 39:
  
  
 +===== Solution =====
 +''​IPAPPEND''​ worked for me without any problems. ​ Honestly, I do not understand how it works, but I am using ''​IPAPPEND 3''​ (because I have been told to use this option).
 +Unfortunately,​ the documentation related to IPAPPEND is quite hard to find. Any pointers on how exactly IPAPPEND works will be helpful.\\
 +
 +Small drawback of this solution is that, the DNS entry is not passed. So, I won't be able to use URL's and I have to stick to IP only.
  

QR Code
QR Code soc:2009:pravin:journal:bkostaticip (generated for current page)