Solved

Setup TFTP option on Cisco DHCP service

Posted on 2011-03-09
6
1,496 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
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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now