Operating System - HP-UX
1836375 Members
2430 Online
110100 Solutions
New Discussion

Cannot access printers or ping IP

 
SOLVED
Go to solution

Cannot access printers or ping IP

I have two HPUX 11 boxes residing on a network comprised mainly of windows machines. I have two HP printers on this network that the windows boxes can print to, but the unix boxes can't. The IP for the UNIX machines are 123.456.XXX.XX (example) and the IP for the printers are 174.79.XX.X. I can't even ping the printer IP's from the UNIX boxes. Any ideas??

Thanks in advance and I will assign points....
9 REPLIES 9
Patrick Wallek
Honored Contributor

Re: Cannot access printers or ping IP

Is your default route, or any route, set up appropriately to be able to get to the network the printers are on? A 'netstat -rn' will show you your routes.

Have you tried doing a traceroute from the HP-UX machines? This can give an idea of how far the packets are getting.

Is there a firewall between the HP-UX machines and the printers? If so, this could be blocking traffic if the firewall rules are very restrictive.
Yang Qin_1
Honored Contributor

Re: Cannot access printers or ping IP

Try from Unix server run
route add 174.79.XX.X (printer) 174.79.xx.252 (a gateway from there Unix could reach printer)

Yang

Re: Cannot access printers or ping IP

how do I do a trace route?
DCE
Honored Contributor
Solution

Re: Cannot access printers or ping IP



Do you have a default gateway defined?

You can check via SAM
Choose the following to get the gateway display/configuration screen

Networking and Communications
Routes

Your gateway will most likely be
123.456.XXX.1

Keith Johnson
Valued Contributor

Re: Cannot access printers or ping IP

The command is traceroute IP address
No matter where you go...there you are.
Peter Nikitka
Honored Contributor

Re: Cannot access printers or ping IP

...

and on WINdoze:

tracert

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"

Re: Cannot access printers or ping IP

All,
Thanks for the help. Here is the output so far:

#traceroute
traceroute to , 30 hops max, 40 packets
1 (IP address) 0.261ms !N 0.107ms !N 0.091ms !N

#route add 174.XX.X.X 174.XX.X.1
add host 174.XX.X.X: gateway 174.XX.X.1: Network unreachable

SAM - Networking and Comms/Routes = "There are no configured routes"


Any ideas??
Bill Hassell
Honored Contributor

Re: Cannot access printers or ping IP

You'll need to contact your network administrator to get the correct router IP address. The Unix boxes are on a totally different network and the router must be used to talk to the other network. SAM tells you that the system was never setup correctly so you'll need to select the Actions -> Add default Route. Until you configure the router, you won't be able to contact anything on the 174 network.


Bill Hassell, sysadmin

Re: Cannot access printers or ping IP

I can now ping that address. All I need to do now is configure the printer on the workstation. I'll assign points to each of you. Thanks for the help!!