Re: boot from tftp

From: Dan Pontrelli (dp595@xxxxxxxxxxxxx)
Date: Fri Aug 03 2001 - 01:12:04 GMT-3


   
If the TFTP server is not on the local segment you can set an ip
helper-address on the next-hop router in order to have it convert the TFTP
UDP broadcast to the unicast address of the TFTP server.
For example, you might have a setup similar to the following:

R1(tftpclient)e0-10.0.0.1--------------10.0.0.2-e0-R2-e1-192.168.0.1--------
-------TFTP_SERVER-192.168.0.2

R1 has "boot system tftp 'imagename' 255.255.255.255

R2 has "ip helper-address 192.168.0.2" on interface e0.

R1 reboots and puts out udp broadcasts on port 69, hoping to find the TFTP
server on the local segment since it is not able to perform any routing
functionality at this time.
R2 hears these broadcasts on its e0 interface and converts the destination
address from 255.255.255.255 to 192.168.0.2 and sends the packets to the
destination (192.168.0.2).

Dan Pontrelli

> Try 'boot system tftp (image name) (ip address). Is the TFTP server on a
> local segment to the router? Otherwise, you'll need a default gateway
> statement, I believe. You can't rely on a routing protocol or a default
> route to download an image. Someone correct me if I'm wrong, but I think
> that's how it works.
>
> Chuck
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
> Fred
> Sent: Thursday, August 02, 2001 5:08 PM
> To: Brent D. Stewart; ccielab@groupstudy.com
> Subject: Re: boot from tftp
>
>
> I'm trying to pull the system image, not configure file. The reason for
me
> download the image from tftp server is because my 2600 routers only have 8
> meg of flash on them. Rommon mode will not do me any good cause I am not
> download the image to the flash. When I boot up the router, it try to
> access the tftp server, and I have noticed that the ethernet interface is
> not up because I can't ping from the tftp server. After it failed, then
it
> just boot up the original image which sitting on the flash memory.
>
> ----- Original Message -----
> From: "Brent D. Stewart" <brent@stewart.hickory.nc.us>
> To: <ccielab@groupstudy.com>
> Sent: Thursday, August 02, 2001 3:45 PM
> Subject: RE: boot from tftp
>
>
> > Sorry, but I have to ask:
> > 1) Can you ping 10.1.1.1 from the router?
> > 2) Does the file exist in the right directory?
> >
> > If you already have a config then you don't have to worry about the
> > interface assigning itself an address. Check to make sure that your
> config
> > register isn't set wrong - should probably be 0x2102, if it is (for
> > instance) 0x101 then that would explain why it comes up in boot (is
> > it?-wasn't sure from your message).
> >
> > I can't think of any reason that, in this regard, a 2600 would differ
from
> > any other IOS router.
> >
> >
> > -----Original Message-----
> > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
> > Fred
> > Sent: Thursday, August 02, 2001 3:06 PM
> > To:
> > Subject: boot from tftp
> >
> >
> > Anyone experience booting IOS from tftp server for 2600 routers? I put
in
> > "boot system IOS.bin 10.1.1.1" and then reboot, after it loads up
> bootstrap
> > then it can't find the image and boot up using what ever image that is
> > already
> > on the flash. It seen to me that the ethernet interface has never comes
> up
> > after the bootstrap loaded up. Any idea?
> > **Please read:http://www.groupstudy.com/list/posting.html
> > **Please read:http://www.groupstudy.com/list/posting.html
> **Please read:http://www.groupstudy.com/list/posting.html
> **Please read:http://www.groupstudy.com/list/posting.html
**Please read:http://www.groupstudy.com/list/posting.html



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:31:44 GMT-3