DHCP Option 7 and Syslog.
|
2012-07-02, 19:32
Post: #1
|
|||
|
|||
DHCP Option 7 and Syslog.
Hello all;
I recently compiled an iPXE kernel with the latest code with syslog enabled. When I call dhcp option 7 in a script: Code: dhcp iPXE returns the following on DHCP Option 7: when enabled on the scope with only one IP in the Option String; Code: DHCP Option 7 is " When Two IPs are specified in DHCP Option 7 it returns the following: Code: DHCP Option 7 is " When Three IPs are specified in DHCP Option 7 it returns the following: Code: DHCP Option 7 is " If DHCP option 7 is disabled from the scope, iPXE returns the following: Code: DHCP Option 7 is "" This leads me to believe iPXE doesn't fully support all DHCP options as variables. This is a definite "nice to have", however. I can do a wireshark capture from the DHCP server. Any ideas? TIA, M^3 "Thus far, you have been adrift within the sheltered harbor of my patience..." |
|||
2012-07-03, 00:24
Post: #2
|
|||
|
|||
RE: DHCP Option 7 and Syslog. | |||
2012-07-05, 03:29
(This post was last modified: 2012-07-05 03:30 by MultimediaMan.)
Post: #3
|
|||
|
|||
RE: DHCP Option 7 and Syslog.
Cheers! That worked very well; Thank You!
This leads to two other questions related and one somewhat related: 1) If more than one IP is specified in ${syslog} will iPXE pick only the first one? 2) Assuming iPXE can use more than one IP in the definition, is there a way to parse through the string (comma, space/null delimited)? 3) On the Page: http://www.ipxe.org/cmd/show It shows DHCP Option 42 (NTP Servers) to be an embedded variable. I get this when I attempt to read it: Code: iPXE> show 42:ipv4 What gives? TIA, M^3 "Thus far, you have been adrift within the sheltered harbor of my patience..." |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)