Problem
The instructions for configuring my HP Jetdirect printer or
port-server say to connect the printer to my LAN, turn it on and
telnet to 192.0.0.192 from another machine on the LAN. Telneting
to this special IP address will put me into a configuration utility
and allow me to set the printer's ip address, netmask, broadcast,
and hostname so I can integrate it into my LAN. However, when I
telnet to 192.0.0.192 from my SCO machine, I get the error:no route to host Cause
Although the printer or port-server is directly connected to your
LAN, packets will not reach it unless there is a gateway machine
that can talk to both your network _and_ the 192.0.0 network. To
set up this gateway, follow the instructions below. Solution
If it is an HP Jetdirect printer (as opposed to port-server) you
are configuring, go to the control panel on the printer and enable
remote administration before the following steps will work. Your
printer documentation will give detailed instructions on how to do
this. Once remote administration is enabled, do the following:1. Log in as root.2. Determine the name of your network interface (usually net0) by typing:
# ifconfig -a3. Set up an alias for the 192.0.0 network using the same interface:
# ifconfig net0 alias 192.0.0.1 netmask 255.255.255.0 broadcast 192.0.0.255You will now be able to telnet to 192.0.0.192 from the machine on which you configured the alias interface, and configure your printer (or port-server) network information. You will not be able to telnet to 192.0.0.192 from any other SCO machines on the LAN since they would send the packets out of their default router.
NOTE: The alias interface configuration will be lost when the system is
rebooted. See also
ifconfig(ADMN)