If statement based on IP address?
|
2014-02-04, 02:43
Post: #4
|
|||
|
|||
RE: If statement based on IP address?
What's going on is that I have four different data-centers with different subnets and I'm trying to come up with a single iPXE boot that I can distribute to hypervisors/bare-metal on each location/subnet and then have clients being built only "touch" the boot server on that subnet.
I'd like to have the logic built into my boot iPXE ISO that checks from which subnet the request originates and chain a dynamic iPXE script that I'll replicate to each subnet's boot server. I currently have that logic on the dynamic script, so that depending on where the request for the script comes from, a different boot server is presented, but the various subnets are still coming back to the same boot server defined in the ISO. I think I'll do what robinsmidsrod suggests but make the decision depending on the gateway assigned to the client. That should be different depending on the subnet. I'll report back ... |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
If statement based on IP address? - apitanga - 2014-01-23, 16:23
RE: If statement based on IP address? - robinsmidsrod - 2014-01-30, 23:04
RE: If statement based on IP address? - Torgeir - 2014-02-02, 12:02
RE: If statement based on IP address? - apitanga - 2014-02-04 02:43
RE: If statement based on IP address? - MultimediaMan - 2014-02-05, 00:21
|
User(s) browsing this thread: 3 Guest(s)