Connecting Network to Network to Internet

Connecting Network to Network to Internet

Post by Aram Mirzad » Wed, 21 May 1997 04:00:00



Greetings,

I'm having a strange problem.

I'm trying to connect a small NT/95/Linux machines to another network then
to the net via a 33.6 modem.  (Actually it's going to be 2 - 33.6 modems, but
I'll worry about load balancing later).

The NT network is basicly setup with no problem.  All the machines have the
NT server 4.0 as their default gateway, and it itself has IP forwarding turned
on.  

I have a 2nd class-c which I can use to dial up to the Main network.  That's
hooked to the net via a T1.

I setup an account called netppp on the linux server (redhat 4.1).  With the
following shell:

#!/bin/sh
su -c route add -net 207.140.187.0 gw pppnet.qosina.com dev ppp0
/usr/sbin/pppd proxyarp modem crtscts :pppnet.qosina.com. &

pppnet.qosina.com has a IP of 207.140.187.10.

pppd is suid root, and works fine for single user accounts.

However I can't get anywhere... all packets come back lost.  Including
from the NTserver 207.140.187.20 to my main server 207.140.174.10. :(

Any suggestions would be greatly appreciated.

<Aram>
--
/*
 * Aram Mirzadeh, MIS Manager, Qosina Corp. http://www.qosina.com/~awm/

 * PGP Key - http://www.qosina.com/~awm/pgpkey.html
 * BE 49 9D F6 2A A7 22 FC  02 E9 1E 3D F7 0C 67 A0
 *
 * I haven't lost my mind -- it's backed up on tape somewhere.
 */

 
 
 

Connecting Network to Network to Internet

Post by Karsten Jeppes » Thu, 22 May 1997 04:00:00



>Greetings,

>I'm having a strange problem.

>I'm trying to connect a small NT/95/Linux machines to another network then
>to the net via a 33.6 modem.  (Actually it's going to be 2 - 33.6 modems, but
>I'll worry about load balancing later).

>The NT network is basicly setup with no problem.  All the machines have the
>NT server 4.0 as their default gateway, and it itself has IP forwarding turned
>on.  

>I have a 2nd class-c which I can use to dial up to the Main network.  That's
>hooked to the net via a T1.

>I setup an account called netppp on the linux server (redhat 4.1).  With the
>following shell:

>#!/bin/sh
>su -c route add -net 207.140.187.0 gw pppnet.qosina.com dev ppp0
>/usr/sbin/pppd proxyarp modem crtscts :pppnet.qosina.com. &

>pppnet.qosina.com has a IP of 207.140.187.10.

>pppd is suid root, and works fine for single user accounts.

>However I can't get anywhere... all packets come back lost.  Including
>from the NTserver 207.140.187.20 to my main server 207.140.174.10. :(

The route can never be dev ppp0.
The modem is on the NT server not on your Linux.
So your Linux should say
/sbin/route add default gw 207.140.187.20  metric 1

BTW Correct me if I am wrong, but 207.140.187.20 is not on the same
net as 207.140.174.10.  Somewhere a router is needed.
But maybe you already have one.

karsten

 
 
 

Connecting Network to Network to Internet

Post by Hubertus Alexander Hani » Sun, 25 May 1997 04:00:00




>>Greetings,

>>I'm having a strange problem.

>>I'm trying to connect a small NT/95/Linux machines to another network then
>>to the net via a 33.6 modem.  (Actually it's going to be 2 - 33.6 modems, but
>>I'll worry about load balancing later).

>>The NT network is basicly setup with no problem.  All the machines have the
>>NT server 4.0 as their default gateway, and it itself has IP forwarding turned
>>on.  

>>I have a 2nd class-c which I can use to dial up to the Main network.  That's
>>hooked to the net via a T1.

>>I setup an account called netppp on the linux server (redhat 4.1).  With the
>>following shell:

>>#!/bin/sh
>>su -c route add -net 207.140.187.0 gw pppnet.qosina.com dev ppp0
>>/usr/sbin/pppd proxyarp modem crtscts :pppnet.qosina.com. &

>>pppnet.qosina.com has a IP of 207.140.187.10.

>>pppd is suid root, and works fine for single user accounts.

>>However I can't get anywhere... all packets come back lost.  Including
>>from the NTserver 207.140.187.20 to my main server 207.140.174.10. :(

>The route can never be dev ppp0.
>The modem is on the NT server not on your Linux.
>So your Linux should say
>/sbin/route add default gw 207.140.187.20  metric 1

>BTW Correct me if I am wrong, but 207.140.187.20 is not on the same
>net as 207.140.174.10.  Somewhere a router is needed.
>But maybe you already have one.

>karsten

Correct me too, but it is the same net as far as I know.
With the netmask 255.255.0.0
 
 
 

1. Problem with network(connecting to internet via local network)

I have LinuxPPC on a old Power Curve.
The goal is to setup a linux server to IP masq the connection from Road
Runner.

But before I do this, I want to set it up to run through my currect
server until I get all the details on how to get IPX and Apple talk, or
netatalk running before I replace my current setup.
The Server is connected to the Road Runner modem, and masqerades the IP
to a second net work card, which is 10/100 8 port hub to all my systems.

The server is 192.168.0.1
DNS should be forwarded through the server to RR.
The server has DHCP setup this way, and both my other Mac, and my PC
correctly get IP addresses and can access the internet without problem.

Linux on the other hand, does not.  It indicates that it can not lookup
IP by DNS.  At this point, I'm not sure what to do.  I can get to a web
site by typing in the IP address directly... so I know I'm good for
everything else.  But the address resolution just won't work.

I configured the resolv.conf
to
nameserver 192.168.0.1

What else do I need to do?

2. X11 with ATI Graphics Ultra (1MB)

3. HOME NETWORK CONNECT TO INTERNET BY PPP NOT WORK !!

4. Why is BSD/Solaris networking so much better than Linux?

5. ipfw/natd settings for home network connected to cable internet via FreeBSD gateway?

6. DBMS on RS/6000

7. Connecting private network and Internet to Linux?

8. Flash Drives

9. connecting to internet via network

10. linux as a mail server in a network connected to the internet via adsl

11. Can't connect to Network or Internet under RH9 - IPv6 Issue?

12. Local PPP network connected to Internet???

13. newbie question: connecting local network to Internet