Thanks for the help... I decided to forego the bootp gateway and move it to
the same subnet as the server (server has 2 nic's, one on subnet 28, one on
subnet 27)
***but one thing I don't understand...
It booted under the old subnet, but wouldn't boot under the new subnet
(same server on 2 different subnets with 2 NIC's). I did the whole
lpssetup and ip address changes... still wouldn't boot...
So after all this I tried an "arp -s lps17b <ethernet address>" and it booted.
What did I do? I can't comment on the arp table before I did this, didn't
check.
Here's the info on having the printer boot through a gateway if anyone's
interested:
using the IP gateway and bootp gateway...
A bootp gateway/relay forward requests and responses between clients and
BOOTP servers (for example, bootpd) on different subnets. If you are
using the publicly avaialble bootp server (i.e. Linux) or DU3.x or 4.0
(pre-B), the bootp gateway/relay is bootpgw. For the current versions
of DU, the gateway/relay is bprelay. See the manual pages for
configuration details.
To use these relays, select a machine in the same segment/subnet as the
hardware that you want to boot via bootp. This system should NOT be
serving as a bootp server to any clients (the relay needs to listen
on the port normally used by the bootp server). Modify the
/etc/inetd.conf on the relay system to use the relay rather than the
bootp server:
#bootps dgram udp wait root /usr/sbin/bootpd bootpd
bootps dgram udp wait root /usr/sbin/bootpgw bootpgw hostname
In the example above, 'hostname' is the bootp server that you want
local devices to boot from.
If you don't have any systems in the same area as the printer and/or
you have cooperative networking folks, you could talk to them. It
is possible, at least in some cases, to forward bootp requests with
some routers.
>Ok, thanks for the responses... the password was stored in clear text on the
>server that the printer boots from (in our case /usr/opt/LPS/
>And the configuration just shows a printer name, so an update of /etc/hosts
>(or nis hosts) handles the IP change, as well as updating /etc/bootptab
>
>But... here's the problem. The printer was connected to an internal subnet
>(28) accessing the boot server (on subnet 27) directly without gateways.
>Now I want to put it on a different subnet (72) which requires a gateway.
>
>>here's what it was setup as
>>
>>128.230.27.8--->[128.230.28.33 --- 128.230.27.1]---->128.230.27.100
>>printer server with 2 nics gateway to outside
>>
>>I want to change it to:
>>128.230.72.128--->128.230.72.1--->128.230.27.1
>>printer gateway server
>>
>>The gateway in the old lpssetup was blank, and I thought in this case it
>>should be 128.230.72.1 which didn't work. a blank gateway didn't work.
>>I guess I'm confused if the gateway refers to the printer or the server.
>>Or I'm trying to do something that isn't possible.
>
>
>The printer doesn't know the gateway until it boots and reads it from the
>config, but it can't seem to find the boot server without the gateway...
>catch-22?
>
>So the question is this...
>Is what I'm trying to do possible? Boot off a different subnet where a
>gateway is involved, but the printer doesn't know yet about the gateway, or
>the updated ethernet address to boot from.
>
>I guess I don't understant bootp very well.
>
>Thanks,
>--Dan
>
>>How do I change the IP address on 2 DEC Printserver 17's?
>>
>>I found in the manual to use "lpsrc <printer>"
>>but when trying to get "privs" I don't know the password, and the past
>>sysadmin is long gone.
>>
>>On another app: xlpsprism, when clicking on the printer, it says
"Attempting
>>to Connect to printer".... then says "Communication Error with printer,
>>connection closed". The console window says "Entered the socket exception
>>handler!!!"
>>
>>It's my first dealing with dec printer software, as I usually deal with
>>network printers just through the print queues, and haven't needed to
change
>>the subnet of these printers until now.
>>
>>Thanks,
>>Dan
--------------------------------------------------------------------------
Dan Kirkpatrick dkirk_at_phy.syr.edu
Computer Systems Manager
Department of Physics
Syracuse University, Syracuse, NY
http://www.phy.syr.edu/~dkirk Fax: (315) 443-9103
--------------------------------------------------------------------------
Received on Fri Aug 27 1999 - 15:40:24 NZST