Re: CUPS and DHCP for remote printer

From: Al. C (no_spam_acanton_takeout_at_adams-blake.nospam.com)
Date: 03/05/05


Date: Sat, 05 Mar 2005 17:10:17 GMT

Michael Meissner wrote:

> As others have mentioned another solution is to use fixed addresses for
> your
> machines, and use manual routing to the router. To be on the safe side,
> reduce the range of the DHCP server cliend addresses so that it doesn't
> give out the address used by static hosts.
>

I'm still trying to get my head around this one. Not sure what is meant by
"manual routing." Does the above process mean that I disable DHCP on the
router? If so, then I need to assign static IPs and I need to make sure
that each machine has all the IPs of the network? Kind of a PITA even for 3
machines. As much as DHCP can be problematic, you have to admire how simple
it makes things.

I poked around the admin screens of the Linksys 4-port router (BEFSR41) and
did not see where I can assign a permanent address to the router

> Another possibility is using a secondary address on the same ethernet
> device that is fixed (ie, eth0:1 might be bound to 10.0.0.254, while eth0
> gets its
> address from DHCP). This is a lot of trouble for 3 machines.

I didn't know that a machine could have 2 IPs. I'll have to do some research
on this. I don't use the color deskjet too often so this is not a big deal

> I use it in
> my home network to fix the server de-jure at 10.0.0.254, so I don't have
> to reconfigure things depending on whether tiktok or pumpkin-head are
> currently acting as server.
>
> A third possibility is CUPS has printer browsing, which would allow
> printers to broadcast their status, and you can automatically pick up
> printers as they come
> online. I don't use this, so I can't say how well it works.
>

I thought 'browsing' was nothing more than the 'permission' to allow another
computer to use 'your' computers printer. As long as the IPs all match up
(I'm .100 (with laser), second (with color) is .101, and third (laptop - no
printer) is .102 it all works. It's when the third is booted up before the
second and the IPs switch that (obviously) neither machine can print to the
other's printer. PITA sometimes as I have to go in and delete the printer
and add it back with the hard-coded IP address. I don't understand why the
network scanner on my machine (named Alpha) can't find the 'name' of the
other two machihnes (Bravo and Charlie)? Doesn't ever Linux machine have
an /etc/hostname file that could be read? Couldn't the scanner hit the
router, pick up the IPs that have been assigned on the network and go from
there? Conceptually it seems simple.

Al



Relevant Pages

  • Re: [opensuse] dhcp still waiting for data
    ... but the router and DHCP is working ... I tried Kai's suggestion of restarting the dhcp client. ... Well, guys, I guess I am off to buy a new ~ 10 EUR network card. ... What is the DNS adress of your provider? ...
    (SuSE)
  • Re: Cant Access Printer!!!
    ... printerwith the full IP address -- I suppose the router is the ... I'd heard that theprinteritself had to request a DHCP update. ... IPs, for use as fixed IPs if necessary. ... has a WAN IP and is set up as a gateway using ...
    (comp.sys.mac.misc)
  • 2wire router configuration
    ... firewall on this router and to configure my network ... Go to Home Network -> Advanced Settings ... X Default DHCP Pool ... Configure host to use DHCP with host name sent ...
    (comp.unix.bsd.freebsd.misc)
  • help
    ... Network, routers, DHCP and PXE ... wget vs fetch ... It's a Thomson SpeedTouch 585 router. ...
    (freebsd-questions)
  • Re: Router or switch? Please advise
    ... Their response to why they frown on routers is that some people misconfigure them and broadcast their own DHCP signal to the network at large. ... Only way I could see that happening is if you plugged the school port into the LAN outlet on my router rather than the WAN. ... I doubt the college would give access to servers in their network from the dorm rooms or anything; without full control over the dorm room computers to ensure antivirus, etc. protection is installed they'd only be asking for big troubles. ... The only thing to watch for is if the IP address served up by the college DHCP is the same subnet as the DHCP server in your router. ...
    (microsoft.public.win2000.networking)