Re: Linux routing fun

2007-10-09 Thread Thomas Charron
On 10/9/07, Ben Scott <[EMAIL PROTECTED]> wrote: > On 10/9/07, Thomas Charron <[EMAIL PROTECTED]> wrote: > > +apr_socket_bind(*newsock, conf->bind_addr) != APR_SUCCESS) > > { > Right, I did RTFS. But it looks like that is done in the context of > a "worker". For example: > > +

Re: Linux routing fun

2007-10-09 Thread Ben Scott
On 10/9/07, Thomas Charron <[EMAIL PROTECTED]> wrote: > +apr_socket_bind(*newsock, conf->bind_addr) != APR_SUCCESS) { Right, I did RTFS. But it looks like that is done in the context of a "worker". For example: +if (worker->bind_addr != NULL && +apr_soc

Re: Linux routing fun

2007-10-09 Thread Thomas Charron
On 10/9/07, Ben Scott <[EMAIL PROTECTED]> wrote: > On 10/9/07, Brian <[EMAIL PROTECTED]> wrote: > > However, all the outbound connections seem to originate from the > > lowest numbered IP on the /28 subnet. > Right. Unless a program takes explicit action to bind its socket to > a particular IP a

Re: Linux routing fun

2007-10-09 Thread Ben Scott
On 10/9/07, Brian <[EMAIL PROTECTED]> wrote: > However, all the outbound connections seem to originate from the > lowest numbered IP on the /28 subnet. Right. Unless a program takes explicit action to bind its socket to a particular IP address, the kernel router will choose the source IP addres

Re: Linux routing fun

2007-10-09 Thread Thomas Charron
On 10/9/07, Brian <[EMAIL PROTECTED]> wrote: > I am trying to setup an apache proxy server on about 100 IP's, where > any one of those IP's can accept an http proxy connection from a > remote user. > I got a simple apache proxy setup, and it can accept connections on > one of several IP's (I've set

Linux routing fun

2007-10-09 Thread Brian
I have a linux box, with a publicly routable class C subnet. I also have a /28 subnet on the same box in a different address space. I am trying to setup an apache proxy server on about 100 IP's, where any one of those IP's can accept an http proxy connection from a remote user. I got a simpl