[OpenAFS] rxbind for server processes?

ted creedon tcreedon@easystreet.com
Thu, 05 Jan 2006 07:46:31 -0800


Use ifconfig to bind the interface (eth0) & ipaddress (a.b.c.d) to the 
MAC address( e:f:f:h:i:j:k) on the network interface card.
Eg. bind eth0   specifically to:

 HWaddr 00:12:2F:46:5F:CG   inet addr:10.1.1.193  Bcast:10.1.1.255  
Mask:255.255.255.0

tedc

Jeffrey Hutzelman wrote:
>
>
> On Wednesday, January 04, 2006 06:50:12 PM -0800 Adam Megacz 
> <megacz@cs.berkeley.edu> wrote:
>
>>
>> Is there an equivalent to afsd's "-rxbind" for the server processes?
>> I'd like to have them bind to their UDP ports only on a specific
>> interface (leaving the other interfaces available)... it seems that
>> NetInfo/NetRestrict just filter what comes across the port,
>> rather than controlling how it is bound.
>
> They don't even do that.  They only control what addresses the server 
> advertises in the VLDB.
>
>> If not, does anybody know of a hack (Linux in my case) for keeping
>> arbitrary processes from binding to certain interfaces?  It seems like
>> this sort of utility would be useful in a lot of places; I just can't
>> come up with a good search term.
>
> I can think of ways to redirect traffic coming in on a designated port 
> to different ports depending on the incoming interface.  But what 
> you're trying to do is have multiple independent processes bind to 
> (*,7000) and route the traffic based on the interface it comes in on.
>
> I know of no way to do that, and that's the least of your problems if 
> you're trying to run multiple fileservers on the same machine.
>
> -- Jeff
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>