10-15-2015 09:36 AM - edited 03-08-2019 02:14 AM
I have a Cisco 2960 switch with 2 VLANs configured, Vlan 10 has the server which holds the images and VLAN 15 is where we build the machines. DHCP is on a CIsco ASA5510. Once the machine has Windows on it DHCP works but PXE will not get an IP address.
Anyone else have this issue?
10-15-2015 12:02 PM
Do you have PXE option(s) configured in your DHCP server?
This post should help you figure it out:
https://supportforums.cisco.com/discussion/10434381/cisco-ios-dhcp-and-pxe-boot
10-15-2015 01:14 PM
Zach,
Thanks for the suggestion but no joy. If I have the machine on VLAN 10 there is no issue getting the PXE to get an IP address. I still cannot get PXE to get an IP from the VLAN 15. Below are the DHCP and Interface configs:
interface Ethernet0/1.10
description VLAN 10 - CORP
vlan 10
nameif VLAN10
security-level 50
ip address 192.168.1.1 255.255.255.0
!
interface Ethernet0/1.15
description VLAN 15 - LAB
vlan 15
nameif VLAN15
security-level 50
ip address 10.190.50.1 255.255.255.0
dhcpd address 192.168.1.140-192.168.1.250 VLAN10
dhcpd dns 192.168.1.6 192.168.2.20 interface VLAN10
dhcpd lease 86600 interface VLAN10
dhcpd option 160 ascii tftp://192.168.1.80 interface VLAN10
dhcpd enable VLAN10
!
dhcpd address 10.190.50.100-10.190.50.200 VLAN15
dhcpd dns 192.168.1.6 interface VLAN15
dhcpd lease 86600 interface VLAN15
dhcpd option 60 ip 192.168.1.6 interface VLAN15
dhcpd option 66 ip 192.168.1.6 interface VLAN15
dhcpd enable VLAN15
The Sever that has the Images is 192.168.1.6 and if we boot into Windows I get a VLAN 15 DHCP address and can access the Server 192.168.1.6.
10-15-2015 01:56 PM
So in the VLAN15 config, you have dhcpd option 60 ip 192.168.1.6 interface VLAN15. Since that's on a different VLAN the broadcasts for DHCP Discover won't reach it by default.
On your VLAN 15 interface try enabling ip helper-address <ip of the DHCP source>.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide