• Subject: RE: Configuring 2 Ethernet cards for TCP/IP
  • From: Tsopelas Anastasios <ATsopelas@xxxxxxxxxxx>
  • Date: Wed, 21 Jun 2000 10:26:23 +0300

Yes you can .
you have to define just your ethernet card just like this:
a. find the resource names for your ethernet card with wrkhdwrsc *cmn
b. decide not to use *adpt for local adapter address.Use something like the
one below
�
CRTLINETH LIND(ethlin) RSRCNAME(CMNxx) ONLINE(*YES) +������������� 
�������� VRYWAIT(*NOWAIT) MAXCTL(40) ADPTADR(020010001000) +������� 
�������� EXCHID(*sysgen) ETHSTD(*ALL) LINESPEED(100M) +����������� 
�������� DUPLEX(*HALF) +������������������������������������������� 
�������� SSAP(*sysgen) THRESHOLD(*OFF) GENTSTFRM(*YES) +������������� 
�������� LINKSPEED(100M) AUTOCRTCTL(*yes) CMNRCYLMT(10 5) +
�������� TEXT('Ethernet line')������������������������� 
�
then execute the command cfgtcp
�
from the menu select option one (1)
add tcp/ip interface(addtcpifc).Here you must have your IP options handy
an example follows:
�
�Internet address . . . . . . . . >
10.100.101.10������������������������������
�Line description . . . . . . . .�� ethlin������� Name, *LOOPBACK,
*VIRTUALIP
�Subnet mask� . . . . . . . . . .�� 255.255.255.0���������������������������

�Associated local interface . . .�� *NONE�����������������������������������

�Type of service� . . . . . . . .�� *NORMAL������ *MINDELAY, *MAXTHRPUT...��

�Maximum transmission unit� . . .�� *LIND�������� 576-16388, *LIND����������

�Autostart� . . . . . . . . . . .�� *YES��������� *YES, *NO�����������������

�PVC logical channel identifier������������������ 001-FFF�������������������

��������������� + for more values�������������������������������������������

�X.25 idle circuit timeout� . . .�� 60����������� 1-600���������������������

�X.25 maximum virtual circuits� .�� 64����������� 0-64����������������������

�X.25 DDN interface . . . . . . .�� *NO���������� *YES, *NO�����������������

�TRLAN bit sequencing . . . . . .�� *MSB��������� *MSB, *LSB����������������

�
take care that the parameters for the address, subnet mask must be
consistent with your network design.
�
repeate the above steps for your second card thus changing�the value ADPTADR
off crtlineth and Internet address off addtcpifc.
�
a default route must be defined with option 2 of the menu if you are in
a���� wan .
�
if you have an external DNS server you must define your interfaces there and
also define the DNS to your system with option 12.
�
a good practice is to define also the interfaces in your local host table
with option 10 from the menu.
�
Then of course you must start the interfaces.
�
Hope i helped a bit.
�
Regards
T.Tsopelas

-----Original Message-----
From: Oludare [mailto:oludare@ix.netcom.com]
Sent: Monday, June 19, 2000 5:40 PM
To: AS/400 Midrange Usergroup
Subject: Configuring 2 Ethernet cards for TCP/IP


Hi guys,
�
Is it possible to run TCP/IP for 2 ethernet cards, with different IP
address, on an AS/400 box.� If yes, how do you configure the resources e.g.
LINE, CONTROLLER, DEVICE and the�INTERFACE.� Do I need to end all TCP/IP
services to bring up the second ethernet card if the first is already
running.
�
�
Thanks,
�
Oludare

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact copyright@midrange.com.

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.