[openib-general] Interface for getting RNIC's IP address

Steve Wise swise at opengridcomputing.com
Mon Jun 26 12:19:26 PDT 2006


On Mon, 2006-06-26 at 14:22 -0400, Sundeep Narravula wrote:
>  Is there any s/w interface to obtain the local RNIC's IP address?
> 
> The current rdma cm examples, rping and cmatose, require the user to enter
> the ip address as a command line parameter. I am currently looking for a
> way to get this programatically.
> 

You can use 0.0.0.0 which will allow you to listen across all rdma
devices.  Otherwise, you have to "know" which ip address is bound to the
device you wish to listen on.



> Thanks,
>   --Sundeep.
> 
> 
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general





More information about the general mailing list