Back Table of ContentsMainIndex Next
LoginGeneralMapsAccessVolumes



Configuring Micro Webserver for TCP/IP

TCP/IP devices require that all IP addresses be unique. This section covers a variety of procedures for setting the IP address of Micro Webserver. It is usually not necessary to set a default gateway or net mask (even if you have gateways on your network), because Micro Webserver will use ARP (Address Resolution Protocol) information to accomplish routing when no default gateway is set. However, if you need to set these parameters, see the chapter "Configuring Micro Webserver".

Determining the Ethernet Address for Your Micro Webserver

Determine the Ethernet address of your Micro Webserver by reading it from the product label on the bottom of the Micro Webserver. The format of the Ethernet address is similar to 00:A0:53:hh:hh:hh.

Determining the Micro Webserver Host Name

For the following examples, webserver1 will be used as a sample host name. You can set the name to whatever is agreed upon between you and the network administrator.

Assigning an IP Address to Your Micro Webserver

You should assign a unique IP address for Micro Webserver. For this document, the address is represented by: ddd.ddd.ddd.ddd. If you are not sure of the available IP addresses, contact your network administrator.

Although the IP address is a single (4-part) number, it is internally divided into a network part and a host part. The Micro Webserver's Internet address must match the network part of other hosts on the network and its host part must be unique among these hosts. Typically, this means that the first 3 parts of the IP address match all other hosts on the local Ethernet and the 4th part is unique.

There are several ways to accomplish IP address assignment; choose the one that is easiest for you to use.

Using BOOTP to Set the IP Address

Using Windows Explorer or File Manager, run the BOOTP program as described in the section, "Installing Micro Webserver Using the BOOTP Utility".

Alternately, you can use your own BOOTP server. Follow the instructions for your particular BOOTP server. A typical example is:

BSD BOOTP Daemon

webserver1:ht=Ethernet:ha=00a053hhhhhh:

ip=ddd.ddd.ddd.ddd:

where: 00a053hhhhhh is the Ethernet address and ddd.ddd.ddd.ddd is the IP address.

Using the Serial Console to Set the IP Address

If you wish to configure Micro Webserver using a serial console or terminal emulation program:

  1. Connect the serial port on the 9-pin "D" connector on the rear panel of the Micro Webserver to a serial port on your workstation or terminal using a null modem serial cable.

Note If you are using a workstation, run your terminal emulation program, such as Windows Terminal, set the communications parameters to 9600 baud, no parity, 8 bits, 1 stop bit (9600,N,8,1) with no flow control.

The following table summarizes the pinout of the null modem cable.

Table 2-1 Null Modem Serial Cable Specifications

Micro Webserver

DB9 Female

Cable Connections PC Com1/Laptop
DB9 Female
PC Com2/UNIX
DB25 Female
1DCD N/C 1 DCD 8
2 RX <---------------------> 3 TX 3
3 TX <---------------------> 2RX 2
4 DTR N/C 4 DTR 20
5 GND <---------------------> 5 GND 7
6 DSR N/C 6 DSR 6
7 RTS <---------------------> 8 CTS 5
8 CTS <---------------------> 7 RTS 4
9 RING N/C 9 RING 22

  1. Log in to your Micro Webserver as root. By default, no password is necessary.
  2. Set the IP address. At the command prompt enter: config nvram internet-address ddd.ddd.ddd.ddd
  3. where ddd.ddd.ddd.ddd is the IP address.

  4. Write the IP address to memory. At the command prompt enter: config nvram write
  5. Reboot the Micro Webserver. At the command prompt enter: reboot <Y>

Using RARP to Set the IP Address

If your network has a RARP server in continuous operation, the IP address can be automatically assigned the first time Micro Webserver boots. To use this approach, insert an entry for Micro Webserver in both your Host and Ethernet tables.

  1. Add Micro Webserver's IP address and host name to the /etc/hosts file: ddd.ddd.ddd.ddd webserver1
  2. where ddd.ddd.ddd.ddd is the IP address of the Micro Webserver and webserver1 is the host name.

  3. Add Micro Webserver's host name and Ethernet address to the /etc/ethers file: webserver1 ddd.ddd.ddd.ddd
  4. where hh:hh:hh:hh:hh:hh is the Ethernet address from the bottom of the Micro Webserver.

  5. Power up Micro Webserver on your network. Micro Webserver automatically initializes itself.

Using a Gleaning Process to Set the IP Address

From a UNIX host, proceed as follows:

  1. Add your Micro Webserver to the /etc/hosts file: webserver1 ddd.ddd.ddd.ddd
  2. where ddd.ddd.ddd.ddd is the IP address of the Micro Webserver.

  3. Use the arp -s command to set a static arp entry: arp -s webserver1 hh:hh:hh:hh:hh:hh
  4. where hh:hh:hh:hh:hh:hh is the Ethernet address from the bottom of the Micro Webserver.

  5. Telnet to your Micro Webserver using port 2000. Username default is root. No password is necessary: telnet webserver1 2000
  6. The IP address is now set in RAM.

  7. At the login prompt, log in as root.
  8. At the command prompt enter: config nvram internet-address ddd.ddd.ddd.ddd
  9. where ddd.ddd.ddd.ddd is the IP address.

  10. At the command prompt enter: config nvram write
  11. At the command prompt enter: reboot <Y>
  12. You are ready to use Micro Webserver. Refer to the chapter, "Configuring Micro Webserver" to complete the configuration process if you are not adding additional SCSI devices such as CD-ROMS or external drives.



Back Table of ContentsMainIndex Next
LoginGeneralMapsAccessVolumes


Copyright © 1996, Cisco Systems . All rights reserved.