Solved

Setup TFTP option on Cisco DHCP service

Posted on 2011-03-09
6
1,526 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

New Server 172.16.200.2  was moved from behind Router R2 f0/1 to behind router R1 int f/01 and has now address 172.16.100.2. But we want users still to be able to connected to it by old IP. How to do it ? We can used destination NAT (DNAT).  In DNAT…
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
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…

821 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