LAN Brick
Overview Data sheet Manuals Support Partners Contact

LAN Brick

How to Configure a LAN Brick™ via AS/400 BOOTP

Explains how the LAN Brick device can be configured and its firmware updated via a BOOTP Server on an AS/400 running OS/400 version 4.x.

Overview

Step 1: The LAN Brick Boot File

The file serves multiple purposes, including:

  • Defining the default IP address used when a BOOTP server cannot be contacted at power on.
  • Changing of configuration options on the LAN Brick.
  • Updating of firmware.

If you wish to dynamically load IP address to the LAN Brick each time it is powered on and do not wish to define default IP addresses or update firmware, a Boot File is not required and step 1 may be ignored.

Step 2: Define a Host Table Entry.

Define a Host Name for the LAN Brick on the AS/400.

Step 3: Define a BOOTP Table Entry.

Associate the LAN Brick's Host Name with it's IP address.

Step 4: Connect the LAN Brick.
Connect the LAN Brick and power it on, so it can get it's IP address etc.

Step 1: The LAN Brick Boot File

The LAN Brick Boot File is an ASCII text file. Use an ASCII text editor to modify the desired values. Below is a sample Boot File.

i-data7913

factorymac on

password brik

response 20

default 193.130.17.173,255.255.255.192,192.130.17.170

microcode /QIBM/ProdData/80086090

The most commonly changed values are the default IP addresses and microcode (firmware). i-data7913 is a mandatory Boot File id

The default IP address is defined in the line that start with the keyword default and are specified in the order <IP Address>, <Subnet Mask>, <Gateway Address>. The addresses specified here do not have to be valid for the network on which the unit is being configured, for example if the box is being configured for use at another site.

Refer to the Installation & Operator's Guide for information on LAN Brick Boot File syntax and use of the firmware (microcode) update facility.

Transfer File to AS/400

Once the LAN Brick Boot File has been edited, drag and drop it from the PC into the /QIBM/ProdData folder on the AS/400 (easily found via Network Neighborhood). In this example the file is called lanbrick.cfg.

 

Step 2: Define a Host Table Entry

Next you have to define a Host Table Entry for the LAN Brick.

 

  1. At an AS/400 command prompt, type:
    
    CFGTCP
    
    
    Press ENTER.

  2. On the Configure TCP/IP screen, select option 10 to display the screen Work with TCP/IP Host Table Entries shown below:



            Work with TCP/IP Host Table Entries

                                                    System:   S103DYWM

Type options, press Enter.

1=Add   2=Change   4=Remove   5=Display   7=Rename

     	                                                    

     Internet         Host

 Opt  Address          Name

  1   193.130.17.173

      127.0.0.1        LOOPBACK

                       LOCALHOST

      192.168.20.10    IDAUS

      192.168.20.75    BRICK

      192.168.20.170   s10-3DYWH

                       s10-3DYWH.appn.as400us

	                   

                          

                         

                           

                          

                            

                          

	                                                             Bottom

 F3=Exit   F5=Refresh   F6=Print list   F12=Cancel   F17=Position to            




On the screen Work with TCP/IP Host Table Entries shown above:

  1. Type "1" in the Opt field and enter an IP Address in the Internet Address. The IP address must be valid for the network to which the LAN Brick is connected for configuration. In this example the IP address is "193.130.17.173".
  2. Press ENTER to display the screen Add TCP/IP Host Table Entry (ADDTCPHTE) shown below:





             Add TCP/IP Host Table Entry (ADDTCPHTE)

                                                    

 Type choices, press Enter.                         

                                                    

 Internet address . . . . . . . . > '193.130.17.173'

 Host names:                                        

   Name . . . . . . . . . . . . .   7913BRK         







	                + for more values

	 Text 'description' . . . . . . .   i-data LAN Brick

















                                                                         Bottom 

 F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display

	 F24=More keys  


