Printer Problem

Hi..when i ping one of printer, i
got this reply;

$ping star1

ICMP Host Unreachable from gateway
 for icmp from ( to
ICMP Host Unreachable from gateway
 for icmp from ( to
no answer from starprn

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

 any helps is greatly appreciated.
 sun newbie
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ismahwatiAuthor Commented:

$ping starprn
We need your network settings.

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

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

how does your route table looks like ? (netstat -r)
ismahwatiAuthor Commented:

 $netstat -r

Routing Table: IPv4
  Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------   U        1    605  hme0          U        1      0  hme0
default         UG       1   7422
localhost   localhost             UH      162535100  lo0  

  1) my PC subnet mask :

Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

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 upto

Data sent to subnet 190.254.46.x will use the system 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?)
You can route to the other net on your own system by faking it as a router.
Use  route add net 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.
ismahwatiAuthor Commented:
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??

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.
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


Cleanup Volunteer
per recommendation

Community Support Moderator @Experts Exchange

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.