RE: Routing problems

henning@Prio.no
Thu, 09 Jan 1997 09:26:00 +0100


Hmmm. This might be the source of the problem. But now we're getting _very_
technical... How do I set IP forwarding in the kernel?????

Henning Kilset Pedersen

-----Original Message-----
From: dbeitler@ndcwireless.com [SMTP:dbeitler@ndcwireless.com]
Sent: Wednesday, January 08, 1997 9:19 PM
To: Henning Pedersen
Subject: Re: Routing problems

It sounds like you're trying to send traffic through the local Linux
box from other local computers to other computers over the PPP link.

Do you have IP forwarding enabled in the kernel on your machine? Need
to if you're going to do the above.

David Beitler
dbeitler@ndcwireless.com

______________________________ Reply Separator
_________________________________

Subject: Routing problems
Author: henning@Prio.no at INTERNET
Date: 1/8/97 9:55 AM

Hi all!

Earlier today I posted a message about problems concerning routing. I'll
repeat the scenario:

We have a PPP connection to our ISP, Linux 2.0.0 on both ends. On my side I
have the Slackware96 distribution. My ISP has the Redhat 4.0 distribution.
The modem on my side has IP address 194.19.7.242, the ISP has 194.19.7.241
(gw6.oslo.no.powertech.net). We've been assigned a 32-network, network number

194.19.122.160, with IP adresses ranging from 194.19.122.161 to
194.19.122.190.

I've set the default route using the following command:

#route add default gw 194.19.7.241 metric 1

pinging a machine outside of my own network works just fine from the Linux
box, and any machine on my local network can easily ping that machine as
well. It has IP number 194.19.122.161. However, when I try to ping an outside

machine (on a different network), other than the modems address 194.19.7.242,

I get a timeout. No response. I've set the default gateway to be that of the
ethernet card (194.19.122.161) on the Linux machine on all the other machines

in the network.

We didn't get a broadcast address from our ISP, but I've tried to figure it
out myself, and set 194.19.122.224 as broadcast. That might be wrong.

Could anyone please help me out on why this is not working as planned? Any
help would be greatly appreciated. This is a rather pressing thing for me
right now, and it's starting to bother me.....

--------------------------------------------------------------------
Henning Kilset Pedersen
Network Administrator, International Peace Research Institute, Oslo
email:henning@prio.no http://www.communique.no/prio/
--------------------------------------------------------------------

--------------------------------------------------------------------
Henning Kilset Pedersen
Network Administrator, International Peace Research Institute, Oslo
email:henning@prio.no http://www.communique.no/prio/
--------------------------------------------------------------------