APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > News Posts > printing over ppp link ––>Re: HP Print servers over PPPconnection
Printer Friendly Version




News Group Posts

printing over ppp link




Message-ID: <3A429175.97760966@att.net> 
From: Steve Fabac <smfabac@att.net>
Newsgroups: comp.unix.sco.misc
Subject: Re: HP Print servers over PPP connection
References: <91tofi$134$1@slb6.atl.mindspring.net> 
Date: Thu, 21 Dec 2000 23:25:41 +0000

David H. Funte wrote:
> 
> I've writen about this before (months ago)  but i'm still having problems
> 
> I have two systems connected via 38k ppp
> 
> Both servers are running 5.04
> Both servers can telnet back and forth
> 
> System A is 192.168.0.1 - 255.255.255.0
> System B is 192.168.1.1 - 255.255.255.0
> 
> I have an HP 170x print server on system B. IP=192.168.1.15
> I would like to send print jobs from system A to that print server but it
> just doesn't seem to work.
> 
> When I ping from System A to the print server, I can see the Print server
> LED flash but the Ping doesn't return to the user on System A.   I've
> noticed this behaviour before with these psevers and it was solved by
> entering the Gateway address into the pserver configuration.   I tried 0.1
> and 1.1 as the Gateway and that didn't help.
> 
> Note: 0.10 and 1.10 are NICs

David,














You have made the beginners mistake with PPP connections. And it's 
easy to do as the documentation for ppp and networking is/was written
by persons who know the subject but don't know how to tell the reader
the things that they know and don't think about. 

1) Each machine should be on a separate LAN: I.E. 192.168.1.X is one
LAN. 192.168.2.X is another LAN. 

2) the PPP link between the two machines is a THIRD LAN and must have
a different network address than either of the two machine's LAN's:
PPP-machine-one: 192.168.20.1 and PPP-machine-two: 192.168.20.2.

Then your route table on machine one should have:
192.168.2        192.168.20.1        UH         10     6680  ppp0

And on machine 2:
192.168.1        192.168.20.2        ...        ...     ..... PPP0

Make sure that your print servers have the local machine's IP is set as
the "gateway" for its network, and make sure that both machines are
set to forward all packets. 




                                       Steve Fabac
                                        S.M. Fabac & Associates
                                         816/765-1670



> 
> The routint table for System A is:
> Destination      Gateway            Flags    Refs      Use  Interface
> 127.0.0.1        127.0.0.1          UH          4      527  lo0
> 192.168          192.168.0.10       UC          1        0  net0
> 192.168.0.1      127.0.0.1          UGHS        0        6  lo0
> 192.168.0.10     127.0.0.1          UGHS        1        0  lo0
> 192.168.1        192.168.1.1        UG          0        9  ppp0
> 192.168.1.1      192.168.0.1        UH         10     6680  ppp0
> 224              192.168.0.10       UCS         0        0  net0
> #
> 
> The routing table for System B is:
> Destination      Gateway            Flags    Refs      Use  Interface
> 127.0.0.1        127.0.0.1          UH          4    41053  lo0
> 192.168          192.168.1.1        UGS         0     1660  net1
> 192.168.0.1      192.168.1.1        UH          9    12520  ppp0
> 192.168.1        192.168.1.10       UC          1        0  net1
> 192.168.1.1      127.0.0.1          UGHS        1        2  lo0
> 192.168.1.10     127.0.0.1          UGHS        0      394  lo0
> 224              192.168.1.10       UCS         0        0  net1
> 
> traceroute command run on system A to 192.168.0.15 shows that it stops at
> 192.168.1.1.  I'm confused.
> 
> thanks for any input


If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

g_face.jpg

This post tagged:

       - PPP
       - SCO_OSR5




Unix/Linux Consultants

Skills Tests

Guest Post Here