Re: Behavior of SO_BINDTODEVICE

From: Bernd Eckenfels
Date: Tue Nov 11 2008 - 17:04:45 EST


In article <b2e55fb3c5c6351f97b1e467ad6173a6.squirrel@xxxxxxxxxxxxxx> you wrote:
> Each interface is bound to a seperate socket and try to connect to
> different working http-servers.

Please give one specific example like this: (fill in the gaps)

"Web Server X" is bound to IP L.L.L.L on port p and bound to Device ethL. I can see this in
the following netstat -l output (attach). I then connect from a client with the ip
C.C.C.C connected to the cable on ethC to D.D.D.D:p and I get "connection
refused".

Gruss
Bernd
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html