Re: question: source address on interface w/ aliases?

2004-02-12 Thread Naveen Kumar
--- Brian Reichert <[EMAIL PROTECTED]> wrote: > I've had an expectation violated recently, and > wanted to research > whether my expectation was grounded in reality: > > Given an interface with a primary IP, and one or > more aliased IP > addresses: > > When a process opens a connection to

Re: Binding sockets to devices in FreeBSD

2004-02-19 Thread Naveen Kumar
Well it doesn't look like it would work for IPV4. If you look at the following code there is no place to specify the interface index at packet level in send as in IPV6. If the broadcast addresses on the different interfaces were different then there is no problem the sendto would work but if broad