Network Routeing Linux -> HPUX -> PPP -> ISP

Network Routeing Linux -> HPUX -> PPP -> ISP

Post by Larry Krupe » Sun, 16 Jul 1995 04:00:00



I have two computers networked via ethernet using 'fake' ip addresses. One is
linux (linux) and one is home (hpux). I initiate a PPP connection from
the HPUX machine to an ISP and the HP gets assigned an IP address dynanically.
The HP is fine and can do all network related things properly.

The Linux box, can not access the outside world.  Below is the output of
netstat -rn on linux.

The 203.12.23.44 is the 'fake' address of the HPUX Box. Linux is on the same
fake network.  Previously I used TIA (Terminal Internet Adapter) to access the
outside. TIA is pseudo slip. With the TIA connection, the configuration below
allowed both linux and hpux to cruise the net at the same time.  I realize that
with PPP the hpux is for the first time 'really' on the net as its own entity.
How can I give linux network access to the outside, with gated , or perhaps
does the linux box need to have the dynamically assigned ip address in its
routeing table ?  Thanks lak

 Kernel routing table
Destination     Gateway         Genmask         Flags Metric Ref Use    Iface
203.12.23.0     0.0.0.0         255.255.255.0   U     0      0      981 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0       12 lo
0.0.0.0         203.12.23.44    0.0.0.0         UG    0      0      331 eth0

 
 
 

Network Routeing Linux -> HPUX -> PPP -> ISP

Post by Lex Spo » Wed, 19 Jul 1995 04:00:00


: I have two computers networked via ethernet using 'fake' ip addresses. One is
: linux (linux) and one is home (hpux). I initiate a PPP connection from
: the HPUX machine to an ISP and the HP gets assigned an IP address dynanically.
: The HP is fine and can do all network related things properly.

: The Linux box, can not access the outside world.  Below is the output of
: netstat -rn on linux.

: The 203.12.23.44 is the 'fake' address of the HPUX Box. Linux is on the same
: fake network.  Previously I used TIA (Terminal Internet Adapter) to access the
: outside. TIA is pseudo slip. With the TIA connection, the configuration below
: allowed both linux and hpux to cruise the net at the same time.  I realize that
: with PPP the hpux is for the first time 'really' on the net as its own entity.
: How can I give linux network access to the outside, with gated , or perhaps
: does the linux box need to have the dynamically assigned ip address in its
: routeing table ?  Thanks lak

:  Kernel routing table
: Destination     Gateway         Genmask         Flags Metric Ref Use    Iface
: 203.12.23.0     0.0.0.0         255.255.255.0   U     0      0      981 eth0
: 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0       12 lo
: 0.0.0.0         203.12.23.44    0.0.0.0         UG    0      0      331 eth0

You can't use fake IP numbers to talk to the outside world; the outside
world won't know how to route packets back to you.  The reason TIA
would work is that TIA indirectly changes the source address of the IP
packets it puts out on the Internet, while straight PPP will leave
the (bogus) source addresses alone.

The best thing I can think of is to set yourself up as in a firewall
situation.  The HPUX wouldn't do any kernel level routing between the
networks, and you would have to somehow make all your applications on the
Linux box use proxy servers on the HPUX.  

Good luck!

Lex

 
 
 

1. Trunpet Winsock -> ppp[0 1] ->linux -> ppp[1 0] -> isp

OK, I've read (and re-read) all of the pertinent HOW-TOs, README files,
Linux Network System Administrator Guide, etc. and can't seem to figure
this one out.

My wifes `puter is (still) running Windoze 3.1 and has Trumpet Winsock
on it. I'm running Linux 2.0.29 and have a `stable' (been working for a
year or so...) pppd running to connect to my isp. We have a serial
connection between `puters (115200) between serial ports. I want to
connect her machine with a ppp connection and route this through my
modem to the isp. Every time I log on from her machine (using a username
that is supposed to run pppd as a `shell', like the HOW-TO sez) pppd
runs and then dies.

Is this a proxy-ARP problem? Every thing I read talks about using pppd
as a server and routing it to an ethernet connection, nothing about
passing 1 pppd process to another.

Any Ideas?

2. RPM Not working,

3. MAC/PPP <---> FreeBSD PPP --->modem---> ISP

4. NE2000 multicard driver. HELP!

5. ISP -> UUCP -> Linux -> POP/SMTP -> endusers Please Advice

6. modems

7. Win95/IPX -> IP ->PPP ->Linux ->Novell 3.12

8. does your Bourne shell do this

9. <><><> MOUNTING EXTENDED PARTITION <><><>

10. Wanted: <><><> Unix Specialist <><><>

11. LILO help <><><><><><>

12. >>---> Software Jobs! >>--->

13. <Local Net>--LAN--<SERVER>--PPP--<ISP>