VirtualBox

source: vbox/trunk/src/VBox/NetworkServices/DHCP/README.customoptions@ 75251

Last change on this file since 75251 was 54564, checked in by vboxsync, 10 years ago

style

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 667 bytes
Line 
1To configure custom DHCP options for a VM use the following command adapted
2to your needs:
3
4$ VBoxManage dhcpserver modify \
5 --netname test-0 --options --vm "Test Client" --slot 0 \
6 --id 0 --value "224=c0:a8:02:01:c0:a8:02:02" \
7 --id 0 --value "225=0:0"
8
9Note that custom DHCP options must be specified with ID 0 and the actual
10number in the value. This has technical reasons which may change in future
11VirtualBox releases.
12
13
14It corresponds to the following bit of ISC 'dhcpd.conf':
15
16option sample1 code 224 = array of ip-address;
17option sample2 code 225 = array of integer 8;
18
19...
20 option sample1 192.168.2.1,192.168.2.2;
21 option sample2 0,0;
22...
23
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette