Assigning the IP Address
There are eight different methods for assigning an IP address to the OkiLAN 6200e: Gleaning, Static Route Entry, DHCP, RARP, BOOTP and using the OkiNet or OkiNet for VINES utilities. Gleaning, Static Route Entry and RARP require the OkiLAN 6200e and the host to be on the same subnet. DHCP and BOOTP also have this restriction unless the network routers are configured to pass these requests. The OkiNet and OkiNet for VINES utilities (may apply to other OkiLAN print server models) do not have this restriction.
If an IP address has not been permanently assigned when the OkiLAN 6200e is powered on or reset, it will look for a ping packet on the network. If the OkiLAN 6200e receives a ping packet within two minutes, it will accept the IP address in the ping packet as its own address.
To use Gleaning, you must have Windows 95/98/Me, Windows NT/2000, or super-user privileges on a UNIX system.
Add an entry in the ARP table that assigns an IP address to the hardware address of the OkiLAN 6200e. To do this, use the arp command. arp -s <ip_address><hardware_address> temp UNIX Example: arp -s 192.168.42.24 00:02:16:00:00:01 temp Windows 95/98/Me, Windows NT/2000 Example: arp -s 192.168.42.24 00-02-16-00-00-01
Start a continuous ping to the OkiLAN 6200e. ping <ip_address> Example: ping 192.168.42.24 On some systems, this may require an additional parameter. Some implementations of ping only send out one ping packet which could get lost in transit. Check your system documentation for more information.
Connect power to the OkiLAN 6200e. The OkiLAN 6200e will glean its IP address from the ping packet. This IP address will remain in effect until the OkiLAN 6200e is powered off or reset. Therefore, a permanent IP address should be assigned by running the OkiNet for TCP/IP utility or via telnet.
Note: Gleaning does not work with Windows NT Workstation 3.5.
The Dynamic Host Configuration Protocol (DHCP) provides a framework for passing configuration information to hosts on a TCP/IP network in a client/server fashion. DHCP is based on the Bootstrap Protocol (BOOTP), adding the capability of automatic allocation of reusable network addresses and additional configuration options. DHCP uses the same packet structure as BOOTP so current BOOTP relay agents will also interact with DHCP messages.
DHCP offers dynamic IP address allocation. When a client receives an IP address, it also receives a lease (an amount of time the host may use the address). The lease times vary from 1 hour to 100 years, or may be infinite. When the lease expires, the host must stop using the address. DHCP may also be used like BOOTP, with a certain IP address always assigned to a certain device. Depending on the server, both methods may be used at the same time.
If the OkiLAN 6200e does not find a DHCP server after two minutes, it will timeout and assume a default address of 18.104.22.168. This follows current BOOTP and RARP