LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-19-2010, 05:35 AM   #1
tido
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Rep: Reputation: 0
Connecting to a printer on another subnet


I have some trouble setting up a printer on my network.

My network is divided so that all wired connections are in one subnet, while all wireless devices are in another. My printer is Canon MP640 and is connected via wireless. When I use the network printer scanner utility from Canon, it will only scan my wired subnet, and is thus unable to see the printer. I can ping the printer, so there is no problem with subnet segregation.

On my router, I have Debian and iptables. My initial thought was that I could somehow set iptables to just forward all packets to an address to my printer. This address, of course, wouldn't exist "physically". But I have no idea whether or not this is the right approach.

A suggestion I received from a colleague was to set up forwarding of broadcast packets. However, I am unsure whether this will have an impact on the wired subnet.

If any of you could conjure a magical iptables rule for this or have suggestions other than plugging the printer into the wired net, I'd highly appreciate it.
 
Old 08-19-2010, 05:44 AM   #2
ajje
LQ Newbie
 
Registered: May 2007
Posts: 4

Rep: Reputation: 0
I need an answer to this question aswell.
 
Old 08-19-2010, 05:52 AM   #3
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 697

Rep: Reputation: 93
Do you have to use the scanner utility? In other words, isn't there
an option to put in a known IP address or hostname? Most printer
setup software allow you to do this.
 
Old 08-19-2010, 06:13 AM   #4
tido
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by carltm View Post
Do you have to use the scanner utility? In other words, isn't there
an option to put in a known IP address or hostname? Most printer
setup software allow you to do this.
First thing I did was to write Canon an e-mail asking about such a feature. They told me to contact my network administrator and get help "connecting" the subnets. So I contacted myself and I have no idea how to "connect" two subnets. If such a thing was even remotely possible.
 
Old 08-19-2010, 06:18 AM   #5
eyemole80
Member
 
Registered: Jun 2004
Distribution: Fedora Core 1
Posts: 47
Blog Entries: 1

Rep: Reputation: 16
Some wireless cards cannot be put into promiscuous mode which is required to listen on packets. Try connecting the printer through a wire then do the discovery through the Canon software. If it works then that means using wireless , you may have to use the manual configuration of Printer rather than using discovery mode of the canon software.
 
Old 08-19-2010, 06:44 AM   #6
tido
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by eyemole80 View Post
Some wireless cards cannot be put into promiscuous mode which is required to listen on packets. Try connecting the printer through a wire then do the discovery through the Canon software. If it works then that means using wireless , you may have to use the manual configuration of Printer rather than using discovery mode of the canon software.
Actually, no. That's not how it works. Before I built my own server, I had a DLink router and everything was on the same subnet. The software found the printer right away. That's how the MP640 works, it acts like a server on the net it is connected to. Wireless or not.

Because I have two separate subnets now, the software cannot find it because it lies in another subnet. I suspect it only sends a broadcast and waits for replies. In which case, it is only logical that it cannot find the printer.

I cannot manually specify the address either. That was the first thing I tried to do. Nowhere in the manual does it describe this method, and Canon has confirmed that it is not possible with their current version of drivers/software.
 
  


Reply

Tags
iptables, network, printer, subnet


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
connecting to a network printer MT_Keg Linux - Newbie 1 10-28-2009 03:29 PM
Connecting to printer via LAN tonyw Linux - Newbie 1 11-29-2008 02:46 PM
Having 2 ports connecting to the same subnet - redundancy and speed? Swakoo Linux - Networking 3 10-20-2006 05:43 AM
problems connecting to a lan from another subnet dsids Linux - Networking 6 08-30-2006 09:31 AM
sharing a printer with samba to only one subnet myro Linux - Networking 3 11-14-2003 12:58 PM


All times are GMT -5. The time now is 06:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration