SCOUG-Programming Mailing List Archives
Return to [ 15 | 
May | 
1999 ]
<< Previous Message << 
 >> Next Message >>
 
 
 
Content Type:   text/plain 
> On Fri, 14 May 1999 20:45:47 PDT, Peter Skye wrote:  
>   
> >If I have two NICs in a machine, and I say "PING 192.68.2.1", what does  
> >TCP/IP do?  Do I have to tell it where 192.68.2.1 is?  If so, how?  
 
Rollin White wrote:  
>   
> The first step is to setup MPTS for both network cards with the TCP/IP protocol.  The process is  
> basically the same as one card, so I won't go into the details unless someone wants me to.  When  
> you add TCP/IP to the second card (actually, the second card you add TCP/IP to, not necessarily the  
> second network card), you will notice it has a 1 next to it instead of a 0.  As far as TCP/IP is  
> concerned the card with the 0 is lan0, and the card with the 1 is lan1.  
>   
> Then open the TCP/IP configuration notebook.  On the first page you'll see a list of LAN interfaces  
> (corresponding to lan0, lan1, etc).  As you select each interface (network card), you assign a distinct  
> IP address to it (If you try to assign the same IP address, bad things will happen and your world will  
> implode).  
>   
> This is conceptually the same thing that happens when you have a network card and then you  
> connect to the Internet.  Your LAN card has an IP address (static, such as 192.168.1.1), and then a  
> dynamic one assigned to the PPP0 interface that is dynamically assigned.  
 
So I've got the two NICs in my machine and they're set up as you say.   
And I then type "PING 192.168.2.1" at the command prompt.  What does  
TCP/IP do?  Does it send the PING out on both NICs to see what happens?   
Does my world implode?  Does Dave Watson enter through the back door and  
hit me with a cookie?  
 
- Peter  
 
=====================================================  
 
To unsubscribe from this list, send an email message  
to "steward@scoug.com". In the body of the message,  
put the command "unsubscribe scoug-programming".  
 
For problems, contact the list owner at  
"rollin@scoug.com".  
 
=====================================================  
 
  
<< Previous Message << 
 >> Next Message >>
Return to [ 15 | 
May | 
1999 ] 
  
  
The Southern California OS/2 User Group
 P.O. Box 26904
 Santa Ana, CA  92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group.  ALL RIGHTS 
RESERVED. 
 
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International 
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
 
 |