Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1151526
  • 博文数量: 56
  • 博客积分: 1682
  • 博客等级: 上尉
  • 技术积分: 719
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-21 17:29
文章分类
文章存档

2013年(1)

2012年(11)

2011年(44)

分类: IT业界

2011-07-06 09:40:39

    AS/400 TCP/IP Configuration
This small guide may help in configuring your AS/400 TCP/IP.

Contents
  just another service by Giovanni B. Perotti, IBM Italy

):
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

    1. 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.

    2. 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): .



    阅读(1565) | 评论(0) | 转发(0) |
    给主人留下些什么吧!~~