9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] How to PXE boot with "two" DHCP servers on one network
@ 2024-03-25 15:52 Marco Feichtinger
  2024-03-25 17:35 ` Kurt H Maier via 9fans
  2024-03-25 17:35 ` Lyndon Nerenberg (VE7TFX/VE6BBM)
  0 siblings, 2 replies; 4+ messages in thread
From: Marco Feichtinger @ 2024-03-25 15:52 UTC (permalink / raw)
  To: 9fans

My router at home also serves as the DHCP server for the network.

I have a plan9 file server and now want to pxe boot a second machine from it.
On the file server I have 'ip/dhcpd -sS' running, since it also serves bootp requests.

Now when i pxe boot the second machine, it loads 9boot, but when searching for the 
/cfg/pxe/<mac address> file, it uses the ip address of my router.

Boot Message:
        pxe on ether0 .
        (<router ip>!69): /cfg/pxe/<mac address> .T.T.T.T.T.T.T.T.T.Ttftpread1st: failed to connect to server (<router ip>!69)

How can I pxe boot other machines, without my file server acting as dhcp server for the whole network?

-marco


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T47150b930c3726bd-Md6e6d272075e2daf4b9fc7f6
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] How to PXE boot with "two" DHCP servers on one network
  2024-03-25 15:52 [9fans] How to PXE boot with "two" DHCP servers on one network Marco Feichtinger
@ 2024-03-25 17:35 ` Kurt H Maier via 9fans
  2024-03-25 17:35 ` Lyndon Nerenberg (VE7TFX/VE6BBM)
  1 sibling, 0 replies; 4+ messages in thread
From: Kurt H Maier via 9fans @ 2024-03-25 17:35 UTC (permalink / raw)
  To: 9fans

On Mon, Mar 25, 2024 at 04:52:29PM +0100, Marco Feichtinger wrote:
> My router at home also serves as the DHCP server for the network.
> 
> I have a plan9 file server and now want to pxe boot a second machine from it.
> On the file server I have 'ip/dhcpd -sS' running, since it also serves bootp requests.
> 
> Now when i pxe boot the second machine, it loads 9boot, but when searching for the 
> /cfg/pxe/<mac address> file, it uses the ip address of my router.
> 
> Boot Message:
>         pxe on ether0 .
>         (<router ip>!69): /cfg/pxe/<mac address> .T.T.T.T.T.T.T.T.T.Ttftpread1st: failed to connect to server (<router ip>!69)
> 
> How can I pxe boot other machines, without my file server acting as dhcp server for the whole network?

don't run two dhcp servers.  turn off the one on your fileserver and
configure your router to pass next-server: <fileserver-ip> to clients
that should pxe boot from the fileserver.  it just needs to support
tftp.

khm

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T47150b930c3726bd-M18f3db81c876c8802eec3748
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] How to PXE boot with "two" DHCP servers on one network
  2024-03-25 15:52 [9fans] How to PXE boot with "two" DHCP servers on one network Marco Feichtinger
  2024-03-25 17:35 ` Kurt H Maier via 9fans
@ 2024-03-25 17:35 ` Lyndon Nerenberg (VE7TFX/VE6BBM)
  2024-03-26  7:34   ` Marco Feichtinger
  1 sibling, 1 reply; 4+ messages in thread
From: Lyndon Nerenberg (VE7TFX/VE6BBM) @ 2024-03-25 17:35 UTC (permalink / raw)
  To: 9fans

Marco Feichtinger writes:

> How can I pxe boot other machines, without my file server acting as dhcp se=
> rver for the whole network?

It might be possible, but not worth the effort. And with the blackbox
DHCP server in that router, it's likely impossible.

If your file server is up all the time, just make it the DHCP server
for the network.

--lyndon

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T47150b930c3726bd-M66e55b39ec1885bbc552f3f8
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] How to PXE boot with "two" DHCP servers on one network
  2024-03-25 17:35 ` Lyndon Nerenberg (VE7TFX/VE6BBM)
@ 2024-03-26  7:34   ` Marco Feichtinger
  0 siblings, 0 replies; 4+ messages in thread
From: Marco Feichtinger @ 2024-03-26  7:34 UTC (permalink / raw)
  To: 9fans

Thanks for the solutions.

I set the next-server ip on my router and got the second machine up and running.
Didn't saw/know that there is an own configuration mask for network booting on 
my router.

-marco


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T47150b930c3726bd-M59c48db885c9cb13a4970549
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-26  7:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-25 15:52 [9fans] How to PXE boot with "two" DHCP servers on one network Marco Feichtinger
2024-03-25 17:35 ` Kurt H Maier via 9fans
2024-03-25 17:35 ` Lyndon Nerenberg (VE7TFX/VE6BBM)
2024-03-26  7:34   ` Marco Feichtinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).