Jump to content











Photo

dhcp option 209


  • Please log in to reply
6 replies to this topic

#1 Margeb

Margeb
  • Members
  • 2 posts
  •  
    Germany

Posted 07 June 2019 - 12:30 PM

Hi there,

 

how can I use dhcp option 209 (pxelinux.configfile) with Tiny PXE?

 

TIA

 

Markus



#2 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 2783 posts
  • Location:Nantes - France
  •  
    France

Posted 07 June 2019 - 05:31 PM

Hi,

 

You can use the extra option field.

 

It would be 209.length.x.y.z.

 

Length being the length of your string (i guess it is a string).

And x.y.z being the decimal values of each ascii character (table here).

Regards,

Erwan



#3 Margeb

Margeb
  • Members
  • 2 posts
  •  
    Germany

Posted 08 June 2019 - 04:45 PM

Hi Erwan,

 

thank you, I'll check it out.

 

Markus



#4 cabye

cabye

    Newbie

  • Members
  • 16 posts
  •  
    Cape Verde

Posted 23 June 2019 - 01:29 PM

can only add one “extra option”?

if added option 209, then how about that 175 option?

I found that 175 priority is critical when using proxydhcp, without it client can not begin tftp download

alway showing tftp... and then die

add 175.3.1.1.1 fix it

#5 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 2783 posts
  • Location:Nantes - France
  •  
    France

Posted 23 June 2019 - 03:08 PM

can only add one “extra option”?

if added option 209, then how about that 175 option?

I found that 175 priority is critical when using proxydhcp, without it client can not begin tftp download

alway showing tftp... and then die

add 175.3.1.1.1 fix it

 

I believe you can put multiple dhcp options like this : option_id_1.length.a.b.c.option_id_2.length.a.b.c .

 

Give it a try and let me know.

If not working, i'll review the code.



#6 cabye

cabye

    Newbie

  • Members
  • 16 posts
  •  
    Cape Verde

Posted 23 June 2019 - 11:44 PM

I believe you can put multiple dhcp options like this : option_id_1.length.a.b.c.option_id_2.length.a.b.c .
 
Give it a try and let me know.
If not working, i'll review the code.


not working.

set 175.3.1.1.1 got 175.1
set 209.3.1.1.1 got 209.1
set 175.3.1.1.1.209.3.1.1.1 got nothing

#7 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 2783 posts
  • Location:Nantes - France
  •  
    France

Posted 26 June 2019 - 06:51 PM

not working.

set 175.3.1.1.1 got 175.1
set 209.3.1.1.1 got 209.1
set 175.3.1.1.1.209.3.1.1.1 got nothing

 

One option should be working fine as this is an old feature implemented in the early days.

 

Just checked it and it seems to work fine.

 

0G1H4Lv.png






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users