|
AS/400 TCP/IP Configuration | |
This small guide may help in configuring your AS/400 TCP/IP.
|
Contents
-
-
-
-
|
|
| |
|
):
Add TCP/IP Interface (ADDTCPIFC) |
Type choices, press Enter.
Internet address . . . . . . . . |
> |
192.168.0.2 |
Line description . . . . . . . . |
ethline |
Name, *LOOPBACK... |
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 | | | | Figure 4 - Add TCP/IP Interface
As an alternative, you may define the IP address of your AS/400 by entering the following command addtcpifc intnetadr('192.168.0.2') lind(ethline) subnetmask('255.255.255.0')
To start this TCP/IP interface, select it with 9=Start from the screen in Figure 3, or just enter command strtcpifc intnetadr('192.168.0.2')
You should now add a Default Gateway (or route) to your AS/400 configuration. This would allow the AS/400 to route to your Internet service provider the conversations which cannot be handled on the local network.
- From the menu in select option 2. Work with TCP/IP routes: ):
|
3. Defining names and tables
- You are now going to define the AS/400 host name, its domain name, and its DNS server addresses.
From the menu in select option 12. Change TCP/IP domain information (or prompt command chgtcpdmn); please substitute our sample values with your; see your .
Change TCP/IP Domain (CHGTCPDMN) |
Type choices, press Enter.
Host name. . . . . . . . . . . . |
'myas400' |
Domain name. . . . . . . . . . . |
'mydomain.it' |
Host name search priority. . . . |
*LOCAL |
*REMOTE, *LOCAL, *SAME |
Domain name server: |
Internet address . . . . . . . |
'194.20.8.1' |
|
'194.20.8.4' |
| | | | Figure 8 - Change TCP/IP Domain
Please note that the host name is up to you; it may be different from the one you display with command dspneta.
- Now you have to update the host table with the host name of your AS/400.
- From the menu in select option 10. Work with TCP/IP host table entries (or use command addtcphte, see ):
|
, then select option 1. Change HTTP attributes (or just prompt command chghttpa): , then select option 3. Change SMTP attributes (or just prompt command chgsmtpa): (or just prompt command chgpopa): . |
|
阅读(1610) | 评论(0) | 转发(0) |