VirtualBox

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

最後變更 在這個檔案從63212是 54564,由 vboxsync 提交於 10 年 前

style

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 667 位元組
 
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
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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