Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Multi-honed LINUX box routing between 2 networks cannot print on both networks

Posted on 2008-09-29
10
Medium Priority
?
508 Views
Last Modified: 2013-12-15
We have a multi-honed LINUX box routing between 2 networks the Users  on the 192.168.10.x network can access the 170.94.133.x network to run their queries and print them to the attached laser printers (192.168.10.x network). The other users specifically on the 170.94.133.x network cannot print to the laser printers on the 10.x network. When you try to send a print job to the printers the job hangs in the print queue on the LINUX box.
So it appears that the route statement is working to allow the users to access the 170.94.133.x network from the 192.168.10.x. to do their quiries.
0
Comment
Question by:lhartzell
  • 5
  • 3
  • 2
10 Comments
 
LVL 13

Expert Comment

by:WizRd-Linux
ID: 22601094
To assist with sorting out the rules, you will need to post the output of iptables -nvL.

To make sure I correctly understand your requirements you need the following to occur:

192.168.10.x -> 170.94.133.x (Queries)
170.94.133.x -> 192.168.10.x (Printing)

When the users are connected to machines in the 170.94.133.x range, are they using a local application or for arguments sake sshing to these servers and then need to print?
0
 

Author Comment

by:lhartzell
ID: 22601914
You are correct the workstations on the 192.168.10.x network route through the LINUX box to the 170.94.133.x network to query a database using a local application and print the information on the network printers attached to the 192.168.10.x (this works)

The workstations on the 170.94.133.x network query the database and should print the information on the network printers attached to the 192.168.10.x.

I will send another comment with the IP Table information
0
 
LVL 3

Expert Comment

by:alien_life_form
ID: 22603877
Can you print from the linux box to 192.168.10.x?
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 

Author Comment

by:lhartzell
ID: 22605399
No When you print a test page from the LINUX box to the printer on the 10.x network it hangs in the print que
0
 
LVL 3

Expert Comment

by:alien_life_form
ID: 22606354
So the problem is with the linux box... I bet you cannot ping machines on 10.x either.
Check that you have a route for that network. Another possibility is a SW firewall (like firestarter), check the  iptables -L output.
0
 

Author Comment

by:lhartzell
ID: 22619161
Let me do some more explaining we want to print from a windows machine on the 133.x network to network printers on the 10.x network.  The path from the 133.x network to the 10.x network is a
 Dual-hone LINUX box routed between the two networks. We can ping the 10.x network and the 133.x network from the LINUX box. We can print from the LINUX box to the printers on the 10.x network. We just cannot print form the 133.x network to the printers on the 10.x network. It seems that if both networks are routed and working that printing on the windows machine (Print drivers loaded) on the 133.x network should see the printer and print.  I am apparently missing something on the LINUX box that allows a pass through.
0
 
LVL 13

Expert Comment

by:WizRd-Linux
ID: 22619668
Can you please post the output of your iptables rules so I can have a look at them.  Also, don't forget any NAT rules (-t nat) if you are doing it this way.
0
 

Accepted Solution

by:
lhartzell earned 0 total points
ID: 22800608
This problem has been resolved.
0
 

Author Comment

by:lhartzell
ID: 22800616
Resolved by our Network Engineer
0
 
LVL 3

Expert Comment

by:alien_life_form
ID: 22811244
It'd be nice to know what the problem was....
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question