On the screen Add TCP/IP Host Table Entry (ADDTCPHTE) shown above:

  1. Enter a Host Name for the LAN Brick and the optional Text Description.
  2. Press ENTER to return to the Work with TCP/IP Host Table Entries screen.
  3. Press F12 to return to the Configure TCP/IP screen.

 

Step 3: Define a BOOTP Table Entry

Next you have to define a BOOTP Table Entry for the LAN Brick.

  1. From the Configure TCP/IP screen select option 20, Configure TCP/IP Applications and press ENTER.
  2. From the next screen select option 4, Configure BOOTP and press ENTER.
  3. Select option 2 and press ENTER to display the screen Work with BOOTP Table shown below:



    	     Work with BOOTP Table 

                                                 System:   S103DYWM

 Type options, press Enter.                                        

   1=Add   2=Change   4=Remove   5=Display                         

                                                                   

	Client                                                     

	Host                          MAC                 IP       

  Opt   Name                          Address             Address  

  1     7913BRK                                                    





	                                                               

                                                                       

                                                                       

                                                                       

                                                                       

                                                                       

                                                                       

                                                                       

                                                                       

                                                                       

	                                                               Bottom 

 F3=Exit   F6=Print list   F11=Set BOOTP Table Defaults   F12=Cancel   F17=Top

 F18=Bottom


On the screen Work with BOOTP Table shown above:

  1. Type "1" in the Opt field and enter the Host Name of the LAN Brick. The name is identical to the HOST name used in the HOST table in step 2. In this example the HOST name is "7913BRK".
  2. Press ENTER to display the screen Add BOOTP Table Entry shown below.



             Add BOOTP Table Entry

                                                  System:   S103DYWM

 Network device:                                                    

   Client host name  . . .   7913BRK                                

                                                                    

                                                                    

                                                                    

   MAC address . . . . . .   00036E006637B

   IP address  . . . . . .   193.130.17.173

   Hardware type . . . . .   1             

 Network routing:                          

   Gateway IP address  . .   193.130.17.170

   Subnet mask . . . . . .   255.255.255.0 

 Boot:                                     

   Type  . . . . . . . . .   X'63825363'   

   File name . . . . . . .   lanbrick.cfg   

                                           

   File path . . . . . . .   /QIBM/ProdData

                                           

                                           

                                           

                                           

 F3=Exit   F12=Cancel  


On the screen Add BOOTP Table Entry shown above:

  1. Enter MAC address. The MAC address (00036E...) is printed on settings printouts and on the white label on the back of the LAN Brick.
  2. Enter the dynamic IP address to be assigned to the LAN Brick. The address must be valid for your network and should not be confused with the default IP address defined in the LAN Brick Boot File in Step 1.
  3. In the Hardware type field, enter a "1" for Ethernet or "6" for Token Ring, depending upon the version of LAN Brick you have.
  4. In the Gateway IP address field, enter the IP address of any Gateway between the LAN Brick and the AS/400.
  5. Enter the Subnet mask for your network.
  6. In the Boot Type field, always enter the value X'63825363' for the LAN Brick.
  7. In the Boot File name, enter the name of the LAN Brick Boot File that was created in step 1, in this example "lanbrick.cfg".
  8. In the Boot File path field, enter the path to the LAN Brick Boot File created in step 1, in this example "QIBM/ProdData".
  9. Press ENTER to create the BOOTP Table entry.

 

Step 4: Connect the LAN Brick

The AS/400 is now ready to configure the LAN Brick. Before the LAN Brick is powered on make sure that the DHCP Server is NOT started and that the BOOTP and TFTP Servers are started. If running, the DHCP server can be ended with the ENDTCPSVR command thus:

ENDTCPSVR  SERVER(*DHCP)

The BOOTP and TFTP Servers can be started with the STRTCPSVR command thus:-

STRTCPSVR SERVER(*BOOTP *TFTP)

Please be cautious when issuing the above commands as they can affect other users on the network.

The LAN Brick can now be connected to the network and powered on. The "LOAD" LED will flash as configuration and firmware update where applicable takes place.