Re: 2.2.16 bootp timeout problem (patch)

From: Fred Reimer (fwr@ga.prestige.net)
Date: Sat Jul 29 2000 - 07:51:32 EST


I'd wager that you have spanning tree portfast turned on the 3500 port. This
also causes problems with the Windows Novell IPX client, to the point where no
traffic is seen by the client so it doesn't bind IPX to the stack. Although
the "fix" for Linux is appreciated, I think it has more to do with the Cisco
gear than Linux...

HTH,

Fred Reimer
Eclipsys Corporation

On Sat, 29 Jul 2000, Lars Magne Ingebrigtsen wrote:
> The Cisco Catalyst 3500 switch has what seems like a training period
> of about ten seconds. Therefore, the default 3*2 second waiting
> period between card resets is too small to allow a Linux bootp client
> to boot through one of these switches.
>
> The following micro-patch just increases the CONF_SEND_RETRIES (which
> says how many bootp packets to send out between reopening the device(s))
> from 3 to 10, which fixes the problem.
>
>
> --- ipconfig.c~ Wed Jun 7 23:26:44 2000
> +++ ipconfig.c Sat Jul 29 12:53:18 2000
> @@ -75,7 +75,7 @@
>
> /* Define the timeout for waiting for a DHCP/BOOTP/RARP reply */
> #define CONF_OPEN_RETRIES 3 /* (Re)open devices three times */
> -#define CONF_SEND_RETRIES 3 /* Send requests three times */
> +#define CONF_SEND_RETRIES 10 /* Send requests ten times */
> #define CONF_BASE_TIMEOUT (HZ*2) /* Initial timeout: 2 seconds */
> #define CONF_TIMEOUT_RANDOM (HZ) /* Maximum amount of randomization */
> #define CONF_TIMEOUT_MULT *7/4 /* Rate of timeout growth */
>
>
> --
> (domestic pets only, the antidote for overdose, milk.)
> larsi@gnus.org * Lars Magne Ingebrigtsen
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:30 EST