Tftp server problem - Hardware

This is a discussion on Tftp server problem - Hardware ; hi Experts, I am facing some problem with tftp-server in Redhat linux Actually we used this tftp server for IOS image coping in to routers the problem is actually we installed tftp-server-0.40-1 package on my Redhat linux server and edited ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Tftp server problem

  1. Tftp server problem

    hi Experts,
    I am facing some problem with tftp-server in Redhat linux
    Actually we used this tftp server for IOS image coping in to routers
    the problem is
    actually we installed tftp-server-0.40-1 package on my Redhat linux
    server
    and edited /etc/xinetd.d/tftp as below

    service tftp
    {
    socket_type = dgram
    protocol = udp
    wait = yes
    user = root
    server = /usr/sbin/in.tftpd
    server_args = -u root -c -U 111 -s /tftp/
    disable = no
    per_source = 11
    cps = 100 2
    flags = IPv4
    }

    so our tftp server uses /tftp/ as default/public folder for our TFTP
    server
    and we kept our images in that /tfpt server and started the xinetd
    service
    then i loged in to router and when we started copying the image middle
    its stoping the coping

    R7348-PRE4#copy tftp: disk0:
    Address or name of remote host []? 73.48.0.1
    Source filename []? /tftp/images/test
    Destination filename [test]?
    Accessing tftp://73.48.0.1//tftp/images/test...
    Loading /tftp/images/test from 73.48.0.1 (via
    FastEthernet0/0/0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...
    [timed out]

    %Error reading tftp://73.48.0.1//tftp/images/test (Timed out)

    This is the problem we are facing
    actually i tried for different images
    the files/images which are less than 32MB is coping properly with out
    any problem
    the files/images which are more than 32MB are not able to copy and
    giving timed out error
    so i did some googling and found that some older version TFTP servers
    will not support with a file size more than 32MB

    "The original protocol has a file size limit of 32 MB,
    although this was extended when RFC 2347 introduced option
    negotiation,
    which was used in RFC 2348 to introduce block-size negotiation in
    1998
    (allowing a maximum of 4 GB and potentially higher throughput).
    If the server and client support block number wraparound, file size is
    essentially unlimited."

    but what the software we use, it will support up to 192MB
    here we got strucked

    here my question is.. Is there any file to see what is the tftp limit
    in my server
    or can any one give a solution for this one how to copy files which
    are more then 32MB?

    Thanks in advance
    Surendra

  2. Re: Tftp server problem

    On Jun 27, 2:40*pm, bulli wrote:
    > hi Experts,
    > I am facing some problem with tftp-server in Redhat linux
    > Actually we used this tftp server for IOS image coping in to routers
    > the problem is
    > actually we installed tftp-server-0.40-1 package on my Redhat linux
    > server
    > and edited /etc/xinetd.d/tftp as below
    >
    > service tftp
    > {
    > * * * * socket_type * * * * * * = dgram
    > * * * * protocol * * * * * * * *= udp
    > * * * * wait * * * * * * * * * *= yes
    > * * * * user * * * * * * * * * *= root
    > * * * * server * * * * * * * * *= /usr/sbin/in..tftpd
    > * * * * server_args * * * * * * = -u root -c -U 111 -s /tftp/
    > * * * * disable * * * * * * * * = no
    > * * * * per_source * * * * * * *= 11
    > * * * * cps * * * * * * * * * * = 100 2
    > * * * * flags * * * * * * * * * = IPv4
    >
    > }
    >
    > so our tftp server uses /tftp/ as default/public folder for our TFTP
    > server
    > and we kept our images in that /tfpt server and started the xinetd
    > service
    > then i loged in to router and when we started copying the image middle
    > its stoping the coping
    >
    > R7348-PRE4#copy tftp: disk0:
    > Address or name of remote host []? 73.48.0.1
    > Source filename []? /tftp/images/test
    > Destination filename [test]?
    > Accessing tftp://73.48.0.1//tftp/images/test...
    > Loading /tftp/images/test from 73.48.0.1 (via
    > FastEthernet0/0/0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...
    > [timed out]
    >
    > %Error reading tftp://73.48.0.1//tftp/images/test(Timed out)
    >
    > This is the problem we are facing
    > actually i tried for different images
    > the files/images which are less than 32MB is coping properly with out
    > any problem
    > the files/images which are more than 32MB are not able to copy and
    > giving timed out error
    > so i did some googling and found that some older version TFTP servers
    > will not support with a file size more than 32MB
    >
    > "The original protocol has a file size limit of 32 MB,
    > although this was extended when RFC 2347 introduced option
    > negotiation,
    > which was used in RFC 2348 to introduce block-size negotiation in
    > 1998
    > (allowing a maximum of 4 GB and potentially higher throughput).
    > If the server and client support block number wraparound, file size is
    > essentially unlimited."
    >
    > but what the software we use, it will support up to 192MB
    > here we got strucked
    >
    > here my question is.. Is there any file to see what is the tftp limit
    > in my server
    > or can any one give a solution for this one how to copy files which
    > are more then 32MB?
    >
    > Thanks in advance
    > Surendra


    Does your IP traffic go through a router ? Does your host and your
    clients situated in different subnets ? Does your network use a NAT
    translation between your host and client ?
    If so your problem may be with the router that does the NATing. I had
    a similar problem where because of the connectionless nature of the
    TFTP protocol, the NAT router droped packets thinking that they were
    unsolicited.

  3. Re: Tftp server problem

    On Jun 30, 6:21*am, Janaka wrote:
    > On Jun 27, 2:40*pm, bulli wrote:
    >
    >
    >
    > > hi Experts,
    > > I am facing some problem with tftp-server in Redhat linux
    > > Actually we used this tftp server for IOS image coping in to routers
    > > the problem is
    > > actually we installed tftp-server-0.40-1 package on my Redhat linux
    > > server
    > > and edited /etc/xinetd.d/tftp as below

    >
    > > service tftp
    > > {
    > > * * * * socket_type * * * * * * = dgram
    > > * * * * protocol * * * * * * * *= udp
    > > * * * * wait * * * * * * * * * *= yes
    > > * * * * user * * * * * * * * * *= root
    > > * * * * server * * * * * * * * *= /usr/sbin/in.tftpd
    > > * * * * server_args * * * * * * = -u root -c -U 111 -s /tftp/
    > > * * * * disable * * * * * * * * = no
    > > * * * * per_source * * * * * * *= 11
    > > * * * * cps * * * * * * * * * * = 100 2
    > > * * * * flags * * * * * * * * * = IPv4

    >
    > > }

    >
    > > so our tftp server uses /tftp/ as default/public folder for our TFTP
    > > server
    > > and we kept our images in that /tfpt server and started the xinetd
    > > service
    > > then i loged in to router and when we started copying the image middle
    > > its stoping the coping

    >
    > > R7348-PRE4#copy tftp: disk0:
    > > Address or name of remote host []? 73.48.0.1
    > > Source filename []? /tftp/images/test
    > > Destination filename [test]?
    > > Accessing tftp://73.48.0.1//tftp/images/test...
    > > Loading /tftp/images/test from 73.48.0.1 (via
    > > FastEthernet0/0/0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...
    > > [timed out]

    >
    > > %Error reading tftp://73.48.0.1//tftp/images/test(Timedout)

    >
    > > This is the problem we are facing
    > > actually i tried for different images
    > > the files/images which are less than 32MB is coping properly with out
    > > any problem
    > > the files/images which are more than 32MB are not able to copy and
    > > giving timed out error
    > > so i did some googling and found that some older version TFTP servers
    > > will not support with a file size more than 32MB

    >
    > > "The original protocol has a file size limit of 32 MB,
    > > although this was extended when RFC 2347 introduced option
    > > negotiation,
    > > which was used in RFC 2348 to introduce block-size negotiation in
    > > 1998
    > > (allowing a maximum of 4 GB and potentially higher throughput).
    > > If the server and client support block number wraparound, file size is
    > > essentially unlimited."

    >
    > > but what the software we use, it will support up to 192MB
    > > here we got strucked

    >
    > > here my question is.. Is there any file to see what is the tftp limit
    > > in my server
    > > or can any one give a solution for this one how to copy files which
    > > are more then 32MB?

    >
    > > Thanks in advance
    > > Surendra

    >
    > Does your IP traffic go through a router ? *Does your host and your
    > clients situated in different subnets ? Does your network use a NAT
    > translation between your host and client ?
    > If so your problem may be with the router that does the NATing. *I had
    > a similar problem where because of the connectionless nature of the
    > TFTP protocol, the NAT router droped packets thinking that they were
    > unsolicited.


    the tftp server and router are connected dirctely by using fast
    ethernet port so there will be no nating etc
    its a direct connection

+ Reply to Thread