Solved

Printer Problem

Posted on 2002-04-08
9
245 Views
Last Modified: 2013-12-27
Hi..when i ping one of printer, i
got this reply;

$ping star1

ICMP Host Unreachable from gateway 190.254.46.6
 for icmp from moon01.com.my (190.254.31.52) to 190.254.52.10
ICMP Host Unreachable from gateway 190.254.46.6
 for icmp from moon01.com.my (190.254.31.52) to
to 190.254.52.10
no answer from starprn

 i did the ping from 190.254.31.52,
 it seems that there is a network
 problem from 190.254.46.6 ---> starprn.

 any helps is greatly appreciated.
 sun newbie
0
Comment
Question by:ismahwati
  • 3
  • 2
  • 2
  • +2
9 Comments
 

Author Comment

by:ismahwati
ID: 6924788
correction..

$ping starprn
0
 
LVL 3

Expert Comment

by:elfie
ID: 6924884
We need your network settings.

What is your subnet mask?
How are the two subnets connected (or is it a 255.255.0.0) netmask?

Can you ping the printer from within it's own subnet?

how does your route table looks like ? (netstat -r)
0
 

Author Comment

by:ismahwati
ID: 6924911

 $netstat -r

Routing Table: IPv4
  Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------
190.254.31.32 moon01.com.my   U        1    605  hme0
224.0.0.0    moon01.com.my          U        1      0  hme0
default      190.254.31.33         UG       1   7422
localhost   localhost             UH      162535100  lo0  

  1) my PC subnet mask : 255.255.254.0
 

 HOW SUBNET MASK IS BEING USE HERE?
 
 TQ
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 3

Expert Comment

by:elfie
ID: 6925090
base on your subnet we can see that the two ip addresses belong to two different network segments.

Sending ip traffic one subnet to another requires a router (or bridge). Data send from within your 190.254.31.x subnet can be seen by any address in the range 190.254.30.1 upto 190.254.31.254.

Data sent to subnet 190.254.46.x will use the system 190.254.31.33 as gateway.

Does the ping to your printer work on the this system?
This systems (31.33) is this a router? or a system with two network cards?

(may be stupid question, can't you configure the printer within the same subnet as your systems? Does it need to be in a different subnet?)
0
 
LVL 4

Expert Comment

by:besky
ID: 6946266
You can route to the other net on your own system by faking it as a router.
Use  route add net 190.254.46.0 190.254.31.254 0

Put this command in the inetsvc startscript to make it a static route. You also need to do this on all the other system on this subnet.

The only problem is broadcasts and multicasts, these will not travel across subnets.
0
 

Author Comment

by:ismahwati
ID: 6946532
the subnet problem has been solved
by the network guy.

 now, when i try to cancel any print
 job , i got message;

  'could not talk to print service at starprn'

 i can ping the printer. (alive).
 
 in have try to lpshut and lpsched the print server
 but still not okay.

 any idea??
0
 
LVL 4

Expert Comment

by:besky
ID: 6947117

I assume you dont filter packets between networks but how did you solve the netmaskproblem ? Is there a router faking this route that maybe dont allow all kind of traffic ?

On the printserver, run
snoop "yourhostname" starprn
and see if the cancelrequest reaches the server.
At the same you can see if and what the response is.
0
 
LVL 20

Expert Comment

by:tfewster
ID: 8052651
No comment has been added lately, so it's time to clean up this Topic Area.
I will leave a recommendation for this question in the Cleanup topic area as follows:

- PAQ & refund points

Please leave any comments here within the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster
Cleanup Volunteer
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8099698
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

813 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now