Solved

Setup TFTP option on Cisco DHCP service

Posted on 2011-03-09
6
1,554 Views
Last Modified: 2012-05-11
How to add the TFTP option on Cisco DHCP service ?

ip dhcp excluded-address 192.168.1.0 192.168.1.99
!
ip dhcp pool UPC-dhcp
   network 192.168.1.0 255.255.255.0
   dns-server 192.168.150.32 192.168.150.37
   default-router 192.168.1.2

Thanks
0
Comment
Question by:AXISHK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 

Author Comment

by:AXISHK
ID: 35090192
To clarify further, when my network client recieve the DHCP information from Cisco router, they will also get the TFTP information pointing to another server in our netowrk.  Can we configure this ?

Thanks
0
 
LVL 6

Accepted Solution

by:
vikrantambhore earned 167 total points
ID: 35090466
Hi AXISHK,

Yes you can configure TFTP address  in DHCP Configuration, try  below configuration:
XX.XX.XX.XX is your TFTP Server IP Address
!
ip dhcp excluded-address 192.168.1.0 192.168.1.99
!
ip dhcp pool UPC-dhcp
   network 192.168.1.0 255.255.255.0
   dns-server 192.168.150.32 192.168.150.37
   default-router 192.168.1.2
   option 150 ip  XX.XX.XX.XX


HTH
Vikrant
0
 
LVL 34

Expert Comment

by:Istvan Kalmar
ID: 35091587
In same cases you need to use standard tftp option:

ip dhcp excluded-address 192.168.1.0 192.168.1.99
!
ip dhcp pool UPC-dhcp
   network 192.168.1.0 255.255.255.0
   dns-server 192.168.150.32 192.168.150.37
   default-router 192.168.1.2
   option 66 ip  XX.XX.XX.XX
0
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 
LVL 34

Assisted Solution

by:Istvan Kalmar
Istvan Kalmar earned 166 total points
ID: 35091607
0
 
LVL 16

Assisted Solution

by:vivigatt
vivigatt earned 167 total points
ID: 35107528
Actually, you can use "next server" option (aka TFTP server option) instead of option 66 (which is a "recent" extension of the bootp/dhcp protocol and if used alone moght not work as expected):

http://www.cisco.com/en/US/docs/ios/12_1/iproute/command/reference/1rddhcp.html#wp1018588

In that case, the configuration becomes

ip dhcp excluded-address 192.168.1.0 192.168.1.99
!
ip dhcp pool UPC-dhcp
   network 192.168.1.0 255.255.255.0
   dns-server 192.168.150.32 192.168.150.37
   default-router 192.168.1.2
   next-server XX.XX.XX.XX

But a TFTP option might not be enough without a "boot file name option" (option 67, but already taken into account by Cisco):

http://www.cisco.com/en/US/docs/ios/12_1/iproute/command/reference/1rddhcp.html#wp1017389

Then, it becomes:

ip dhcp excluded-address 192.168.1.0 192.168.1.99
!
ip dhcp pool UPC-dhcp
   network 192.168.1.0 255.255.255.0
   dns-server 192.168.150.32 192.168.150.37
   default-router 192.168.1.2
   next-server XX.XX.XX.XX
   bootfile pxelinux.0


Now this is not very flexible : you can't configure what client gets which tftp-server/bootfile name.
If your clients are PXE clients, there are "PXE services" that are very useful. If you want some, details, just ask!

Hope this helps
0
 

Author Closing Comment

by:AXISHK
ID: 35134271
tks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question