On Fri, 04 Feb 2000, you wrote:
> Hi All,,
>
> I was wondering if I could do the following with linux and if
> their was someone doing this currently.
>
> I want to setup a linux box that has 3 network cards in it...one of
> the network cards would be assigned a private ip address and the other
> two network cards would be assigned a dynamic public ip address by my
> upstream adsl provider. What I want to do is load balance between the
> two adsl links..is this possible? By Load balancing I want to be able
> download items from the internet from a workstation in my private
> network using these two "load balanced" adsl lines.
You need to try out equal cost multipath. With it and the IP advanced router
you can have two default routes and load balance per TCP connection. You need
to couple it with IP MASQ though for it to work correctly.
>
> Thanks,
> Brent Clements
> Im Online, Inc.
>
>
> ----- Original Message -----
> From: Sandeep Gupta <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, February 03, 2000 2:23 AM
> Subject: Problem with Sockets
>
>
> >
> > Hi all,
> >
> > I am working on linux 2.2.5
> > I cannot understand code for the following --
> >
> > How connection establishment takes place --
> > Precisely :
> > 1) How a socket that is in TCP_LISTEN state,
> > handles any incoming requests..
> >
> > What I could I figure out -
> > For any incoming packet
> >
> > tcp_v4_rcv is called and then it calls
> > tcp_v4_do_rcv which if socket is in TCP_LISTEN state calls
> > tcp_v4_hnd_req which confusing me -- why ..cuz it
> > finds possible connection requests by
> calling
> > tcp_v4_search_req
> >
> > My confusion : Are not the received skb and sk ( received as
> > parameters) already constitute a request? So why do we search for
> more?
> >
> > 2) How sockets which listen on standard ports, deal with incoming
> > connection requests. Precisely what if at all do the new
> sockets
> > (which are created as a result of accept)
> > share with this socket listening on standard port?
> >
> > What function call sequence is associated with all this?
> >
> > 3) There is a hashtable
> >
> > This is for all sockets, to keep track of the local port
> allocations.
> > #define TCP_BHTABLE_SIZE 512
> >
> > Can anybody tell me what are these local port allocations?
> >
> > Can anybody help me out?
> >
> > bye
> > Sandeep
> >
> >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-net"
> in
> > the body of a message to [EMAIL PROTECTED]
> >
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]