LAN/ISP (ppp) question

LAN/ISP (ppp) question

Post by Peter F Gra » Wed, 27 May 1998 04:00:00



I've just set up a 2 PC Lan, one of which has a modem.  I can
successfully connect to my ISP using the PC with the modem.  I can use
the LAN, no problem (telnet/ping/mount etc).  I've configured the
non-modem PC to use the modem-PC as the default gateway.  However, I
can't see the 'net from the non-modem PC.

The ISP is using dynamic IP's, and I'm not using a firewall.  The
non-modem PC is running RH5 and the modem-PC is using RH4.

Q: In RH5, I know that ip forwarding has to be enabled (by putting "1"
into /proc/net/ipv4/ip_forward).  Does something similar have to happen
with RH4 ?

Also, given my setup, am I using the correct approach ?
Thanks in advance, Pete.

 
 
 

LAN/ISP (ppp) question

Post by bill davids » Fri, 29 May 1998 04:00:00




| I've just set up a 2 PC Lan, one of which has a modem.  I can
| successfully connect to my ISP using the PC with the modem.  I can use
| the LAN, no problem (telnet/ping/mount etc).  I've configured the
| non-modem PC to use the modem-PC as the default gateway.  However, I
| can't see the 'net from the non-modem PC.

The modem system needs to have ip-forwarding compiled in and enabled.
unless you have multiple IP addresses (unlikely) routed by your ISP, you
need to enable masquerade as well.

The non-modem system needs to have the modem system set as it's default
router.

If you want to be able to get to the non-modem machine from the outside
world, the rinetd program is a great solution. It allows what appears to
be a connection to the firewall be a connection to a machine elsewhere
(need not be behind the firewall!) to provide services.

Masquerade <> proxy, don't set the non-modem machine to proxy a browser
off the firewall (unless you really do run a proxy server there).
--

"In elementary school, in case of fire you have to line up quietly in a
single file line from smallest to tallest. What is the logic? Do tall
people burn slower?"
                --Warren Hutcherson

 
 
 

1. LAN to LAN using PPP question

Hello,
        I'm wondering if it's possible to connect two Lans thru a PPP
link such that either of the two gateways can initiate a PPP call to the
other (ie each one may be a client or server depending on whether the
link is up or not). Most examples I have seen show one end as a client
and the other as a server only.
 Thanks for your help.
                               Matthias

2. imapd which leaves mails in /var/mail/$USER

3. IP-Forwarding PPP-LAN but not LAN-LAN

4. Newbie Gnome memory usage questions

5. Q: router setup... isp -> (ppp) linux -> (eth) lan

6. Received Castlewood ORB! But...

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

8. sh command shell script writing. i'm stuck

9. LAN here and PPP to ISP

10. ISP subnet===>ppp===>LAN

11. Connecting LAN to ISP with PPP - help

12. Network(LAN)/mini-ISP questions..

13. LAN-PPP-LAN help