配置PVS在Cisco DHCP
To configure a Cisco Catalyst 6509 switch to act as a DHCP server, perform the following:
Under the VLAN IP DHCP pool, enter the name of the bootstrap file located on the Provisioning Server as well as the IP address of the server.
Example:
- ip dhcp pool VLAN20
- network 10.10.1.0 255.255.255.0
- bootfile [name of bootstrap file]
- domain-name ABC.org
- dns-server 1.2.3.4 1.2.3.5
- default-router 10.10.1.1
- option 66
ip 10.10.2.100
- <— IP address of server
- lease 3
To configure a Cisco Catalyst 6509 switch to support PXE boot across subnets/VLANs, perform the following:
Under the VLAN interface, enter the IP address of the Provisioning Server.
Example:
interface Vlan22
ip address 10.10.1.1 255.255.255.0
ip access-group 100 in
ip access-group 100 out
ip helper-address 10.10.2.100 <— IP address of server