Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

Sharing a hidden printer?

Reply
 
Thread Tools Display Modes
  #1  
Old 08-08-2007, 04:06 AM
Default Sharing a hidden printer?



At home, I have several subnets:

1) Several computers under linksys wifi router, with 192.168.*
addresses, masquerading by Linksys as InternetIP_1, connected through
internet through another switch1

2) My basement server with InternetIP_2, connected to switch1 through
switch2.

3) Several local computers with 10.0.0.* addresses, NATted to the
outside world by my basement server as InternetIP_2, connected to
switch1.

4) One subnet with the sole items being the printer and another IP
address on my basement server (165.152.122.*), placed on switch2

5) the garage computer 10.0.0.4, plugged into switch2.

Anyway. All of these computers can connect to the basement server
InternetIP_2 just fine.

The printer is also connected to this basement computer.

However, the machines under Linksys wifi cannot see/route to the
printer for obvious reasons (the printer being on the hidden subnet
behind the basement). The 10.0.0.* machines are fine due to them using
my basement server as the default route.

How can I make the basement computer "share" the printer to all
Linksys computers, so that all wifi computers can print.

I know that one solution is to add a route to each of them saying
"route to 165.152.122. through InternetIP_2", but I would prefer my
basement computer to just export the printer. The reason for this is
that there is one windows laptop on the wifi network that is a
very stupid laptop, where I would prefer to not set routes for a
variety of reasons.

thanks

i


Ignoramus11957
Reply With Quote
  #2  
Old 08-08-2007, 09:44 AM
The Natural Philosopher
Guest
 
Posts: n/a
Default Re: Sharing a hidden printer?

Ignoramus11957 wrote:
> At home, I have several subnets:
>
> 1) Several computers under linksys wifi router, with 192.168.*
> addresses, masquerading by Linksys as InternetIP_1, connected through
> internet through another switch1
>
> 2) My basement server with InternetIP_2, connected to switch1 through
> switch2.
>
> 3) Several local computers with 10.0.0.* addresses, NATted to the
> outside world by my basement server as InternetIP_2, connected to
> switch1.
>
> 4) One subnet with the sole items being the printer and another IP
> address on my basement server (165.152.122.*), placed on switch2
>
> 5) the garage computer 10.0.0.4, plugged into switch2.
>
> Anyway. All of these computers can connect to the basement server
> InternetIP_2 just fine.
>
> The printer is also connected to this basement computer.
>
> However, the machines under Linksys wifi cannot see/route to the
> printer for obvious reasons (the printer being on the hidden subnet
> behind the basement). The 10.0.0.* machines are fine due to them using
> my basement server as the default route.
>
> How can I make the basement computer "share" the printer to all
> Linksys computers, so that all wifi computers can print.
>
> I know that one solution is to add a route to each of them saying
> "route to 165.152.122. through InternetIP_2", but I would prefer my
> basement computer to just export the printer. The reason for this is
> that there is one windows laptop on the wifi network that is a
> very stupid laptop, where I would prefer to not set routes for a
> variety of reasons.
>
> thanks
>
> i

You could run a dynamic routing protocol.

But the concept of printers 'appearing' in browser type windows depends
on them being in the same subnet.


Perhaps te simplest solutuion is to put a queue for them on a Linux box
THIS side of the router, and re-export those queues?
Reply With Quote
  #3  
Old 08-08-2007, 04:32 PM
Ignoramus8011
Guest
 
Posts: n/a
Default Re: Sharing a hidden printer?

On Wed, 08 Aug 2007 09:44:14 +0100, The Natural Philosopher <(E-Mail Removed)> wrote:
> You could run a dynamic routing protocol.
>
> But the concept of printers 'appearing' in browser type windows depends
> on them being in the same subnet.
>
> Perhaps te simplest solutuion is to put a queue for them on a Linux box
> THIS side of the router, and re-export those queues?


That's what my question is, how to re-export a printer.

i
Reply With Quote
  #4  
Old 08-08-2007, 07:15 PM
The Natural Philosopher
Guest
 
Posts: n/a
Default Re: Sharing a hidden printer?

Ignoramus8011 wrote:
> On Wed, 08 Aug 2007 09:44:14 +0100, The Natural Philosopher <(E-Mail Removed)> wrote:
>> You could run a dynamic routing protocol.
>>
>> But the concept of printers 'appearing' in browser type windows depends
>> on them being in the same subnet.
>>
>> Perhaps te simplest solutuion is to put a queue for them on a Linux box
>> THIS side of the router, and re-export those queues?

>
> That's what my question is, how to re-export a printer.
>
> i


Thats a CUPS issue, or possibly a samba - or even a netatalk one,
depending on how you want to export them.

Just fire up cups admin and 'publish' the printer..

Reply With Quote
  #5  
Old 08-08-2007, 07:26 PM
Ignoramus8011
Guest
 
Posts: n/a
Default Re: Sharing a hidden printer?

On Wed, 08 Aug 2007 19:15:55 +0100, The Natural Philosopher <(E-Mail Removed)> wrote:
> Ignoramus8011 wrote:
>> On Wed, 08 Aug 2007 09:44:14 +0100, The Natural Philosopher <(E-Mail Removed)> wrote:
>>> You could run a dynamic routing protocol.
>>>
>>> But the concept of printers 'appearing' in browser type windows depends
>>> on them being in the same subnet.
>>>
>>> Perhaps te simplest solutuion is to put a queue for them on a Linux box
>>> THIS side of the router, and re-export those queues?

>>
>> That's what my question is, how to re-export a printer.
>>
>> i

>
> Thats a CUPS issue, or possibly a samba - or even a netatalk one,
> depending on how you want to export them.
>
> Just fire up cups admin and 'publish' the printer..
>


Thanks... I did it with samba, for the windows laptop's benefit. Seems
to work (with me being not at home right now etc).

i
Reply With Quote
Reply

Tags
hidden, printer, sharing

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 08:47 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.