SCOUG-Programming Mailing List Archives
Return to [ 14 |
May |
1999 ]
<< Previous 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?
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.
=====================================================
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 <<
Return to [ 14 |
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.
|