Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Setup TFTP option on Cisco DHCP service

Posted on 2011-03-09
6
Medium Priority
?
1,568 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 668 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 34

Assisted Solution

by:Istvan Kalmar
Istvan Kalmar earned 664 total points
ID: 35091607
0
 
LVL 17

Assisted Solution

by:vivigatt
vivigatt earned 668 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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
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…

715 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