LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-30-2005, 07:14 AM   #1
dcfnef
LQ Newbie
 
Registered: Mar 2004
Posts: 25

Rep: Reputation: 15
Socket question


I am trying to open a socket across an Infiniband over IP link. The trouble is I have an ethernet link and the infiniband link on the same box and the socket defaults to the ethernet link. Is there a way I can direct the socket across the infiniband link? or for that matter just specifying which link the socket should be opened onto. Do I need 2 IP addresses? Right now I'm running with one.

Thanks,
dc
 
Old 08-31-2005, 05:02 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
If your infiniband link lacks an IP address, then you cannot run IP sockets over it. Otherwise, just bind to that IP address.
 
Old 08-31-2005, 07:59 PM   #3
dcfnef
LQ Newbie
 
Registered: Mar 2004
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks David. That would be correct. I added an ip address for each port and it is working correctly.

cheers,
dc
 
Old 08-31-2005, 08:03 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
I'm glad you got it working!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
socket Question Whiteghost Linux - Newbie 2 08-13-2005 05:24 PM
Socket programming question brianvdc Programming 2 12-30-2004 01:36 PM
Socket Programming Question? sharma_deepak83 Programming 1 06-29-2004 10:36 AM
Socket Question Agent007 Programming 4 01-06-2004 09:16 PM
a question about socket dowin Programming 1 11-12-2001 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration