[c-nsp] cisco pxe boot support

Michael Sprouffske msprouffske at yahoo.com
Fri Mar 1 15:46:08 EST 2013


I got this working by configuring another subnet on my router and setting my pxe server off that.  I then turned on dhcp on the server to listen on the scopes that my cisco router uses.  I configure the next-server and the bootfile on the cisco so the client goes to the pxe server after getting an ip address.




________________________________
 From: Randy <randy_94108 at yahoo.com>
To: Michael Sprouffske <msprouffske at yahoo.com>; "cisco-nsp at puck.nether.net" <cisco-nsp at puck.nether.net> 
Sent: Thursday, February 28, 2013 4:12 PM
Subject: Re: [c-nsp] cisco pxe boot support
 


--- On Thu, 2/28/13, Michael Sprouffske <msprouffske at yahoo.com> wrote:

> From: Michael Sprouffske <msprouffske at yahoo.com>
> Subject: Re: [c-nsp] cisco pxe boot support
> To: "Michael Sprouffske" <msprouffske at yahoo.com>, "cisco-nsp at puck.nether.net" <cisco-nsp at puck.nether.net>
> Date: Thursday, February 28, 2013, 3:28 PM
> Also, the pxe is on the same subnet
> as the router.  I don't use helper address's.
_______________________________
> From: Michael Sprouffske <msprouffske at yahoo.com>
> To: "cisco-nsp at puck.nether.net"
> <cisco-nsp at puck.nether.net>
> 
> Sent: Thursday, February 28, 2013 3:04 PM
> Subject: [c-nsp] cisco pxe boot support
>  
> I'm trying to have my cisco router set the next-server
> address and the bootfile name.  I see the cisco dhcp server
> sending that info correctly to the computer but the machine
> never takes the offer.  If just fails trying to load from
> pxe.  If I take the pxe server and attach that to the
> machine via a switch and setup dhcp on the pxe server, the
> machine picks it up just fine.  I checked the pxe server
> and all it does is sets the next-server and the bootfile
> name.  Am I missing something on my cisco 2900 that is
> prohibiting me from doing this?


Well, for one thing, your pxe-boot server has to have DHCP enabled(and scopes set up correctly) so it can respond appropriaterly when a DHCP/bootp request comes in from client(your cisco) (udp 68 to udp 67): broadcast on same-segment.

ip-helper-addr on relevant int. is *relevant* only when you need to sent 'em unicast.
( for unicast, service-dhcp has to be enabled on router for relay-agent functionality to work)

hth,
./Randy


More information about the cisco-nsp mailing list