Differences

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

Link to this comparison view

Next revision
Previous revision
soc:2009:pravin:journal:bkostaticip [2009/07/07 04:18]
less1 created
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 ====
-I don't have any clue about this part.  This part may prove to be tricky+I don't have any clue about this part.  This part may prove to be tricky
 +Following are the parameters that I need to pass on. 
 +  - net0/ip 
 +  - net0/​netmask 
 +  - net0/​gateway 
 +  - net0/dns 
 + 
 +Again, I need to pass the values of these variables, I hope that gpxe is capable of doing this. 
  
  
 +===== 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)