Opened 16 years ago
Closed 5 years ago
#2759 closed enhancement (obsolete)
VirtualBox Should permit to specify nextserver/filename in DHCP => Fixed in SVN
Reported by: | Luiz Angelo Daros de Luca | Owned by: | |
---|---|---|---|
Component: | network/NAT | Version: | VirtualBox 2.1.0 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
I know that using vmname.pxe is simple but I can't use my enterprise boot server (tftp) with NAT computer. If I could define those two fields in DHCP response, I could point them easily to the remote boot server.
Attachments (3)
Change History (16)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Component: | network → network/NAT |
---|
by , 16 years ago
Attachment: | bootp_permitExternalTftp.diff added |
---|
Modification of TFTPPrefix to allow external ip address
comment:4 by , 16 years ago
I added a patch that changes the behavior of
VBoxInternal/Devices/pcnet/0/LUN#0/Config/TFTPPrefix
If it is a dir, it is used as before. If not, if it is an IP address, it replaces the "nextserver" field (siaddr) in DHCP response to point to an external server.
comment:6 by , 16 years ago
Summary: | VirtualBox Should permit to specify nextserver/filename in DHCP → VirtualBox Should permit to specify nextserver/filename in DHCP => Fixed in SVN |
---|
comment:7 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:8 by , 15 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Is this functionality still present in current releases? I can get PXE boot to work in NAT mode (using a TFTP/<vmname>.pxe file at the right location), I can change this BootFile filename by configuring "VBoxInternal/Devices/pcnet/0/LUN#0/Config/BootFile", but pointing at an external "next-server" using the above method with TFTPPrefix does not work.
Am I looking in the wrong places? I'm using 3.1.4 r57640.
comment:9 by , 15 years ago
I don't think so. I guess this feature is broken, or at least the documentation about it. It seems that they changed the network structure but do not updated docs.
comment:10 by , 15 years ago
I tried today with 3.1.4. It seems that the config is correct:
00:00:00.701 Devices/pcnet/0/LUN (level 4) 00:00:00.704 Driver <string> = "NAT" (cb=4) 00:00:00.704 00:00:00.704 Devices/pcnet/0/LUN (level 5) 00:00:00.704 BootFile <string> = "/pxelinux.0" (cb=12) 00:00:00.704 NextServer <string> = "150.162.64.204" (cb=15) 00:00:00.704 TFTPPrefix <string> = "/home/luizd/.VirtualBox/TFTP" (cb=29)
But PXE client claims that it got no boot filename and, this way,no TFTP package comes out of my host network interface.
comment:12 by , 15 years ago
I notice we use different settings. I thought the NextServer var only configures the IP of the integrated TFTP server, and wasn't meant to point at an external one? At least that's what I conclude if I read "2009-01-23 16:23:25 changed by luizluca" above.
I totally love VirtualBox, having this work would make it that much cooler :-)
comment:13 by , 5 years ago
Resolution: | → obsolete |
---|---|
Status: | reopened → closed |
Have a look at the VBox.log file. You will find a configuration entry which is named BootFile. Use the following command to overwrite the bootfile:
Note that you have to change the key if you use an E1000 network adapter.