[openib-general] Re: [PATCH] [ADDR] return gateway GID for non-local IP addresses

Hal Rosenstock halr at voltaire.com
Thu Oct 13 04:54:04 PDT 2005


On Wed, 2005-10-12 at 19:39, Sean Hefty wrote:
> The following patch returns the GID of the IP gateway for non-local
> subnet IP addresses.
> 
> Hal, does this change look correct to you?  I don't have an easy way
> to test this fully.

Yes, this looks right. 

I think the address resolution part can be tested without a real gateway
for the connection by just adding a route off the IPoIB subnet to some
other endnode and trying to connect to something on that remote
destination subnet. You should at least see the ARP complete for that
next hop and the connect (perhaps) fail depending on the discrimination
in the passive side on the IP address passed in the private data.

-- Hal




More information about the general mailing list